SST/macro
Protected Member Functions | Private Attributes | List of all members
sstmac::sw::blocking_library Class Reference

#include <library.h>

Inheritance diagram for sstmac::sw::blocking_library:
Inheritance graph
Collaboration diagram for sstmac::sw::blocking_library:
Collaboration graph

Protected Member Functions

 blocking_library (const char *prefix, software_id sid)
 
 blocking_library (const std::string &libname, software_id sid)
 
void wait_event (event *ev, key::category=key::general)
 
virtual void incoming_event (event *ev)
 
- Protected Member Functions inherited from sstmac::sw::library
 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...
 

Private Attributes

std::map< event *, key * > blocked_events_
 

Additional Inherited Members

- Public Member Functions inherited from sstmac::sw::library
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)
 
operating_systemos () const
 
software_id sid () const
 
virtual ~library ()
 
- Protected Attributes inherited from sstmac::sw::library
operating_systemos_
 
key::category key_cat_
 
software_id sid_
 

Detailed Description

Definition at line 93 of file library.h.

Constructor & Destructor Documentation

sstmac::sw::blocking_library::blocking_library ( const char *  prefix,
software_id  sid 
)
inlineprotected

Definition at line 97 of file library.h.

sstmac::sw::blocking_library::blocking_library ( const std::string &  libname,
software_id  sid 
)
inlineprotected

Definition at line 102 of file library.h.

References sstmac::sw::key::general, and sstmac::sw::library::incoming_event().

Here is the call graph for this function:

Member Function Documentation

virtual void sstmac::sw::blocking_library::incoming_event ( event ev)
protectedvirtual

Implements sstmac::sw::library.

void sstmac::sw::blocking_library::wait_event ( event ev,
key::category  = key::general 
)
protected

Member Data Documentation

std::map<event*,key*> sstmac::sw::blocking_library::blocked_events_
private

Definition at line 113 of file library.h.


The documentation for this class was generated from the following file: