SST/macro
|
#include <connectable_wrapper.h>
Public Types | |
enum | component_category_t { Switch, Endpoint, Other } |
typedef spkt_unordered_map< switch_id, connectable_proxy_component * > | switch_map |
typedef spkt_unordered_map< endpoint_id, connectable_proxy_component * > | endpoint_map |
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 } |
Public Member Functions | |
std::string | to_string () const |
event_loc_id | event_location () const |
void | connect (int src_outport, int dst_inport, connection_type_t ty, connectable *other, config *cfg) |
~connectable_proxy_component () | |
Public Member Functions inherited from sstmac::hw::connectable | |
virtual void | connect (int src_outport, int dst_inport, connection_type_t ty, connectable *mod, config *cfg)=0 |
connect More... | |
Public Attributes | |
PyObject * | component_proxy |
std::string | component_name |
std::string | hop_latency |
std::string | injection_latency |
component_category_t | category |
Static Public Attributes | |
static PyObject * | sst |
static switch_map | registered_switches |
static endpoint_map | registered_endpoints |
Static Public Attributes inherited from sstmac::hw::connectable | |
static const int | any_port = -1 |
Additional Inherited Members | |
Static Public Member Functions inherited from sstmac::hw::connectable | |
static const char * | str (connection_type_t ty) |
Definition at line 77 of file connectable_wrapper.h.
typedef spkt_unordered_map<endpoint_id, connectable_proxy_component*> sstmac::connectable_proxy_component::endpoint_map |
Definition at line 85 of file connectable_wrapper.h.
typedef spkt_unordered_map<switch_id, connectable_proxy_component*> sstmac::connectable_proxy_component::switch_map |
Definition at line 83 of file connectable_wrapper.h.
Enumerator | |
---|---|
Switch | |
Endpoint | |
Other |
Definition at line 93 of file connectable_wrapper.h.
sstmac::connectable_proxy_component::~connectable_proxy_component | ( | ) |
void sstmac::connectable_proxy_component::connect | ( | int | src_outport, |
int | dst_inport, | ||
connection_type_t | ty, | ||
connectable * | other, | ||
config * | cfg | ||
) |
|
inline |
Definition at line 100 of file connectable_wrapper.h.
References sstmac::connection_details::cfg, and sstmac::event_loc_id::null.
|
inlinevirtual |
Implements sstmac::hw::connectable.
Definition at line 88 of file connectable_wrapper.h.
component_category_t sstmac::connectable_proxy_component::category |
Definition at line 119 of file connectable_wrapper.h.
std::string sstmac::connectable_proxy_component::component_name |
Definition at line 116 of file connectable_wrapper.h.
PyObject* sstmac::connectable_proxy_component::component_proxy |
Definition at line 115 of file connectable_wrapper.h.
std::string sstmac::connectable_proxy_component::hop_latency |
Definition at line 117 of file connectable_wrapper.h.
std::string sstmac::connectable_proxy_component::injection_latency |
Definition at line 118 of file connectable_wrapper.h.
|
static |
Definition at line 86 of file connectable_wrapper.h.
|
static |
Definition at line 84 of file connectable_wrapper.h.
|
static |
Definition at line 82 of file connectable_wrapper.h.