SST/macro
Public Member Functions | Protected Attributes | Private Attributes | List of all members
sstmac::sumi_api Class Referenceabstract

#include <sumi_api.h>

Inheritance diagram for sstmac::sumi_api:
Inheritance graph
Collaboration diagram for sstmac::sumi_api:
Collaboration graph

Public Member Functions

 sumi_api (const char *name, sstmac::sw::software_id sid)
 
virtual void init ()
 
virtual void finalize ()
 
virtual ~sumi_api ()
 
virtual void init_os (sstmac::sw::operating_system *os)
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
sumi::message_ptr poll_until_notification ()
 
sumi::message_ptr poll_until_notification (timestamp timeout)
 
virtual sumi::message_ptr handle (transport_message *msg)=0
 
void incoming_message (transport_message *msg)
 
void transport_send (long byte_length, const sumi::message_ptr &msg, int ty, int dst, bool needs_ack)
 
bool blocked () const
 
- Public Member Functions inherited from sstmac::sw::api
 api (const char *name, software_id sid, const key::category &ty)
 
virtual void finalize_init ()
 
 api (const char *name, software_id sid)
 
virtual ~api ()
 
timestamp now () const
 
void schedule (timestamp t, event_queue_entry *ev)
 
void schedule_delay (timestamp t, event_queue_entry *ev)
 
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)
 
- Public Member Functions inherited from sstmac::sw::process_manager
 process_manager (software_id sid)
 
virtual ~process_manager ()
 
int get_partner (node_id addr) const
 
node_id my_addr () const
 
void kill_node ()
 
void kill_process ()
 

Protected Attributes

event_loc_id loc_
 
int rank_
 
int nproc_
 
- Protected Attributes inherited from sstmac::sw::api
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_
 

Private Attributes

std::string server_libname_
 
sstmac::sw::app_launchrank_mapper_
 
sumi_queuequeue_
 queue_ Manages incoming/outgoing messages More...
 

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 58 of file sumi_api.h.

Constructor & Destructor Documentation

sstmac::sumi_api::sumi_api ( const char *  name,
sstmac::sw::software_id  sid 
)
virtual sstmac::sumi_api::~sumi_api ( )
virtual

Member Function Documentation

bool sstmac::sumi_api::blocked ( ) const
inline

Definition at line 100 of file sumi_api.h.

virtual void sstmac::sumi_api::finalize ( )
virtual

Reimplemented from sstmac::sw::api.

Reimplemented in sumi::sumi_transport.

virtual sumi::message_ptr sstmac::sumi_api::handle ( transport_message msg)
pure virtual

Implemented in sumi::sumi_transport.

void sstmac::sumi_api::incoming_message ( transport_message msg)
virtual void sstmac::sumi_api::init ( )
virtual

Reimplemented from sstmac::sw::api.

Reimplemented in sumi::sumi_transport.

virtual void sstmac::sumi_api::init_factory_params ( sprockit::sim_parameters *  params)
virtual

Reimplemented from sstmac::sw::api.

Reimplemented in sumi::sumi_transport.

virtual void sstmac::sumi_api::init_os ( sstmac::sw::operating_system os)
virtual

Reimplemented from sstmac::sw::api.

sumi::message_ptr sstmac::sumi_api::poll_until_notification ( )
sumi::message_ptr sstmac::sumi_api::poll_until_notification ( timestamp  timeout)
void sstmac::sumi_api::transport_send ( long  byte_length,
const sumi::message_ptr &  msg,
int  ty,
int  dst,
bool  needs_ack 
)

Member Data Documentation

event_loc_id sstmac::sumi_api::loc_
protected

Definition at line 116 of file sumi_api.h.

int sstmac::sumi_api::nproc_
protected

Definition at line 120 of file sumi_api.h.

sumi_queue* sstmac::sumi_api::queue_
private

queue_ Manages incoming/outgoing messages

Definition at line 113 of file sumi_api.h.

int sstmac::sumi_api::rank_
protected

Definition at line 118 of file sumi_api.h.

sstmac::sw::app_launch* sstmac::sumi_api::rank_mapper_
private

Definition at line 107 of file sumi_api.h.

std::string sstmac::sumi_api::server_libname_
private

Definition at line 105 of file sumi_api.h.


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