1 #ifndef SSTMAC_SIMPMSG_API_H 2 #define SSTMAC_SIMPMSG_API_H 26 return "SUMI message queue";
77 init_factory_params(sprockit::sim_parameters* params);
80 poll_until_notification();
83 poll_until_notification(
timestamp timeout);
85 virtual sumi::message_ptr
94 const sumi::message_ptr& msg,
101 return queue_->blocked();
130 sumi_server(
const std::string& libname,
int appid);
133 register_proc(
int rank,
sumi_api* proc);
136 incoming_event(
event *ev);
141 spkt_unordered_map<int, sumi_api*>
procs_;
144 get_proc(
int rank)
const;
150 #endif // SSTMAC_SIMPMSG_API_H sstmac::sw::operating_system * os_
A class describing an event.
sstmac::sw::app_launch * rank_mapper_
long byte_length(const char *value, bool &errorflag, bool print_errors=false)
spkt_unordered_map< int, sumi_api * > procs_
A basic container for time (subject to future transplant).
void put_message(transport_message *message)
parallel_runtime * init()
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void finalize(parallel_runtime *rt)
std::list< sstmac::sw::key * > blocked_keys_
sumi_queue * queue_
queue_ Manages incoming/outgoing messages
std::string to_string() const
std::list< transport_message * > pending_messages_
std::string server_libname_
A wrapper for an appid, taskid pair.
transport_message * poll_until_message()