SST/macro
|
The main interface for something that can respond to an event (sst_message). More...
#include <event_handler.h>
Public Member Functions | |
virtual std::string | to_string () const =0 |
virtual | ~event_handler () |
virtual void | handle (event *ev)=0 |
event_loc_id | event_location () const |
virtual bool | ipc_handler () const |
Whether an event handler is a "fake" handler that represents logical process boundary. More... | |
int | thread_id () const |
virtual void | deadlock_check (event *ev) |
virtual void | deadlock_check () |
Static Public Attributes | |
static const int | null_lpid = -1 |
static const int | null_threadid = -1 |
Protected Member Functions | |
event_handler () | |
void | init_loc_id (event_loc_id id) |
void | init_thread_id (int id) |
Private Attributes | |
event_loc_id | loc_id_ |
int | thread_id_ |
The main interface for something that can respond to an event (sst_message).
Definition at line 24 of file event_handler.h.
|
inlineprotected |
Definition at line 50 of file event_handler.h.
References to_string().
|
inlinevirtual |
Definition at line 57 of file event_handler.h.
References handle().
|
inlinevirtual |
Reimplemented in sstmac::hw::packet_flow_network_buffer, and sstmac::hw::packet_flow_NtoM_queue.
Definition at line 83 of file event_handler.h.
|
inlinevirtual |
Reimplemented in sstmac::hw::packet_flow_network_buffer, sstmac::hw::packet_flow_netlink, and sstmac::hw::packet_flow_NtoM_queue.
Definition at line 86 of file event_handler.h.
Referenced by sstmac::hw::packet_flow_network_buffer::packet_flow_name(), and sstmac::hw::packet_flow_netlink::to_string().
|
inline |
Definition at line 63 of file event_handler.h.
References loc_id_.
Referenced by sstmac::hw::packet_flow_buffer::input_location(), and sstmac::hw::packet_flow_buffer::output_location().
|
pure virtual |
Implemented in sstmac::event_subscheduler, sstmac::hw::node, sstmac::hw::packet_flow_netlink, sstmac::hw::nic, sstmac::event_scheduler, sstmac::member_fxn_handler_impl< Cls, Fxn, Args >, sstmac::integrated_connectable_wrapper, sstmac::hw::packet_flow_nic, sstmac::hw::packet_flow_handler, sstmac::hw::simple_nic, sstmac::sw::job_launcher, and sstmac::hw::packet_flow_packetizer.
Referenced by ~event_handler().
|
inlineprotected |
Definition at line 90 of file event_handler.h.
References loc_id_.
Referenced by sstmac::sw::operating_system::set_addr(), sstmac::hw::packet_flow_sender::set_event_location(), and sstmac::event_subscheduler::set_event_parent().
|
inlineprotected |
Definition at line 95 of file event_handler.h.
References thread_id_.
Referenced by sstmac::event_subscheduler::set_event_parent().
|
inlinevirtual |
Whether an event handler is a "fake" handler that represents logical process boundary.
Messages scheduled here are sent to another process.
Definition at line 73 of file event_handler.h.
|
inline |
Definition at line 78 of file event_handler.h.
References thread_id_.
Referenced by sstmac::hw::packet_flow_NtoM_queue::thread_id(), and sstmac::hw::packet_flow_handler::thread_id().
|
pure virtual |
Implemented in sstmac::event_subscheduler, sstmac::hw::packet_flow_demuxer, sstmac::hw::node, sstmac::hw::packet_flow_netlink, sstmac::sw::default_job_launcher, sstmac::event_scheduler, sstmac::hw::packet_flow_sender, sstmac::hw::nic, sstmac::hw::simple_nic, sstmac::integrated_connectable_wrapper, sstmac::hw::packet_flow_nic_packetizer, sstmac::member_fxn_handler, sstmac::hw::packet_flow_handler, sstmac::hw::packet_flow_nic, sstmac::hw::null_nic, and sstmac::sw::sdn_job_launcher.
Referenced by event_handler().
|
private |
Definition at line 101 of file event_handler.h.
Referenced by event_location(), and init_loc_id().
|
static |
Definition at line 27 of file event_handler.h.
|
static |
Definition at line 28 of file event_handler.h.
|
private |
Definition at line 102 of file event_handler.h.
Referenced by init_thread_id(), and thread_id().