SST/macro
|
#include <library.h>
Public Member Functions | |
virtual void | unregister_all_libs () |
virtual std::string | to_string () const |
virtual std::string | lib_name () const |
virtual void | init_os (operating_system *os) |
virtual void | consume_params (sprockit::sim_parameters *params) |
virtual void | incoming_event (event *ev)=0 |
operating_system * | os () const |
software_id | sid () const |
virtual | ~library () |
Protected Member Functions | |
library (const std::string &libname, software_id sid) | |
library (const char *prefix, software_id sid) | |
void | register_lib (library *lib) |
This function is provided so that libraries can instantiate, register, and use other libraries. More... | |
Protected Attributes | |
operating_system * | os_ |
key::category | key_cat_ |
software_id | sid_ |
Private Attributes | |
std::string | libname_ |
|
virtual |
Referenced by sid().
|
inlineprotected |
|
inlineprotected |
Definition at line 71 of file library.h.
References register_lib().
|
virtual |
Referenced by lib_name().
|
pure virtual |
Implemented in sstmac::sumi_server, sstmac::sw::blocking_library, sstmac::sw::blas_api, sumi::sumi_transport, sstmac::sw::launcher, sstmac::sw::service, and sstmac::sw::lib_sleep.
Referenced by sstmac::sw::blocking_library::blocking_library(), sstmac::sw::lib_sleep::incoming_event(), sstmac::sw::lib_compute_time::incoming_event(), sstmac::sw::lib_compute_memmove::incoming_event(), sstmac::sw::lib_compute_inst::incoming_event(), sstmac::sw::blas_api::incoming_event(), and lib_name().
|
virtual |
Reimplemented in sstmac::sw::api, sstmac::sumi_api, and sstmac::sw::blas_api.
Referenced by lib_name().
|
inlinevirtual |
Definition at line 40 of file library.h.
References consume_params(), incoming_event(), init_os(), libname_, and os().
|
inline |
|
protected |
This function is provided so that libraries can instantiate, register, and use other libraries.
lib | the library to register |
Referenced by library().
|
inline |
Definition at line 59 of file library.h.
References sid_, and ~library().
Referenced by sumi::sumi_transport::incoming_event().
|
inlinevirtual |
Reimplemented in sstmac::sw::launcher, and sstmac::sw::service.
Definition at line 35 of file library.h.
References libname_.
|
virtual |
|
protected |
|
private |
Definition at line 89 of file library.h.
Referenced by lib_name(), and to_string().
|
protected |
|
protected |