PandA-2024.02
|
Generic class managing elements used to interconnect generic objects into datapath. More...
#include <connection_obj.hpp>
Public Types | |
using | element_t = enum { DIRECT_CONN, BY_MUX } |
resource type More... | |
Public Member Functions | |
connection_obj (element_t _type, const CustomOrderedSet< data_transfer > &_live_variable) | |
Constructor. More... | |
virtual | ~connection_obj () |
Destructor. More... | |
virtual const std::string | get_string () const =0 |
Returns the name associated with the element. More... | |
const CustomOrderedSet< data_transfer > & | get_variables () const |
Gets the temporary set. More... | |
unsigned int | get_type () const |
Returns type of object used to perform connection. More... | |
Protected Attributes | |
element_t | type |
type of the connection More... | |
CustomOrderedSet< data_transfer > | live_variable |
Set of variables that cross the connection. More... | |
Generic class managing elements used to interconnect generic objects into datapath.
Definition at line 59 of file connection_obj.hpp.
using connection_obj::element_t = enum { DIRECT_CONN, BY_MUX } |
resource type
Definition at line 63 of file connection_obj.hpp.
|
inline |
Constructor.
_type | is the type of the interconnection |
_live_variable | is the set of variables crossing the connection |
Definition at line 78 of file connection_obj.hpp.
|
inlinevirtual |
Destructor.
Definition at line 86 of file connection_obj.hpp.
References get_string().
|
pure virtual |
Returns the name associated with the element.
Implemented in mux_conn, and direct_conn.
Referenced by ~connection_obj().
|
inline |
Returns type of object used to perform connection.
Definition at line 109 of file connection_obj.hpp.
References type.
|
inline |
Gets the temporary set.
Definition at line 100 of file connection_obj.hpp.
References live_variable.
|
protected |
Set of variables that cross the connection.
Definition at line 70 of file connection_obj.hpp.
Referenced by get_variables().
|
protected |