OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
osgAnimation::ClearActionVisitor Class Reference

#include <ActionVisitor.h>

Inheritance diagram for osgAnimation::ClearActionVisitor:
Inheritance graph
[legend]
Collaboration diagram for osgAnimation::ClearActionVisitor:
Collaboration graph
[legend]

Public Types

enum  ClearType { BEFORE_FRAME, AFTER_FRAME }
 

Public Member Functions

 META_ActionVisitor (osgAnimation, ClearActionVisitor)
 
 ClearActionVisitor (ClearType type=BEFORE_FRAME)
 
void setFrame (unsigned int frame)
 
void apply (Timeline &action)
 
void apply (Action &action)
 
- Public Member Functions inherited from osgAnimation::ActionVisitor
 META_ActionVisitor (osgAnimation, ActionVisitor)
 
 ActionVisitor ()
 
void traverse (Action &visitor)
 
void pushFrameActionOnStack (const FrameAction &fa)
 
void popFrameAction ()
 
void pushTimelineOnStack (Timeline *tm)
 
void popTimeline ()
 
TimelinegetCurrentTimeline ()
 
void setCurrentLayer (int layer)
 
int getCurrentLayer () const
 
const std::vector< FrameAction > & getStackedFrameAction () const
 
virtual void apply (ActionBlendIn &action)
 
virtual void apply (ActionBlendOut &action)
 
virtual void apply (ActionAnimation &action)
 
virtual void apply (ActionStripAnimation &action)
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Attributes

unsigned int _frame
 
std::vector< osg::ref_ptr
< Action > > 
_remove
 
ClearType _clearType
 
- Protected Attributes inherited from osgAnimation::ActionVisitor
std::vector< FrameAction_stackFrameAction
 
std::vector< Timeline * > _stackTimeline
 
int _currentLayer
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Detailed Description

Definition at line 94 of file ActionVisitor.h.

Member Enumeration Documentation

Enumerator
BEFORE_FRAME 
AFTER_FRAME 

Definition at line 97 of file ActionVisitor.h.

Constructor & Destructor Documentation

osgAnimation::ClearActionVisitor::ClearActionVisitor ( ClearType  type = BEFORE_FRAME)

Member Function Documentation

void osgAnimation::ClearActionVisitor::apply ( Timeline action)
virtual

Reimplemented from osgAnimation::ActionVisitor.

void osgAnimation::ClearActionVisitor::apply ( Action action)
virtual

Reimplemented from osgAnimation::ActionVisitor.

osgAnimation::ClearActionVisitor::META_ActionVisitor ( osgAnimation  ,
ClearActionVisitor   
)
void osgAnimation::ClearActionVisitor::setFrame ( unsigned int  frame)
inline

Definition at line 104 of file ActionVisitor.h.

Member Data Documentation

ClearType osgAnimation::ClearActionVisitor::_clearType
protected

Definition at line 112 of file ActionVisitor.h.

unsigned int osgAnimation::ClearActionVisitor::_frame
protected

Definition at line 110 of file ActionVisitor.h.

std::vector<osg::ref_ptr<Action> > osgAnimation::ClearActionVisitor::_remove
protected

Definition at line 111 of file ActionVisitor.h.


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