#include <blackboard.h>
|
| Blackboard ()=delete |
|
bool | contains (const std::string &key) const |
|
template<typename T > |
bool | get (const std::string &key, T &value) const |
|
template<typename T > |
T | get (const std::string &key) const |
|
const SafeAny::Any * | getAny (const std::string &key) const |
|
template<typename T > |
void | set (const std::string &key, const T &value) |
| Update the entry with the given key. More...
|
|
virtual | ~Blackboard ()=default |
|
Definition at line 32 of file blackboard.h.
BT::Blackboard::Blackboard |
( |
| ) |
|
|
delete |
virtual BT::Blackboard::~Blackboard |
( |
| ) |
|
|
virtualdefault |
bool BT::Blackboard::contains |
( |
const std::string & |
key | ) |
const |
|
inline |
template<typename ImplClass , typename... Args>
Use this static method to create an instance of the BlackBoard to share among all your NodeTrees.
Definition at line 48 of file blackboard.h.
template<typename T >
bool BT::Blackboard::get |
( |
const std::string & |
key, |
|
|
T & |
value |
|
) |
| const |
|
inline |
Return true if the entry with the given key was found. Note that this method may throw an exception if the cast to T failed.
return true if succesful
Definition at line 62 of file blackboard.h.
template<typename T >
T BT::Blackboard::get |
( |
const std::string & |
key | ) |
const |
|
inline |
const SafeAny::Any* BT::Blackboard::getAny |
( |
const std::string & |
key | ) |
const |
|
inline |
template<typename T >
void BT::Blackboard::set |
( |
const std::string & |
key, |
|
|
const T & |
value |
|
) |
| |
|
inline |
Update the entry with the given key.
Definition at line 102 of file blackboard.h.
The documentation for this class was generated from the following file: