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

A launcher that can be cooperatively scheduled by a very naive scheduler. More...

#include <launcher.h>

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

Public Member Functions

 launcher ()
 
virtual std::string to_string () const
 
virtual ~launcher () throw ()
 Hasta la vista. More...
 
virtual void incoming_event (event *ev)
 
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 ()
 

Protected Attributes

bool is_completed_
 
spkt_unordered_map< app_id, int > num_apps_launched_
 
- Protected Attributes inherited from sstmac::sw::library
operating_systemos_
 
key::category key_cat_
 
software_id sid_
 

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

Detailed Description

A launcher that can be cooperatively scheduled by a very naive scheduler.

Definition at line 24 of file launcher.h.

Constructor & Destructor Documentation

sstmac::sw::launcher::launcher ( )
virtual sstmac::sw::launcher::~launcher ( )
throw (
)
virtual

Hasta la vista.

Referenced by to_string().

Member Function Documentation

virtual void sstmac::sw::launcher::incoming_event ( event ev)
virtual

Implements sstmac::sw::service.

Referenced by to_string().

virtual void sstmac::sw::launcher::start ( )
virtual

Reimplemented from sstmac::sw::service.

Referenced by to_string().

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

Reimplemented from sstmac::sw::service.

Definition at line 32 of file launcher.h.

References incoming_event(), start(), and ~launcher().

Here is the call graph for this function:

Member Data Documentation

bool sstmac::sw::launcher::is_completed_
protected

Definition at line 46 of file launcher.h.

spkt_unordered_map<app_id, int> sstmac::sw::launcher::num_apps_launched_
protected

Definition at line 48 of file launcher.h.


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