public

Inheritance Graph

graph BT
	BehaviourManager
	BehaviourManager --> ReferenceCounter
	click BehaviourManager "classMinSG_1_1BehaviourManager"
	click ReferenceCounter "classUtil_1_1ReferenceCounter"

Description

BehaviourManager Class to collect and organize Behaviours

Registered Behaviours (deprecated)

   
   
typedef std::list< Util::Reference < AbstractBehaviour > > behaviourList_t
   
typedef std::list< Util::Reference < AbstractNodeBehaviour > > nodeBehaviourList_t
   
typedef std::list< Util::Reference < AbstractStateBehaviour > > stateBehaviourList_t
   
typedef std::multimap< Node *, Util::Reference < AbstractNodeBehaviour > > nodeBehaviourRegistry_t
   
typedef std::multimap< State *, Util::Reference < AbstractStateBehaviour > > stateBehaviourRegistry_t
   
void registerBehaviour( AbstractBehaviour * behavior)
   
void removeBehaviour( AbstractBehaviour * behaviour)
   
void clearBehaviours()
   
void executeBehaviours( Behavior::timestamp_t timeSec)
   
void executeBehaviours( Behavior::timestamp_t timeSec, behaviourList_t & finishedBehaviours)
   
nodeBehaviourList_t getBehavioursByNode( Node * node) const
   
stateBehaviourList_t getBehavioursByState( State * state) const

Behaviors II

   
   
BehaviorStatus * startNodeBehavior( Behavior * void, Node * void)
   
BehaviorStatus * startStateBehavior( Behavior * void, State * void)
   
std::vector< BehaviorStatus * > getActiveBehaviorStatusesByNode( Node * void)
   
std::vector< BehaviorStatus * > getActiveBehaviorStatusesByState( State * void)
   
const std::vector< Util::Reference < BehaviorStatus > > & getActiveBehaviorStatuses() const

Public Functions

   
   
  BehaviourManager()
(ctor)
   
  ~BehaviourManager()
(dtor)

Documentation

typedef
MinSG::BehaviourManager::behaviourList_t

public
 
 
typedef std::list< Util::Reference < AbstractBehaviour > > behaviourList_t

Defined in MinSG/Core/Behaviours/BehaviourManager.h:41


typedef
MinSG::BehaviourManager::nodeBehaviourList_t

public
 
 
typedef std::list< Util::Reference < AbstractNodeBehaviour > > nodeBehaviourList_t

Defined in MinSG/Core/Behaviours/BehaviourManager.h:42


typedef
MinSG::BehaviourManager::stateBehaviourList_t

public
 
 
typedef std::list< Util::Reference < AbstractStateBehaviour > > stateBehaviourList_t

Defined in MinSG/Core/Behaviours/BehaviourManager.h:43


typedef
MinSG::BehaviourManager::nodeBehaviourRegistry_t

public
 
 
typedef std::multimap< Node *, Util::Reference < AbstractNodeBehaviour > > nodeBehaviourRegistry_t

Defined in MinSG/Core/Behaviours/BehaviourManager.h:44


typedef
MinSG::BehaviourManager::stateBehaviourRegistry_t

public
 
 
typedef std::multimap< State *, Util::Reference < AbstractStateBehaviour > > stateBehaviourRegistry_t

Defined in MinSG/Core/Behaviours/BehaviourManager.h:45


function
MinSG::BehaviourManager::registerBehaviour

public
     
     
void registerBehaviour( AbstractBehaviour * behavior )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:47


function
MinSG::BehaviourManager::removeBehaviour

public
     
     
void removeBehaviour( AbstractBehaviour * behaviour )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:48


function
MinSG::BehaviourManager::clearBehaviours

public
   
   
void clearBehaviours( )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:49


function
MinSG::BehaviourManager::executeBehaviours

public
     
     
void executeBehaviours( Behavior::timestamp_t timeSec )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:50


function
MinSG::BehaviourManager::executeBehaviours

public
     
     
void executeBehaviours( Behavior::timestamp_t timeSec,
  behaviourList_t & finishedBehaviours
)    

Defined in MinSG/Core/Behaviours/BehaviourManager.h:51


function
MinSG::BehaviourManager::getBehavioursByNode

public const
     
     
nodeBehaviourList_t getBehavioursByNode( Node * node ) const

Defined in MinSG/Core/Behaviours/BehaviourManager.h:53


function
MinSG::BehaviourManager::getBehavioursByState

public const
     
     
stateBehaviourList_t getBehavioursByState( State * state ) const

Defined in MinSG/Core/Behaviours/BehaviourManager.h:54


function
MinSG::BehaviourManager::startNodeBehavior

public
     
     
BehaviorStatus * startNodeBehavior( Behavior * void,
  Node * void
)    

Defined in MinSG/Core/Behaviours/BehaviourManager.h:76


function
MinSG::BehaviourManager::startStateBehavior

public
     
     
BehaviorStatus * startStateBehavior( Behavior * void,
  State * void
)    

Defined in MinSG/Core/Behaviours/BehaviourManager.h:77


function
MinSG::BehaviourManager::getActiveBehaviorStatusesByNode

public
     
     
std::vector< BehaviorStatus * > getActiveBehaviorStatusesByNode( Node * void )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:78


function
MinSG::BehaviourManager::getActiveBehaviorStatusesByState

public
     
     
std::vector< BehaviorStatus * > getActiveBehaviorStatusesByState( State * void )

Defined in MinSG/Core/Behaviours/BehaviourManager.h:79


function
MinSG::BehaviourManager::getActiveBehaviorStatuses

public const inline
   
   
const std::vector< Util::Reference < BehaviorStatus > > & getActiveBehaviorStatuses( ) const

Defined in MinSG/Core/Behaviours/BehaviourManager.h:80


function
MinSG::BehaviourManager::BehaviourManager

public
   
   
BehaviourManager( )

(ctor)

Defined in MinSG/Core/Behaviours/BehaviourManager.h:31


function
MinSG::BehaviourManager::~BehaviourManager

public
   
   
~BehaviourManager( )

(dtor)

Defined in MinSG/Core/Behaviours/BehaviourManager.h:34