Provides an object to store individual component data. Usually accessed through DataPool and not directly.
More...
#include <DataUnit.h>
|
template<typename T > |
void | Set (std::string key, T value) |
|
template<typename T > |
T | Get (std::string key) |
|
void | Clear () |
|
Provides an object to store individual component data. Usually accessed through DataPool and not directly.
- Author
- Varun Parthasarathy
-
Tony Peng
template<typename T >
T Rhesus::Toolkit::InterCommunication::DataUnit::Get |
( |
std::string |
key | ) |
|
- Returns
- the value associated with the specified key
- Parameters
-
key | the key of the desired value |
template<typename T >
void Rhesus::Toolkit::InterCommunication::DataUnit::Set |
( |
std::string |
key, |
|
|
T |
value |
|
) |
| |
Sets a specified value at a specified key
- Parameters
-
key | the key to associate the value to |
value | the value to set |
The documentation for this class was generated from the following files:
- Rhesus/Toolkit/InterCommunication/DataUnit.h
- Rhesus/Toolkit/InterCommunication/DataUnit.cpp