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

Provides an object to store individual component data. Usually accessed through DataPool and not directly. More...

#include <DataUnit.h>

Public Member Functions

template<typename T >
void Set (std::string key, T value)
 
template<typename T >
Get (std::string key)
 
void Clear ()
 

Detailed Description

Provides an object to store individual component data. Usually accessed through DataPool and not directly.

Author
Varun Parthasarathy
Tony Peng

Member Function Documentation

void DataUnit::Clear ( )

Purges the DataUnit of all data

template<typename T >
T Rhesus::Toolkit::InterCommunication::DataUnit::Get ( std::string  key)
Returns
the value associated with the specified key
Parameters
keythe key of the desired value
template<typename T >
void Rhesus::Toolkit::InterCommunication::DataUnit::Set ( std::string  key,
value 
)

Sets a specified value at a specified key

Parameters
keythe key to associate the value to
valuethe value to set

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