PandA-2024.02
Public Types | Public Member Functions | Protected Attributes
connection_obj Class Referenceabstract

Generic class managing elements used to interconnect generic objects into datapath. More...

#include <connection_obj.hpp>

Inheritance diagram for connection_obj:
Inheritance graph
[legend]
Collaboration diagram for connection_obj:
Collaboration graph
[legend]

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_transferlive_variable
 Set of variables that cross the connection. More...
 

Detailed Description

Generic class managing elements used to interconnect generic objects into datapath.

Definition at line 59 of file connection_obj.hpp.

Member Typedef Documentation

◆ element_t

using connection_obj::element_t = enum { DIRECT_CONN, BY_MUX }

resource type

Definition at line 63 of file connection_obj.hpp.

Constructor & Destructor Documentation

◆ connection_obj()

connection_obj::connection_obj ( element_t  _type,
const CustomOrderedSet< data_transfer > &  _live_variable 
)
inline

Constructor.

Parameters
_typeis the type of the interconnection
_live_variableis the set of variables crossing the connection

Definition at line 78 of file connection_obj.hpp.

◆ ~connection_obj()

virtual connection_obj::~connection_obj ( )
inlinevirtual

Destructor.

Definition at line 86 of file connection_obj.hpp.

References get_string().

Here is the call graph for this function:

Member Function Documentation

◆ get_string()

virtual const std::string connection_obj::get_string ( ) const
pure virtual

Returns the name associated with the element.

Returns
a string containing the name associated to element.

Implemented in mux_conn, and direct_conn.

Referenced by ~connection_obj().

Here is the caller graph for this function:

◆ get_type()

unsigned int connection_obj::get_type ( ) const
inline

Returns type of object used to perform connection.

Returns
an integer associated to object type

Definition at line 109 of file connection_obj.hpp.

References type.

◆ get_variables()

const CustomOrderedSet<data_transfer>& connection_obj::get_variables ( ) const
inline

Gets the temporary set.

Returns
the set of temporary that could cross the connection

Definition at line 100 of file connection_obj.hpp.

References live_variable.

Field Documentation

◆ live_variable

CustomOrderedSet<data_transfer> connection_obj::live_variable
protected

Set of variables that cross the connection.

Definition at line 70 of file connection_obj.hpp.

Referenced by get_variables().

◆ type

element_t connection_obj::type
protected

type of the connection

Definition at line 67 of file connection_obj.hpp.

Referenced by get_type().


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

Generated on Mon Feb 12 2024 13:03:48 for PandA-2024.02 by doxygen 1.8.13