|
NoJobEngine 2.0.7
|
#include <BTBlackboard.h>
Classes | |
| struct | DebugEntry |
Public Types | |
| using | ObserverID = std::uint64_t |
Public Member Functions | |
| template<typename T> | |
| void | Set (std::string key, T &&value) |
| void | Set (std::string key, const char *value) |
| template<typename T> | |
| const T * | TryGet (std::string_view key) const |
| template<typename T> | |
| T * | TryGet (std::string_view key) |
| template<typename T> | |
| const T & | Get (std::string_view key) const |
| template<typename T> | |
| T & | Get (std::string_view key) |
| template<typename T> | |
| T | GetOr (std::string_view key, T fallback) const |
| bool | Contains (std::string_view key) const |
| bool | Remove (std::string_view key) |
| void | Clear () |
| ObserverID | Observe (std::string key, std::function< void(std::string_view)> callback) |
| bool | Unobserve (ObserverID id) |
| std::uint64_t | Revision () const noexcept |
| std::size_t | Size () const |
| std::vector< DebugEntry > | DebugEntries () const |
| std::type_index | TypeOf (std::string_view key) const |
Definition at line 25 of file BTBlackboard.h.
| using NoJob::BTBlackboard::ObserverID = std::uint64_t |
Definition at line 96 of file BTBlackboard.h.
|
inline |
Definition at line 90 of file BTBlackboard.h.
|
inline |
Definition at line 80 of file BTBlackboard.h.
|
inline |
Definition at line 108 of file BTBlackboard.h.
References NoJob::BTBlackboard::DebugEntry::Type, and NoJob::BTBlackboard::DebugEntry::Value.
|
inline |
Definition at line 67 of file BTBlackboard.h.
References TryGet().
|
inline |
Definition at line 59 of file BTBlackboard.h.
References TryGet().
|
inline |
Definition at line 75 of file BTBlackboard.h.
References TryGet().
Referenced by NoJob::BTExampleMover::CreateTree(), and NoJob::BTService::Tick().
|
inline |
Definition at line 97 of file BTBlackboard.h.
Referenced by NoJob::BTDecorator::Tick().
|
inline |
Definition at line 84 of file BTBlackboard.h.
Referenced by NoJob::BTService::Reset().
|
inlinenoexcept |
Definition at line 104 of file BTBlackboard.h.
|
inline |
Definition at line 41 of file BTBlackboard.h.
References Set().
|
inline |
Definition at line 28 of file BTBlackboard.h.
Referenced by NoJob::CreateBTGameplayRegistry(), NoJob::BTAssetAgent::CreateTree(), NoJob::BTExampleMover::CreateTree(), NoJob::BTAssetAgent::OnTreeStarted(), Set(), and NoJob::BTService::Tick().
|
inline |
Definition at line 105 of file BTBlackboard.h.
|
inline |
Definition at line 53 of file BTBlackboard.h.
|
inline |
Definition at line 47 of file BTBlackboard.h.
Referenced by NoJob::CreateBTGameplayRegistry(), Get(), Get(), and GetOr().
|
inline |
Definition at line 133 of file BTBlackboard.h.
|
inline |
Definition at line 103 of file BTBlackboard.h.
Referenced by NoJob::BTDecorator::Reset().