![]() |
Atoms Crowd
7.0.0
|
Classes | |
| class | AgentScopeLock |
| struct | BehaviourStackState |
| struct | ChildState |
Public Member Functions | |
| BehaviourTreeContext (BehaviourTree *bt) | |
| void | setTree (BehaviourTree *bt) |
| bool | start () |
| bool | start (const std::string &name) |
| bool | start (unsigned short index) |
| void | abort (unsigned short index) |
| bool | isRunning () const |
| void | stop () |
| Behaviour::Status | tick () |
| void | updateParent (Behaviour *behaviour, Behaviour::State ¤t) |
| void | dirtyUpdateParent (Behaviour *behaviour, Behaviour::State ¤t) |
| template<class T > | |
| T * | allocateMemory () |
| template<class T > | |
| void | releaseMemory (T *data) |
| std::string | behaviourName (unsigned short index) const |
| template<class T > | |
| T & | getBlackboardValue (BlackboardValue< T > &value) |
| template<class T > | |
| std::vector< T > & | getBlackboardValue (BlackboardValue< std::vector< T >> &value) |
| template<class T > | |
| bool | setBlackboardValue (const BlackboardValue< T > &value) |
| template<class T > | |
| bool | setBlackboardValue (const BlackboardValue< std::vector< T >> &value) |
| AtomsPtr< AtomsCore::Metadata > | getBlackboardValueFromName (const std::string &name) const |
| AtomsPtr< AtomsCore::Metadata > | getBlackboardValueFromPosition (const BlackboardEntryPosition &position) const |
| void | cacheMetadata (Atoms::BlackboardEntryPosition &position) |
| void | unCacheMetadata (Atoms::BlackboardEntryPosition &position) |
| void | lock () |
| void | unlock () |
Public Attributes | |
| const unsigned short | nullIndex = 0 |
| BlackboardInstance | blackboardInstance |
| BehaviourTree * | tree |
| AgentGroup * | agentGroup |
| Agent * | agent |
| std::mutex * | mutex |
| std::deque< BehaviourStackState > | m_activeBehaviours |
| std::vector< Behaviour::State > | m_activeStack |
| std::vector< BehaviourStackState > | m_aborted |
| std::vector< BehaviourStackState > | m_started |
| std::vector< unsigned short > | m_successBehaviours |
| std::vector< unsigned short > | m_failureBehaviours |
| unsigned short | tickCount |
| double | tickTime |
| unsigned int | seed |
| bool | debug |
| bool | isLocked |