openscenegraph
Public Types | Public Member Functions | Public Attributes | List of all members
osgPresentation::LayerAttributes Struct Reference
Inheritance diagram for osgPresentation::LayerAttributes:
osg::Referenced

Public Types

typedef std::vector< KeyPositionKeys
typedef std::vector< std::string > RunStrings
typedef std::list
< osg::ref_ptr< LayerCallback > > 
LayerCallbacks

Public Member Functions

 LayerAttributes ()
 LayerAttributes (double in_duration)
void setDuration (double duration)
double getDuration () const
void setKeys (const Keys &keys)
const KeysgetKeys () const
void addKey (const KeyPosition &kp)
void setRunStrings (const RunStrings &runStrings)
const RunStringsgetRunStrings () const
void addRunString (const std::string &runString)
void setJump (bool relativeJump, int slideNum, int layerNum)
bool getRelativeJump () const
int getSlideNum () const
int getLayerNum () const
bool requiresJump () const
void addEnterCallback (LayerCallback *lc)
void addLeaveCallback (LayerCallback *lc)
void callEnterCallbacks (osg::Node *node)
void callLeaveCallbacks (osg::Node *node)
- 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

Public Attributes

double _duration
Keys _keys
RunStrings _runStrings
bool _relativeJump
int _slideNum
int _layerNum
LayerCallbacks _enterLayerCallbacks
LayerCallbacks _leaveLayerCallbacks

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
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
OpenThreads::Atomic _refCount

Member Typedef Documentation

typedef std::vector<std::string> osgPresentation::LayerAttributes::RunStrings

Constructor & Destructor Documentation

osgPresentation::LayerAttributes::LayerAttributes ( )
inline
osgPresentation::LayerAttributes::LayerAttributes ( double  in_duration)
inline

Member Function Documentation

void osgPresentation::LayerAttributes::addEnterCallback ( LayerCallback lc)
inline
void osgPresentation::LayerAttributes::addKey ( const KeyPosition kp)
inline
void osgPresentation::LayerAttributes::addLeaveCallback ( LayerCallback lc)
inline
void osgPresentation::LayerAttributes::addRunString ( const std::string &  runString)
inline
void osgPresentation::LayerAttributes::callEnterCallbacks ( osg::Node node)
void osgPresentation::LayerAttributes::callLeaveCallbacks ( osg::Node node)
double osgPresentation::LayerAttributes::getDuration ( ) const
inline
const Keys& osgPresentation::LayerAttributes::getKeys ( ) const
inline
int osgPresentation::LayerAttributes::getLayerNum ( ) const
inline
bool osgPresentation::LayerAttributes::getRelativeJump ( ) const
inline
const RunStrings& osgPresentation::LayerAttributes::getRunStrings ( ) const
inline
int osgPresentation::LayerAttributes::getSlideNum ( ) const
inline
bool osgPresentation::LayerAttributes::requiresJump ( ) const
inline
void osgPresentation::LayerAttributes::setDuration ( double  duration)
inline
void osgPresentation::LayerAttributes::setJump ( bool  relativeJump,
int  slideNum,
int  layerNum 
)
inline
void osgPresentation::LayerAttributes::setKeys ( const Keys keys)
inline
void osgPresentation::LayerAttributes::setRunStrings ( const RunStrings runStrings)
inline

Member Data Documentation

double osgPresentation::LayerAttributes::_duration
LayerCallbacks osgPresentation::LayerAttributes::_enterLayerCallbacks
Keys osgPresentation::LayerAttributes::_keys
int osgPresentation::LayerAttributes::_layerNum
LayerCallbacks osgPresentation::LayerAttributes::_leaveLayerCallbacks
bool osgPresentation::LayerAttributes::_relativeJump
RunStrings osgPresentation::LayerAttributes::_runStrings
int osgPresentation::LayerAttributes::_slideNum

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