Interface to datapacks.
More...
#include <datapack_interface.h>
◆ DataPackInterface() [1/6]
DataPackInterface::DataPackInterface |
( |
| ) |
|
|
default |
◆ DataPackInterface() [2/6]
◆ DataPackInterface() [3/6]
◆ DataPackInterface() [4/6]
template<class DEV_ID_T >
DataPackInterface::DataPackInterface |
( |
DEV_ID_T && |
id | ) |
|
|
inline |
◆ DataPackInterface() [5/6]
DataPackInterface::DataPackInterface |
( |
const std::string & |
name, |
|
|
const std::string & |
engineName, |
|
|
const std::string & |
type |
|
) |
| |
◆ ~DataPackInterface()
virtual DataPackInterface::~DataPackInterface |
( |
| ) |
|
|
virtualdefault |
◆ DataPackInterface() [6/6]
DataPackInterface::DataPackInterface |
( |
const std::string & |
name, |
|
|
const std::string & |
engineName, |
|
|
const std::string & |
type, |
|
|
bool |
isUpdated |
|
) |
| |
|
inlineprotected |
◆ clone()
◆ engineName()
const std::string & DataPackInterface::engineName |
( |
| ) |
const |
◆ id()
◆ isEmpty()
bool DataPackInterface::isEmpty |
( |
| ) |
const |
Indicates if the datapack contains any data aside from datapack ID.
The function will return true, if the datapack is of DataPackInterface type, which contains only datapack ID. For any concrete implementation of DataPack class, it should return false.
◆ isUpdated()
bool DataPackInterface::isUpdated |
( |
| ) |
const |
Indicates if the DataPack was created or received on the current simulation iteration.
- Return values
-
true | When the DataPack was created or received on the current simulation iteration |
false | When the DataPack is 'stale' - it was created or received on one of the earlier simulation iterations |
◆ name()
const std::string & DataPackInterface::name |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ resetIsUpdated()
void DataPackInterface::resetIsUpdated |
( |
| ) |
const |
Sets the isUpdated flag to false TODO This method is obviously non-const, it will be changed in NRRPLT-8589.
◆ setEngineName()
void DataPackInterface::setEngineName |
( |
const std::string & |
engineName | ) |
|
◆ setID()
◆ setIsEmpty()
void DataPackInterface::setIsEmpty |
( |
bool |
value | ) |
|
|
protected |
◆ setName()
void DataPackInterface::setName |
( |
const std::string & |
name | ) |
|
◆ setType()
void DataPackInterface::setType |
( |
const std::string & |
type | ) |
|
◆ type()
const std::string & DataPackInterface::type |
( |
| ) |
const |
The documentation for this class was generated from the following files: