Atoms Crowd  7.0.0
Atoms::Composite Class Reference
Inheritance diagram for Atoms::Composite:
Atoms::Behaviour Atoms::ActiveSelector Atoms::ActiveSequence Atoms::BinarySelector Atoms::Parallel Atoms::ProbabilitySelector Atoms::RandomSelector Atoms::RandomSequence Atoms::Selector Atoms::Sequence Atoms::StepSequencer Atoms::Switch

Public Member Functions

virtual const char * typeName () const override
 
virtual void addChild (unsigned short childIndex) override
 
virtual void setAttributes (const AtomsCore::MapMetadata *attributes, Blackboard *blackboard) override
 
virtual void getAttributes (AtomsCore::MapMetadata *attributes, Blackboard *blackboard) override
 
virtual void getAttributeProperties (AtomsCore::MapMetadata *attributes) override
 
unsigned short getLocalChildIndex (unsigned short idx) const
 
- Public Member Functions inherited from Atoms::Behaviour
 Behaviour (unsigned short idx, unsigned short parentIdx)
 
virtual void initialize (BehaviourTreeContext *context, State *data)
 
virtual void update (BehaviourTreeContext *context, State *data)
 
virtual void terminate (BehaviourTreeContext *context, State *data)
 
virtual void releaseData (BehaviourTreeContext *context, State *data)
 
void tick (BehaviourTreeContext *context, State *data)
 
virtual void onChildUpdated (BehaviourTreeContext *context, State *data, unsigned int childIndex, unsigned short childStatus)
 
virtual bool needPreallocatedMemory () const
 
virtual bool isGPUNode () const
 

Public Attributes

std::vector< unsigned short > m_Children
 
- Public Attributes inherited from Atoms::Behaviour
unsigned short index
 
short parentIndex
 
unsigned short span
 
unsigned char baseType
 
unsigned char lock
 

Additional Inherited Members

- Public Types inherited from Atoms::Behaviour
enum  Status {
  INVALID = 0 , SUCCESS , FAILURE , RUNNING ,
  ABORTED , SUSPENDEND
}
 

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