Provides access to multiple DataUnit objects.
More...
#include <DataPool.h>
|
static void | AddUnit (std::string name) |
|
static DataUnit & | Get (std::string unit) |
|
template<typename T > |
static void | Set (std::string unit, std::string key, T value) |
|
static void | Clear () |
|
Provides access to multiple DataUnit objects.
- Author
- Varun Parthasarathy
-
Tony Peng
void DataPool::AddUnit |
( |
std::string |
name | ) |
|
|
static |
Adds a DataUnit (a new section of data) to the DataPool
- Parameters
-
name | the name of the added DataUnit (used to access it) |
DataUnit & DataPool::Get |
( |
std::string |
unit | ) |
|
|
static |
- Returns
- a reference to the specified DataUnit
- Parameters
-
unit | the name of the DataUnit to retrieve |
template<typename T >
static void Rhesus::Toolkit::InterCommunication::DataPool::Set |
( |
std::string |
unit, |
|
|
std::string |
key, |
|
|
T |
value |
|
) |
| |
|
static |
sets a specific value within a specified DataUnit
- Parameters
-
unit | the DataUnit to access |
key | the name of the value to be set |
value | the value to set |
The documentation for this class was generated from the following files:
- Rhesus/Toolkit/InterCommunication/DataPool.h
- Rhesus/Toolkit/InterCommunication/DataPool.cpp