LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Rhesus::Toolkit::InterCommunication::DataPool Class Reference

Provides access to multiple DataUnit objects. More...

#include <DataPool.h>

Static Public Member Functions

static void AddUnit (std::string name)
 
static DataUnitGet (std::string unit)
 
template<typename T >
static void Set (std::string unit, std::string key, T value)
 
static void Clear ()
 

Detailed Description

Provides access to multiple DataUnit objects.

Author
Varun Parthasarathy
Tony Peng

Member Function Documentation

void DataPool::AddUnit ( std::string  name)
static

Adds a DataUnit (a new section of data) to the DataPool

Parameters
namethe name of the added DataUnit (used to access it)
void DataPool::Clear ( )
static

Purges the DataPool of all DataUnits

DataUnit & DataPool::Get ( std::string  unit)
static
Returns
a reference to the specified DataUnit
Parameters
unitthe name of the DataUnit to retrieve
template<typename T >
static void Rhesus::Toolkit::InterCommunication::DataPool::Set ( std::string  unit,
std::string  key,
value 
)
static

sets a specific value within a specified DataUnit

Parameters
unitthe DataUnit to access
keythe name of the value to be set
valuethe value to set

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