The structure for holding elements in a Blackboard.
More...
#include <BlackboardEntry.hh>
|
template<typename T > |
void | SetValue (const T &value) |
| SetValue - insterts value of any time into the blackboard entry by converting it to any. More...
|
|
template<typename T > |
const T & | GetValue () const |
| GetValue - Returns value stored in the blackboard entry. More...
|
|
std::string | ToString () const |
| ToString - Returns serialization of data stored in the entry. More...
|
|
|
std::any | data |
|
std::function< std::string(const std::any &)> | serializationFunction |
|
The structure for holding elements in a Blackboard.
◆ GetValue()
template<typename T >
const T& grail::BlackboardEntry::GetValue |
( |
| ) |
const |
|
inline |
GetValue - Returns value stored in the blackboard entry.
- Parameters
-
- Returns
- value stored in the blackboard entry
◆ SetValue()
template<typename T >
void grail::BlackboardEntry::SetValue |
( |
const T & |
value | ) |
|
|
inline |
SetValue - insterts value of any time into the blackboard entry by converting it to any.
- Parameters
-
◆ ToString()
std::string grail::BlackboardEntry::ToString |
( |
| ) |
const |
|
inline |
ToString - Returns serialization of data stored in the entry.
- Parameters
-
- Returns
- string representation of data or a message if the type is not supported for serialization
The documentation for this struct was generated from the following file: