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

#include <netlink.h>

Inheritance diagram for sstmac::hw::netlink:
Inheritance graph
Collaboration diagram for sstmac::hw::netlink:
Collaboration graph

Public Member Functions

virtual ~netlink ()
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
int node_port (int node_offset) const
 
int switch_port (int tile_offset) const
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 
virtual void finalize_init ()
 
- Public Member Functions inherited from sstmac::hw::connectable
virtual std::string to_string () const =0
 
virtual void connect (int src_outport, int dst_inport, connection_type_t ty, connectable *mod, config *cfg)=0
 connect More...
 
- Public Member Functions inherited from sstmac::event_subscheduler
 event_subscheduler ()
 
timestamp now () const
 get the current time More...
 
virtual std::string to_string () const
 
virtual void handle (event *ev)
 
void schedule (timestamp t, event_handler *handler, event *ev)
 Add an event to the event queue, where msg will get delivered to handler at time t. More...
 
void schedule (timestamp t, event_queue_entry *ev)
 
void schedule_now (event_queue_entry *ev)
 
void schedule_now (event_handler *handler, event *ev)
 
void schedule_delay (timestamp delay, event_handler *handler, event *ev)
 
void schedule_delay (timestamp delay, event_queue_entry *ev)
 
void send_self_event (timestamp arrival, event *ev)
 
void send_delayed_self_event (timestamp delay, event *ev)
 
void send_now_self_event (event *ev)
 
void send_self_event_queue (timestamp arrival, event_queue_entry *ev)
 
void send_delayed_self_event_queue (timestamp delay, event_queue_entry *ev)
 
void send_now_self_event_queue (event_queue_entry *ev)
 
virtual void set_event_parent (event_scheduler *m)
 Set the eventmanager for this scheduler. More...
 
event_schedulerparent () const
 
- Public Member Functions inherited from sstmac::event_handler
virtual ~event_handler ()
 
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 ()
 

Protected Member Functions

 netlink (sprockit::factory_type *ty)
 
- Protected Member Functions inherited from sstmac::event_handler
 event_handler ()
 
void init_loc_id (event_loc_id id)
 
void init_thread_id (int id)
 

Protected Attributes

int num_eject_
 
int num_inject_
 
netlink_id id_
 
- Protected Attributes inherited from sstmac::event_subscheduler
event_schedulerparent_
 

Additional Inherited Members

- Public Types inherited from sstmac::hw::connectable
enum  config_type_t {
  RedundantConnection =0, WeightedConnection =1, FixedBandwidthConnection =2, FixedConnection =3,
  BasicConnection =4
}
 
enum  connection_type_t { output, input }
 
- Static Public Member Functions inherited from sstmac::hw::connectable
static const char * str (connection_type_t ty)
 
- Static Public Attributes inherited from sstmac::hw::connectable
static const int any_port = -1
 
- Static Public Attributes inherited from sstmac::event_handler
static const int null_lpid = -1
 
static const int null_threadid = -1
 

Detailed Description

Definition at line 12 of file netlink.h.

Constructor & Destructor Documentation

virtual sstmac::hw::netlink::~netlink ( )
inlinevirtual

Definition at line 18 of file netlink.h.

References init_factory_params().

Here is the call graph for this function:

sstmac::hw::netlink::netlink ( sprockit::factory_type ty)
inlineprotected

Definition at line 34 of file netlink.h.

Member Function Documentation

virtual void sstmac::hw::netlink::init_factory_params ( sprockit::sim_parameters *  params)
virtual

Reimplemented in sstmac::hw::packet_flow_netlink.

Referenced by ~netlink().

int sstmac::hw::netlink::node_port ( int  node_offset) const
inline

Definition at line 24 of file netlink.h.

References num_inject_.

int sstmac::hw::netlink::switch_port ( int  tile_offset) const
inline

Definition at line 29 of file netlink.h.

Member Data Documentation

netlink_id sstmac::hw::netlink::id_
protected

Definition at line 38 of file netlink.h.

int sstmac::hw::netlink::num_eject_
protected

Definition at line 36 of file netlink.h.

int sstmac::hw::netlink::num_inject_
protected

Definition at line 37 of file netlink.h.

Referenced by node_port().


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