Class DataType defines the container and the type of data communicated by ports. More...

#include <InOut.hpp>

Public Member Functions

 DataType ()
 
 DataType (const DataType &)=default
 
 DataType (containerTAG conType, dataTAG dataType)
 
virtual ~DataType ()
 
DataTypeoperator= (const DataType &)=default
 
bool operator== (const DataType &other)
 

Public Attributes

containerTAG m_conType
 
dataTAG m_dataType
 

Detailed Description

Class DataType defines the container and the type of data communicated by ports.

Class retains two members, m_conType and m_dataType to indentify container and data type, respectively, of a given target Port. See mimmo::PortManager.

Definition at line 53 of file InOut.hpp.

Constructor & Destructor Documentation

◆ DataType() [1/3]

mimmo::DataType::DataType ( )

Default constructor of DataType

Definition at line 35 of file InOut.cpp.

◆ DataType() [2/3]

mimmo::DataType::DataType ( containerTAG  conType,
dataTAG  dataType 
)

Custom constructor of DataType.

Parameters
[in]conTypestring of type of port container.
[in]dataTypestring of type of port data.

Definition at line 45 of file InOut.cpp.

◆ ~DataType()

mimmo::DataType::~DataType ( )
virtual

Default destructor of DataType

Definition at line 54 of file InOut.cpp.

◆ DataType() [3/3]

mimmo::DataType::DataType ( const DataType )
default

Default copy constructor

Member Function Documentation

◆ operator=()

DataType& mimmo::DataType::operator= ( const DataType )
default

Default copy assignment

◆ operator==()

bool mimmo::DataType::operator== ( const DataType other)

Compare operator of DataType.

Definition at line 60 of file InOut.cpp.

Member Data Documentation

◆ m_conType

containerTAG mimmo::DataType::m_conType

type of container

Definition at line 55 of file InOut.hpp.

◆ m_dataType

dataTAG mimmo::DataType::m_dataType

type of data

Definition at line 56 of file InOut.hpp.


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