SST/macro
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
sstmac::connectable_proxy_component Class Reference

#include <connectable_wrapper.h>

Inheritance diagram for sstmac::connectable_proxy_component:
Inheritance graph
Collaboration diagram for sstmac::connectable_proxy_component:
Collaboration graph

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)
 

Detailed Description

Definition at line 77 of file connectable_wrapper.h.

Member Typedef Documentation

Definition at line 85 of file connectable_wrapper.h.

Definition at line 83 of file connectable_wrapper.h.

Member Enumeration Documentation

Enumerator
Switch 
Endpoint 
Other 

Definition at line 93 of file connectable_wrapper.h.

Constructor & Destructor Documentation

sstmac::connectable_proxy_component::~connectable_proxy_component ( )

Member Function Documentation

void sstmac::connectable_proxy_component::connect ( int  src_outport,
int  dst_inport,
connection_type_t  ty,
connectable *  other,
config cfg 
)
event_loc_id sstmac::connectable_proxy_component::event_location ( ) const
inline
std::string sstmac::connectable_proxy_component::to_string ( ) const
inlinevirtual

Implements sstmac::hw::connectable.

Definition at line 88 of file connectable_wrapper.h.

Member Data Documentation

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.

endpoint_map sstmac::connectable_proxy_component::registered_endpoints
static

Definition at line 86 of file connectable_wrapper.h.

switch_map sstmac::connectable_proxy_component::registered_switches
static

Definition at line 84 of file connectable_wrapper.h.

PyObject* sstmac::connectable_proxy_component::sst
static

Definition at line 82 of file connectable_wrapper.h.


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