Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Blackboard Class Reference

Public Types

enum class  BlackboardError { Success , MismatchingType , KeyNotFound }

Public Member Functions

template<typename T>
BlackboardError SetValue (BlackboardKey key, T value)
template<typename T>
BlackboardError SetValueIfExists (BlackboardKey key, T value)
template<typename T>
Grindstone::Result< T, BlackboardError > GetValue (BlackboardKey key) const
template<typename T>
bool TryGetValue (BlackboardKey key, T &outValue) const
template<typename T>
BlackboardError SetValue (T value)
template<typename T>
BlackboardError SetValueIfExists (T value)
template<typename T>
Grindstone::Result< T, BlackboardError > GetValue () const
template<typename T>
bool TryGetValue (T &outValue) const

Static Public Member Functions

template<typename T>
static BlackboardKey GetBlackboardKeyFromType ()

Protected Attributes

std::map< BlackboardKey, BlackboardEntryentries

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