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

#include <api.h>

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

Public Member Functions

 api (const char *name, software_id sid, const key::category &ty)
 
virtual void finalize_init ()
 
 api (const char *name, software_id sid)
 
virtual ~api ()
 
virtual void init ()
 
virtual void finalize ()
 
virtual void init_os (operating_system *os)
 
timestamp now () const
 
void schedule (timestamp t, event_queue_entry *ev)
 
void schedule_delay (timestamp t, event_queue_entry *ev)
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void start_api_call ()
 
virtual void end_api_call ()
 
- 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 consume_params (sprockit::sim_parameters *params)
 
virtual void incoming_event (event *ev)=0
 
operating_systemos () const
 
software_id sid () const
 
virtual ~library ()
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 

Protected Attributes

bool hostcompute_
 
Timertimer_
 
long startcount_
 
long endcount_
 
lib_compute_timecompute_
 
- 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::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

Definition at line 60 of file api.h.

Constructor & Destructor Documentation

sstmac::sw::api::api ( const char *  name,
software_id  sid,
const key::category ty 
)
inline

Definition at line 65 of file api.h.

sstmac::sw::api::api ( const char *  name,
software_id  sid 
)
inline

Definition at line 75 of file api.h.

virtual sstmac::sw::api::~api ( )
inlinevirtual

Definition at line 84 of file api.h.

Member Function Documentation

virtual void sstmac::sw::api::end_api_call ( )
virtual
virtual void sstmac::sw::api::finalize ( )
inlinevirtual

Reimplemented in sstmac::sumi_api, and sumi::sumi_transport.

Definition at line 94 of file api.h.

virtual void sstmac::sw::api::finalize_init ( )
inlinevirtual

Reimplemented from sprockit::factory_type.

Reimplemented in sstmac::sw::blas_api, and sumi::sumi_transport.

Definition at line 73 of file api.h.

virtual void sstmac::sw::api::init ( )
inlinevirtual

Reimplemented in sstmac::sumi_api, and sumi::sumi_transport.

Definition at line 91 of file api.h.

virtual void sstmac::sw::api::init_factory_params ( sprockit::sim_parameters *  params)
virtual
virtual void sstmac::sw::api::init_os ( operating_system os)
virtual

Reimplemented from sstmac::sw::library.

Reimplemented in sstmac::sumi_api, and sstmac::sw::blas_api.

timestamp sstmac::sw::api::now ( ) const
void sstmac::sw::api::schedule ( timestamp  t,
event_queue_entry ev 
)
void sstmac::sw::api::schedule_delay ( timestamp  t,
event_queue_entry ev 
)
virtual void sstmac::sw::api::start_api_call ( )
virtual

Member Data Documentation

lib_compute_time* sstmac::sw::api::compute_
protected

Definition at line 123 of file api.h.

long sstmac::sw::api::endcount_
protected

Definition at line 122 of file api.h.

bool sstmac::sw::api::hostcompute_
protected

Definition at line 119 of file api.h.

long sstmac::sw::api::startcount_
protected

Definition at line 121 of file api.h.

Timer* sstmac::sw::api::timer_
protected

Definition at line 120 of file api.h.


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