SST/macro
|
#include <sumi_api.h>
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_system * | os () 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_ |
Timer * | timer_ |
long | startcount_ |
long | endcount_ |
lib_compute_time * | compute_ |
Protected Attributes inherited from sstmac::sw::library | |
operating_system * | os_ |
key::category | key_cat_ |
software_id | sid_ |
Private Attributes | |
std::string | server_libname_ |
sstmac::sw::app_launch * | rank_mapper_ |
sumi_queue * | queue_ |
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... | |
Definition at line 58 of file sumi_api.h.
sstmac::sumi_api::sumi_api | ( | const char * | name, |
sstmac::sw::software_id | sid | ||
) |
|
virtual |
|
inline |
Definition at line 100 of file sumi_api.h.
|
virtual |
Reimplemented from sstmac::sw::api.
Reimplemented in sumi::sumi_transport.
|
pure virtual |
Implemented in sumi::sumi_transport.
void sstmac::sumi_api::incoming_message | ( | transport_message * | msg | ) |
|
virtual |
Reimplemented from sstmac::sw::api.
Reimplemented in sumi::sumi_transport.
|
virtual |
Reimplemented from sstmac::sw::api.
Reimplemented in sumi::sumi_transport.
|
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 | ||
) |
|
protected |
Definition at line 116 of file sumi_api.h.
|
protected |
Definition at line 120 of file sumi_api.h.
|
private |
queue_ Manages incoming/outgoing messages
Definition at line 113 of file sumi_api.h.
|
protected |
Definition at line 118 of file sumi_api.h.
|
private |
Definition at line 107 of file sumi_api.h.
|
private |
Definition at line 105 of file sumi_api.h.