osg::NewActionBase Class Reference

#include <OSGNewActionBase.h>

Inheritance diagram for osg::NewActionBase:

osg::DepthFirstAction osg::DepthFirstStateAction osg::PriorityAction

List of all members.

Statistics



static StatElemDesc< StatIntElemstatNodesEnter
static StatElemDesc< StatIntElemstatNodesLeave
const StatCollectorgetStatistics (void) const
StatCollectorgetStatistics (void)
void setStatistics (StatCollector *pStatistics)

Public Types

Types


typedef NewActionTypes::ResultE ResultE
typedef
NewActionTypes::PriorityType 
PriorityType
typedef
NewActionTypes::PriorityTypeTraits 
PriorityTypeTraits
typedef NewActionTypes::Functor Functor
typedef
NewActionTypes::FunctorArgumentType 
FunctorArgumentType

Public Member Functions

Destructor


virtual ~NewActionBase (void)
Apply


virtual ResultE apply (NodePtr pRoot)=0
Generic Actor Management


UInt32 addActor (ActorBase *pActor)
void subActor (ActorBase *pActor)
UInt32 findActor (ActorBase *pActor) const
UInt32 getNumActors (void) const
Extend Actor Management


UInt32 addExtendActor (ExtendActorBase *pActor)
UInt32 addExtendActor (ExtendActorBase *pActor, UInt32 pos)
void subExtendActor (UInt32 pos)
UInt32 findExtendActor (ExtendActorBase *pActor) const
UInt32 getNumExtendActors (void) const
Basic Actor Management


UInt32 addBasicActor (BasicActorBase *pActor)
UInt32 addBasicActor (BasicActorBase *pActor, UInt32 pos)
void subBasicActor (UInt32 pos)
UInt32 findBasicActor (BasicActorBase *pActor) const
UInt32 getNumBasicActors (void) const
Traversal Mask


UInt32 getTravMask (void) const
void setTravMask (UInt32 travMask)

Protected Types

Types


typedef std::vector
< ExtendActorBase * > 
ExtendActorStore
typedef ExtendActorStore::iterator ExtendActorStoreIt
typedef
ExtendActorStore::const_iterator 
ExtendActorStoreConstIt
typedef std::vector
< BasicActorBase * > 
BasicActorStore
typedef BasicActorStore::iterator BasicActorStoreIt
typedef
BasicActorStore::const_iterator 
BasicActorStoreConstIt

Protected Member Functions

Constructor


 NewActionBase (void)
Events


virtual void addExtendEvent (ExtendActorBase *pActor, UInt32 actorIndex)=0
virtual void subExtendEvent (ExtendActorBase *pActor, UInt32 actorIndex)=0
virtual void addBasicEvent (BasicActorBase *pActor, UInt32 actorIndex)=0
virtual void subBasicEvent (BasicActorBase *pActor, UInt32 actorIndex)=0
virtual void startEvent (void)
virtual void stopEvent (void)
virtual void beginEditStateEvent (ActorBase *pActor, UInt32 actorId)=0
virtual void endEditStateEvent (ActorBase *pActor, UInt32 actorId)=0
ChildrenList/ExtraChildrenList Access


bool getChildrenListEnabled (void) const
void setChildrenListEnabled (bool enabled)
const ChildrenListgetChildrenList (void) const
ChildrenListgetChildrenList (void)
const ExtraChildrenListgetExtraChildrenList (void) const
ExtraChildrenListgetExtraChildrenList (void)
MultiPass Setup


UInt32 getNumPasses (void) const
void setNumPasses (UInt32 numPasses)
Actor Access


ExtendActorStoreConstIt beginExtend (void) const
ExtendActorStoreIt beginExtend (void)
ExtendActorStoreConstIt endExtend (void) const
ExtendActorStoreIt endExtend (void)
BasicActorStoreConstIt beginBasic (void) const
BasicActorStoreIt beginBasic (void)
BasicActorStoreConstIt endBasic (void) const
BasicActorStoreIt endBasic (void)
ResultE startActors (void)
ResultE stopActors (void)

Private Attributes

ExtendActorStore _extendActors
BasicActorStore _basicActors
StatCollector_pStatistics
bool _ownStatistics
UInt32 _travMask
UInt32 _numPasses
bool _childrenListEnabled
ChildrenList _childrenList
ExtraChildrenList _extraChildrenList

Friends

Friends


class osg::ActorBase
class osg::ExtendActorBase
class osg::BasicActorBase


Detailed Description

Definition at line 63 of file OSGNewActionBase.h.


Member Typedef Documentation

Definition at line 71 of file OSGNewActionBase.h.

Definition at line 72 of file OSGNewActionBase.h.

Definition at line 73 of file OSGNewActionBase.h.

Definition at line 74 of file OSGNewActionBase.h.

Definition at line 75 of file OSGNewActionBase.h.

typedef std::vector<ExtendActorBase *> osg::NewActionBase::ExtendActorStore [protected]

Definition at line 155 of file OSGNewActionBase.h.

typedef ExtendActorStore::iterator osg::NewActionBase::ExtendActorStoreIt [protected]

Definition at line 156 of file OSGNewActionBase.h.

typedef ExtendActorStore::const_iterator osg::NewActionBase::ExtendActorStoreConstIt [protected]

Definition at line 157 of file OSGNewActionBase.h.

typedef std::vector<BasicActorBase *> osg::NewActionBase::BasicActorStore [protected]

Definition at line 159 of file OSGNewActionBase.h.

typedef BasicActorStore::iterator osg::NewActionBase::BasicActorStoreIt [protected]

Definition at line 160 of file OSGNewActionBase.h.

typedef BasicActorStore::const_iterator osg::NewActionBase::BasicActorStoreConstIt [protected]

Definition at line 161 of file OSGNewActionBase.h.


Constructor & Destructor Documentation

NewActionBase::~NewActionBase ( void   )  [virtual]

Destructor.

Definition at line 122 of file OSGNewActionBase.cpp.

00123 {
00124 }

NewActionBase::NewActionBase ( void   )  [protected]

Definition at line 365 of file OSGNewActionBase.cpp.

00366     : _extendActors       (                           ),
00367       _basicActors        (                           ),
00368 #ifdef OSG_NEWACTION_STATISTICS
00369       _pStatistics        (NULL                       ),
00370       _ownStatistics      (false                      ),
00371 #endif /* OSG_NEWACTION_STATISTICS */
00372       _travMask           (TypeTraits<UInt32>::BitsSet),
00373       _numPasses          (1                          ),
00374       _childrenListEnabled(false                      ),
00375       _childrenList       (                           ),
00376       _extraChildrenList  (                           )
00377 {
00378 }


Member Function Documentation

const StatCollector* osg::NewActionBase::getStatistics ( void   )  const [inline]

StatCollector* osg::NewActionBase::getStatistics ( void   )  [inline]

void osg::NewActionBase::setStatistics ( StatCollector pStatistics  )  [inline]

virtual ResultE osg::NewActionBase::apply ( NodePtr  pRoot  )  [pure virtual]

UInt32 NewActionBase::addActor ( ActorBase pActor  ) 

Add an actor to this action, it will be appended to the list of extend or basic actors. Returns the index at which the actor was added.

Warning:
Actions assume exclusive ownership of an actor, you can not add an actor to two actions at the same time.

Definition at line 144 of file OSGNewActionBase.cpp.

References osg::ActorBase::addHelper().

00145 {
00146     return pActor->addHelper(this);
00147 }

void NewActionBase::subActor ( ActorBase pActor  ) 

Remove an actor from this action. The actor may now be attached to another action.

Definition at line 159 of file OSGNewActionBase.cpp.

References osg::ActorBase::subHelper().

00160 {
00161     pActor->subHelper(this);
00162 }

UInt32 NewActionBase::findActor ( ActorBase pActor  )  const

Return the index of an actor or TypeTraits<UInt32>::getMax() if the actor can not be found. Note that two actors may have the same index, if one is derived from ExtendActorBase and the other from BasicActorBase.

Definition at line 177 of file OSGNewActionBase.cpp.

References osg::ActorBase::findHelper().

00178 {
00179     return pActor->findHelper(this);
00180 }

UInt32 NewActionBase::getNumActors ( void   )  const

Return the total number of actors attached to this action.

Definition at line 186 of file OSGNewActionBase.cpp.

References _basicActors, and _extendActors.

Referenced by addBasicActor(), and addExtendActor().

00187 {
00188     return _extendActors.size() + _basicActors.size();
00189 }

UInt32 NewActionBase::addExtendActor ( ExtendActorBase pActor  ) 

Add an extend actor to this action. Returns the index at which the actor was added.

Warning:
Actions assume exclusive ownership of an actor, you can not add an actor to two actions at the same time.

Definition at line 202 of file OSGNewActionBase.cpp.

References _extendActors.

Referenced by osg::ExtendActorBase::addHelper().

00203 {
00204     return addExtendActor(pActor, _extendActors.size());
00205 }

UInt32 NewActionBase::addExtendActor ( ExtendActorBase pActor,
UInt32  pos 
)

Add an extend actor to this action before the index pos. Returns the index at which the actor was added, i.e. this should be pos.

Warning:
Actions assume exclusive ownership of an actor, you can not add an actor to two actions at the same time.

Definition at line 214 of file OSGNewActionBase.cpp.

References _extendActors, osg::ActorBase::addEvent(), and getNumActors().

00215 {
00216     UInt32 actorId = getNumActors();
00217 
00218     pActor       ->addEvent      (this,                        actorId);
00219     _extendActors. insert        (_extendActors.begin() + pos, pActor );
00220     this         ->addExtendEvent(pActor,                      pos    );
00221 
00222     return pos;
00223 }

void NewActionBase::subExtendActor ( UInt32  pos  ) 

Remove the extend actor at index pos. The actor may now be attached to another action.

Definition at line 230 of file OSGNewActionBase.cpp.

References _extendActors, osg::ActorBase::getActorId(), and osg::ActorBase::subEvent().

Referenced by osg::ExtendActorBase::subHelper().

00231 {
00232     ExtendActorStoreIt  itActor = _extendActors.begin() + pos;
00233     ExtendActorBase    *pActor  = *itActor;
00234 
00235     this  ->subExtendEvent(pActor, pos                 );
00236     pActor->subEvent      (this,   pActor->getActorId());
00237 
00238     _extendActors.erase(itActor);
00239 }

UInt32 NewActionBase::findExtendActor ( ExtendActorBase pActor  )  const

Return the index of the extend actor or TypeTraits<UInt32>::getMax() if the actor is not found. The return value may be used as the pos argument to the addExtendActor and subExtendActor methods.

Definition at line 247 of file OSGNewActionBase.cpp.

References _extendActors.

Referenced by osg::ExtendActorBase::findHelper(), and osg::ExtendActorBase::subHelper().

00248 {
00249     ExtendActorStoreConstIt itActors  = _extendActors.begin();
00250     ExtendActorStoreConstIt endActors = _extendActors.end  ();
00251 
00252     UInt32             pos       = 0;
00253     bool               found     = false;
00254 
00255     for(; (itActors != endActors) && !found; ++itActors, ++pos)
00256     {
00257         if(*itActors == pActor)
00258         {
00259             found = true;
00260             break;
00261         }
00262     }
00263 
00264     return (found ? pos : TypeTraits<UInt32>::getMax());
00265 }

UInt32 NewActionBase::getNumExtendActors ( void   )  const

Return the number of extend actors attached to the action.

Definition at line 271 of file OSGNewActionBase.cpp.

References _extendActors.

00272 {
00273     return _extendActors.size();
00274 }

UInt32 NewActionBase::addBasicActor ( BasicActorBase pActor  ) 

Add an basic actor to this action. Returns the index at which the actor was added.

Warning:
Actions assume exclusive ownership of an actor, you can not add an actor to two actions at the same time.

Definition at line 287 of file OSGNewActionBase.cpp.

References _basicActors.

Referenced by osg::BasicActorBase::addHelper().

00288 {
00289     return addBasicActor(pActor, _basicActors.size());
00290 }

UInt32 NewActionBase::addBasicActor ( BasicActorBase pActor,
UInt32  pos 
)

Add an basic actor to this action before the index pos. Returns the index at which the actor was added, i.e. this should be pos.

Warning:
Actions assume exclusive ownership of an actor, you can not add an actor to two actions at the same time.

Definition at line 299 of file OSGNewActionBase.cpp.

References _basicActors, osg::ActorBase::addEvent(), and getNumActors().

00300 {
00301     UInt32 actorId = getNumActors();
00302 
00303     pActor      ->addEvent     (this,                       actorId);
00304     _basicActors. insert       (_basicActors.begin() + pos, pActor );
00305     this        ->addBasicEvent(pActor,                     pos    );
00306 
00307     return pos;
00308 }

void NewActionBase::subBasicActor ( UInt32  pos  ) 

Remove the basic actor at index pos. The actor may now be attached to another action.

Definition at line 315 of file OSGNewActionBase.cpp.

References _basicActors, osg::ActorBase::getActorId(), and osg::ActorBase::subEvent().

Referenced by osg::BasicActorBase::subHelper().

00316 {
00317     BasicActorStoreIt  itActor = _basicActors.begin() + pos;
00318     BasicActorBase    *pActor  = *itActor;
00319 
00320     this  ->subBasicEvent(pActor, pos                 );
00321     pActor->subEvent     (this,   pActor->getActorId());
00322 
00323     _basicActors.erase(itActor);
00324 }

UInt32 NewActionBase::findBasicActor ( BasicActorBase pActor  )  const

Return the index of the basic actor or TypeTraits<UInt32>::getMax() if the actor is not found. The return value may be used as the pos argument to the addBasicActor and subBasicActor methods.

Definition at line 332 of file OSGNewActionBase.cpp.

References _basicActors.

Referenced by osg::BasicActorBase::findHelper(), and osg::BasicActorBase::subHelper().

00333 {
00334     BasicActorStoreConstIt itActors  = _basicActors.begin();
00335     BasicActorStoreConstIt endActors = _basicActors.end  ();
00336 
00337     UInt32            pos       = 0;
00338     bool              found     = false;
00339 
00340     for(; (itActors != endActors) && !found; ++itActors, ++pos)
00341     {
00342         if(*itActors == pActor)
00343         {
00344             found = true;
00345             break;
00346         }
00347     }
00348 
00349     return (found ? pos : TypeTraits<UInt32>::getMax());
00350 }

UInt32 NewActionBase::getNumBasicActors ( void   )  const

Return the number of basic actors attached to the action.

Definition at line 356 of file OSGNewActionBase.cpp.

References _basicActors.

00357 {
00358     return _basicActors.size();
00359 }

UInt32 osg::NewActionBase::getTravMask ( void   )  const [inline]

Return the traversal mask of this action. The action will only traverse a node if the bitwise AND of its traversal mask with the actions is nonzero.

Definition at line 76 of file OSGNewActionBase.inl.

References _travMask.

Referenced by osg::PriorityAction::enqueueChildren(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren().

00077 {
00078     return _travMask;
00079 }

void osg::NewActionBase::setTravMask ( UInt32  travMask  )  [inline]

Set the actions traversal maks. The action will only traverse a node if the bitwise AND of its traversal mask with the actions is nonzero.

Definition at line 86 of file OSGNewActionBase.inl.

References _travMask.

00087 {
00088     _travMask = travMask;
00089 }

void osg::NewActionBase::addExtendEvent ( ExtendActorBase pActor,
UInt32  actorIndex 
) [protected, pure virtual]

This method is called whenever an extend actor is added to the action. It can be used by derived classes to organize the actors more efficiently.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

void osg::NewActionBase::subExtendEvent ( ExtendActorBase pActor,
UInt32  actorIndex 
) [protected, pure virtual]

This method is called whenever an extend actor is removed from the action. It can be used by derived classes to organize the actors more efficiently.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

void osg::NewActionBase::addBasicEvent ( BasicActorBase pActor,
UInt32  actorIndex 
) [protected, pure virtual]

This method is called whenever an basic actor is added to the action. It can be used by derived classes to organize the actors more efficiently.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

void osg::NewActionBase::subBasicEvent ( BasicActorBase pActor,
UInt32  actorIndex 
) [protected, pure virtual]

This method is called whenever an basic actor is removed from the action. It can be used by derived classes to organize the actors more efficiently.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

void NewActionBase::startEvent ( void   )  [protected, virtual]

Called before the actors are started. When overriding this method the inherited version must be called.

Reimplemented in osg::DepthFirstStateAction, and osg::PriorityAction.

Definition at line 389 of file OSGNewActionBase.cpp.

References _ownStatistics, _pStatistics, osg::StatCollector::create(), osg::StatCollector::getElem(), getStatistics(), osg::StatElem::reset(), statNodesEnter, and statNodesLeave.

Referenced by osg::DepthFirstAction::apply(), osg::PriorityAction::startEvent(), and osg::DepthFirstStateAction::startEvent().

00390 {
00391 #ifdef OSG_NEWACTION_STATISTICS
00392     if(_pStatistics == NULL)
00393     {
00394         _pStatistics   = StatCollector::create();
00395         _ownStatistics = true;
00396     }
00397     else
00398     {
00399         _ownStatistics = false;
00400     }
00401 
00402     getStatistics()->getElem(statNodesEnter)->reset();
00403     getStatistics()->getElem(statNodesLeave)->reset();
00404 #endif /* OSG_NEWACTION_STATISTICS */
00405 }

void NewActionBase::stopEvent ( void   )  [protected, virtual]

Called after the actors are stopped. When overriding this method the inherited version must be called.

Reimplemented in osg::DepthFirstStateAction, and osg::PriorityAction.

Definition at line 412 of file OSGNewActionBase.cpp.

References _ownStatistics, and _pStatistics.

Referenced by osg::DepthFirstAction::apply(), osg::PriorityAction::stopEvent(), and osg::DepthFirstStateAction::stopEvent().

00413 {
00414 #ifdef OSG_NEWACTION_STATISTICS
00415     if(_ownStatistics == true)
00416     {
00417         delete _pStatistics;
00418         _pStatistics = NULL;
00419     }
00420 #endif /* OSG_NEWACTION_STATISTICS */
00421 }

void osg::NewActionBase::beginEditStateEvent ( ActorBase pActor,
UInt32  actorId 
) [protected, pure virtual]

This method is called whenever ActorBase::beginEditState(void) is called, i.e. before an actor is about to modify its state.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

Referenced by osg::ActorBase::beginEditState().

void osg::NewActionBase::endEditStateEvent ( ActorBase pActor,
UInt32  actorId 
) [protected, pure virtual]

This method is called whenever ActorBase::endEditState(void) is called, i.e. after an actor is done modifying its state.

Implemented in osg::DepthFirstAction, osg::DepthFirstStateAction, and osg::PriorityAction.

Referenced by osg::ActorBase::endEditState().

bool osg::NewActionBase::getChildrenListEnabled ( void   )  const [inline, protected]

void osg::NewActionBase::setChildrenListEnabled ( bool  enabled  )  [inline, protected]

Enable or disable the children list.

Definition at line 115 of file OSGNewActionBase.inl.

References _childrenList, _childrenListEnabled, and osg::ChildrenList::reset().

Referenced by osg::PriorityAction::enqueueChildren(), osg::DepthFirstStateAction::pushChildren(), osg::DepthFirstAction::pushChildren(), and osg::ActorBase::setChildrenListEnabled().

00116 {
00117     if((enabled == true) && (_childrenListEnabled == false))
00118     {
00119         _childrenList.reset();
00120     }
00121 
00122     _childrenListEnabled = enabled;
00123 }

const ChildrenList & osg::NewActionBase::getChildrenList ( void   )  const [inline, protected]

ChildrenList & osg::NewActionBase::getChildrenList ( void   )  [inline, protected]

Return a reference to the children list.

Definition at line 148 of file OSGNewActionBase.inl.

References _childrenList.

00149 {
00150     return _childrenList;
00151 }

const ExtraChildrenList & osg::NewActionBase::getExtraChildrenList ( void   )  const [inline, protected]

ExtraChildrenList & osg::NewActionBase::getExtraChildrenList ( void   )  [inline, protected]

Return a reference to the children list.

Definition at line 176 of file OSGNewActionBase.inl.

References _extraChildrenList.

00177 {
00178     return _extraChildrenList;
00179 }

UInt32 osg::NewActionBase::getNumPasses ( void   )  const [inline, protected]

void osg::NewActionBase::setNumPasses ( UInt32  numPasses  )  [inline, protected]

NewActionBase::ExtendActorStoreConstIt osg::NewActionBase::beginExtend ( void   )  const [inline, protected]

NewActionBase::ExtendActorStoreIt osg::NewActionBase::beginExtend ( void   )  [inline, protected]

Return an iterator to the beginning of the extend actors.

Definition at line 214 of file OSGNewActionBase.inl.

References _extendActors.

00215 {
00216     return _extendActors.begin();
00217 }

NewActionBase::ExtendActorStoreConstIt osg::NewActionBase::endExtend ( void   )  const [inline, protected]

NewActionBase::ExtendActorStoreIt osg::NewActionBase::endExtend ( void   )  [inline, protected]

Return an iterator to the end of the extend actors.

Definition at line 232 of file OSGNewActionBase.inl.

References _extendActors.

00233 {
00234     return _extendActors.end();
00235 }

NewActionBase::BasicActorStoreConstIt osg::NewActionBase::beginBasic ( void   )  const [inline, protected]

NewActionBase::BasicActorStoreIt osg::NewActionBase::beginBasic ( void   )  [inline, protected]

Return an iterator to the beginning of the basic actors.

Definition at line 250 of file OSGNewActionBase.inl.

References _basicActors.

00251 {
00252     return _basicActors.begin();
00253 }

NewActionBase::BasicActorStoreConstIt osg::NewActionBase::endBasic ( void   )  const [inline, protected]

NewActionBase::BasicActorStoreIt osg::NewActionBase::endBasic ( void   )  [inline, protected]

Return an iterator to the end of the basic actors.

Definition at line 268 of file OSGNewActionBase.inl.

References _basicActors.

00269 {
00270     return _basicActors.end();
00271 }

NewActionBase::ResultE NewActionBase::startActors ( void   )  [protected]

Return a const iterator to the beginning of the extend actors.

Definition at line 428 of file OSGNewActionBase.cpp.

References beginBasic(), beginExtend(), osg::NewActionTypes::Continue, endBasic(), endExtend(), and osg::NewActionTypes::Quit.

Referenced by osg::PriorityAction::apply(), osg::DepthFirstStateAction::apply(), and osg::DepthFirstAction::apply().

00429 {
00430     ResultE            result      = NewActionTypes::Continue;
00431 
00432     ExtendActorStoreIt itExtend    = beginExtend();
00433     ExtendActorStoreIt endItExtend = endExtend  ();
00434 
00435     for(; (itExtend != endItExtend         ) &&
00436          !(result   &  NewActionTypes::Quit);    ++itExtend)
00437     {
00438         result = (*itExtend)->start();
00439     }
00440 
00441     BasicActorStoreIt itBasic    = beginBasic();
00442     BasicActorStoreIt endItBasic = endBasic  ();
00443 
00444     for(;  (itBasic != endItBasic          ) &&
00445           !(result  &  NewActionTypes::Quit);    ++itBasic)
00446     {
00447         result = (*itBasic)->start();
00448     }
00449 
00450     return result;
00451 }

NewActionBase::ResultE NewActionBase::stopActors ( void   )  [protected]

Return a const iterator to the beginning of the extend actors.

Definition at line 454 of file OSGNewActionBase.cpp.

References beginBasic(), beginExtend(), osg::NewActionTypes::Continue, endBasic(), endExtend(), and osg::NewActionTypes::Quit.

Referenced by osg::PriorityAction::apply(), osg::DepthFirstStateAction::apply(), and osg::DepthFirstAction::apply().

00455 {
00456     ResultE            result      = NewActionTypes::Continue;
00457 
00458     ExtendActorStoreIt itExtend    = beginExtend();
00459     ExtendActorStoreIt endItExtend = endExtend  ();
00460 
00461     for(; (itExtend != endItExtend         ) &&
00462          !(result   &  NewActionTypes::Quit);    ++itExtend)
00463     {
00464         result = (*itExtend)->stop();
00465     }
00466 
00467     BasicActorStoreIt itBasic    = beginBasic();
00468     BasicActorStoreIt endItBasic = endBasic  ();
00469 
00470     for(;  (itBasic != endItBasic          ) &&
00471           !(result  &  NewActionTypes::Quit);    ++itBasic)
00472     {
00473         result = (*itBasic)->stop();
00474     }
00475 
00476     return result;
00477 }


Friends And Related Function Documentation

friend class osg::ActorBase [friend]

Definition at line 168 of file OSGNewActionBase.h.

friend class osg::ExtendActorBase [friend]

Definition at line 169 of file OSGNewActionBase.h.

friend class osg::BasicActorBase [friend]

Definition at line 170 of file OSGNewActionBase.h.


Member Data Documentation

Definition at line 249 of file OSGNewActionBase.h.

Referenced by startEvent(), and stopEvent().

Definition at line 250 of file OSGNewActionBase.h.

Referenced by startEvent(), and stopEvent().

Definition at line 253 of file OSGNewActionBase.h.

Referenced by getTravMask(), and setTravMask().

Definition at line 254 of file OSGNewActionBase.h.

Referenced by getNumPasses(), and setNumPasses().

Definition at line 256 of file OSGNewActionBase.h.

Referenced by getChildrenListEnabled(), and setChildrenListEnabled().

Definition at line 257 of file OSGNewActionBase.h.

Referenced by getChildrenList(), and setChildrenListEnabled().

Definition at line 259 of file OSGNewActionBase.h.

Referenced by getExtraChildrenList().


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

Generated on Mon Mar 17 11:25:36 2008 for OpenSG by  doxygen 1.5.5