SST/macro
Public Member Functions | Protected Member Functions | List of all members
sstmac::sw::service Class Referenceabstract

#include <service.h>

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

Public Member Functions

virtual std::string to_string () const
 
virtual void start ()
 
virtual void incoming_event (event *ev)=0
 
- 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 ()
 

Protected Member Functions

 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...
 

Additional Inherited Members

- Protected Attributes inherited from sstmac::sw::library
operating_systemos_
 
key::category key_cat_
 
software_id sid_
 

Detailed Description

Definition at line 24 of file service.h.

Constructor & Destructor Documentation

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

Definition at line 42 of file service.h.

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

Definition at line 46 of file service.h.

virtual sstmac::sw::service::~service ( )
inlineprotectedvirtual

Definition at line 51 of file service.h.

Member Function Documentation

virtual void sstmac::sw::service::incoming_event ( event ev)
pure virtual

Implements sstmac::sw::library.

Implemented in sstmac::sumi_server, and sstmac::sw::launcher.

Referenced by start().

virtual void sstmac::sw::service::start ( )
inlinevirtual

Reimplemented in sstmac::sw::launcher.

Definition at line 35 of file service.h.

References incoming_event().

Here is the call graph for this function:

virtual std::string sstmac::sw::service::to_string ( ) const
inlinevirtual

Reimplemented from sstmac::sw::library.

Reimplemented in sstmac::sw::launcher.

Definition at line 30 of file service.h.


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