IOData is the base class of generic data stored as input or result in a Port. More...
#include <IOData.hpp>
Public Member Functions | |
IOData () | |
virtual | ~IOData () |
template<typename T > | |
T * | getData () |
template<typename T > | |
void | setData (T data) |
Detailed Description
IOData is the base class of generic data stored as input or result in a Port.
IOData represents a generic data used in manipulation objects. Get and set methods of this class are templated methods on the type of attached data.
Definition at line 39 of file IOData.hpp.
Constructor & Destructor Documentation
◆ IOData()
|
inline |
Default constructor of IOData.
Definition at line 44 of file IOData.hpp.
◆ ~IOData()
|
inlinevirtual |
Destructor
Definition at line 49 of file IOData.hpp.
Member Function Documentation
◆ getData()
T* mimmo::IOData::getData | ( | ) |
It gets the data stored in the object. Even if not declared as pure virtual its behavior is like a pure virtual method, i.e. an analogous method is implemented in the template derived class IODataT.
- Returns
- Pointer to data stored.
◆ setData()
void mimmo::IOData::setData | ( | T | data | ) |
It sets the data stored in the object. Even if not declared as pure virtual its behavior is like a pure virtual method, i.e. an analogous method is implemented in the template derived class IODataT.
- Parameters
-
[in] data Data to be stored.
The documentation for this class was generated from the following file:
- src/iogeneric/IOData.hpp