public

Inheritance Graph

graph BT
	AbstractBehaviourDecorator
	AbstractBehaviourDecorator --> AbstractNodeBehaviour
	TimedBehaviourDecorator --> AbstractBehaviourDecorator
	click AbstractBehaviourDecorator "classMinSG_1_1AbstractBehaviourDecorator"
	click AbstractNodeBehaviour "classMinSG_1_1AbstractNodeBehaviour"
	click TimedBehaviourDecorator "classMinSG_1_1TimedBehaviourDecorator"

Description

Public Functions

   
   
  AbstractBehaviourDecorator( AbstractBehaviour * decorated)
   
  ~AbstractBehaviourDecorator()
   
AbstractBehaviour * getDecorated()
   
AbstractBehaviour * getDecoratedRoot()
   
void onNodeChanged( Node * void)
o

Documentation

function
MinSG::AbstractBehaviourDecorator::AbstractBehaviourDecorator

public
     
     
AbstractBehaviourDecorator( AbstractBehaviour * decorated )

Defined in MinSG/Ext/Behaviours/AbstractBehaviourDecorator.h:23


function
MinSG::AbstractBehaviourDecorator::~AbstractBehaviourDecorator

public inline virtual
   
   
~AbstractBehaviourDecorator( )

Defined in MinSG/Ext/Behaviours/AbstractBehaviourDecorator.h:24


function
MinSG::AbstractBehaviourDecorator::getDecorated

public inline
   
   
AbstractBehaviour * getDecorated( )

Returns the decorated Behaviour.

Returns

AbstractBehaviour

Note: The returned Behaviour can be another decorator.

Defined in MinSG/Ext/Behaviours/AbstractBehaviourDecorator.h:32


function
MinSG::AbstractBehaviourDecorator::getDecoratedRoot

public
   
   
AbstractBehaviour * getDecoratedRoot( )

Returns the root of decorated behaviours

Returns

AbstractBehaviour

Note: When you have decorated decorators like Behaviour <Decorator1 <Decorator2 <Decorator3 this method returns the Behaviour at the top

Defined in MinSG/Ext/Behaviours/AbstractBehaviourDecorator.h:42


function
MinSG::AbstractBehaviourDecorator::onNodeChanged

public virtual
     
     
void onNodeChanged( Node * void )

o

Defined in MinSG/Ext/Behaviours/AbstractBehaviourDecorator.h:45