16#ifndef YASMIN__BLACKBOARD__BLACKBOARD_VALUE_HPP
17#define YASMIN__BLACKBOARD__BLACKBOARD_VALUE_HPP
72 std::string name =
typeid(T).name();
78 abi::__cxa_demangle(name.c_str(),
nullptr,
nullptr, &status);
Interface for blackboard value types.
Definition blackboard_value_interface.hpp:32
A template class that wraps a value of type T.
Definition blackboard_value.hpp:41
void set(T value)
Set a new value.
Definition blackboard_value.hpp:62
std::string to_string()
Convert the stored value's type information to a string.
Definition blackboard_value.hpp:95
std::string get_type()
Get the type of the stored value as a string.
Definition blackboard_value.hpp:71
T value
The stored value of type T.
Definition blackboard_value.hpp:43
BlackboardValue(T value)
Constructs a BlackboardValue with the specified value.
Definition blackboard_value.hpp:50
T get()
Retrieve the stored value.
Definition blackboard_value.hpp:56
Definition blackboard.hpp:29