SST/macro
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sstmac::sumi_server Class Reference

#include <sumi_api.h>

Inheritance diagram for sstmac::sumi_server:
Inheritance graph
Collaboration diagram for sstmac::sumi_server:
Collaboration graph

Public Member Functions

 sumi_server (const std::string &libname, int appid)
 
void register_proc (int rank, sumi_api *proc)
 
void incoming_event (event *ev)
 
- Public Member Functions inherited from sstmac::sw::service
virtual std::string to_string () const
 
virtual void start ()
 
- Public Member Functions inherited from sstmac::sw::library
virtual void unregister_all_libs ()
 
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 ()
 

Private Member Functions

sumi_apiget_proc (int rank) const
 

Private Attributes

int appid_
 
spkt_unordered_map< int, sumi_api * > procs_
 

Additional Inherited Members

- Protected Member Functions inherited from sstmac::sw::service
 service (const std::string &libname, software_id sid)
 
 service (const char *prefix, software_id sid)
 
virtual ~service ()
 
- 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...
 
- Protected Attributes inherited from sstmac::sw::library
operating_systemos_
 
key::category key_cat_
 
software_id sid_
 

Detailed Description

Definition at line 125 of file sumi_api.h.

Constructor & Destructor Documentation

sstmac::sumi_server::sumi_server ( const std::string &  libname,
int  appid 
)

Member Function Documentation

sumi_api* sstmac::sumi_server::get_proc ( int  rank) const
private
void sstmac::sumi_server::incoming_event ( event ev)
virtual

Implements sstmac::sw::service.

void sstmac::sumi_server::register_proc ( int  rank,
sumi_api proc 
)

Member Data Documentation

int sstmac::sumi_server::appid_
private

Definition at line 139 of file sumi_api.h.

spkt_unordered_map<int, sumi_api*> sstmac::sumi_server::procs_
private

Definition at line 141 of file sumi_api.h.


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