Atoms Crowd  7.0.0
Atoms::ProbabilitySelector Class Reference
Inheritance diagram for Atoms::ProbabilitySelector:
Atoms::Composite Atoms::Behaviour

Classes

struct  ProbabilitySelectorData
 

Public Member Functions

virtual const char * typeName () const override
 
virtual void initialize (BehaviourTreeContext *context, State *data) override
 
virtual void update (BehaviourTreeContext *context, State *data) override
 
virtual void terminate (BehaviourTreeContext *context, State *data) override
 
virtual void releaseData (BehaviourTreeContext *context, State *data) override
 
virtual void onChildUpdated (BehaviourTreeContext *context, State *data, unsigned int childIndex, unsigned short childStatus) 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
 
double getTotal (BehaviourTreeContext *context, State *data)
 
- Public Member Functions inherited from Atoms::Composite
virtual void addChild (unsigned short childIndex) override
 
unsigned short getLocalChildIndex (unsigned short idx) const
 
- Public Member Functions inherited from Atoms::Behaviour
 Behaviour (unsigned short idx, unsigned short parentIdx)
 
void tick (BehaviourTreeContext *context, State *data)
 
virtual bool needPreallocatedMemory () const
 
virtual bool isGPUNode () const
 

Static Public Member Functions

static Behaviourcreator ()
 

Additional Inherited Members

- Public Types inherited from Atoms::Behaviour
enum  Status {
  INVALID = 0 , SUCCESS , FAILURE , RUNNING ,
  ABORTED , SUSPENDEND
}
 
- Public Attributes inherited from Atoms::Composite
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
 

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