OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
osgPresentation::LayerAttributes Struct Reference

#include <SlideEventHandler.h>

Inheritance diagram for osgPresentation::LayerAttributes:
Inheritance graph
[legend]
Collaboration diagram for osgPresentation::LayerAttributes:
Collaboration graph
[legend]

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 (const JumpData &jumpData)
 
const JumpDatagetJumpData () 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
 
JumpData _jumpData
 
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
 

Detailed Description

Definition at line 218 of file SlideEventHandler.h.

Member Typedef Documentation

Definition at line 226 of file SlideEventHandler.h.

Definition at line 253 of file SlideEventHandler.h.

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

Definition at line 227 of file SlideEventHandler.h.

Constructor & Destructor Documentation

osgPresentation::LayerAttributes::LayerAttributes ( )
inline

Definition at line 220 of file SlideEventHandler.h.

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

Definition at line 221 of file SlideEventHandler.h.

Member Function Documentation

void osgPresentation::LayerAttributes::addEnterCallback ( LayerCallback lc)
inline

Definition at line 247 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::addKey ( const KeyPosition kp)
inline

Definition at line 232 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::addLeaveCallback ( LayerCallback lc)
inline

Definition at line 248 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::addRunString ( const std::string &  runString)
inline

Definition at line 237 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::callEnterCallbacks ( osg::Node node)
void osgPresentation::LayerAttributes::callLeaveCallbacks ( osg::Node node)
double osgPresentation::LayerAttributes::getDuration ( ) const
inline

Definition at line 224 of file SlideEventHandler.h.

const JumpData& osgPresentation::LayerAttributes::getJumpData ( ) const
inline

Definition at line 240 of file SlideEventHandler.h.

const Keys& osgPresentation::LayerAttributes::getKeys ( ) const
inline

Definition at line 230 of file SlideEventHandler.h.

const RunStrings& osgPresentation::LayerAttributes::getRunStrings ( ) const
inline

Definition at line 235 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::setDuration ( double  duration)
inline

Definition at line 223 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::setJump ( const JumpData jumpData)
inline

Definition at line 239 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::setKeys ( const Keys keys)
inline

Definition at line 229 of file SlideEventHandler.h.

void osgPresentation::LayerAttributes::setRunStrings ( const RunStrings runStrings)
inline

Definition at line 234 of file SlideEventHandler.h.

Member Data Documentation

double osgPresentation::LayerAttributes::_duration

Definition at line 242 of file SlideEventHandler.h.

LayerCallbacks osgPresentation::LayerAttributes::_enterLayerCallbacks

Definition at line 254 of file SlideEventHandler.h.

JumpData osgPresentation::LayerAttributes::_jumpData

Definition at line 245 of file SlideEventHandler.h.

Keys osgPresentation::LayerAttributes::_keys

Definition at line 243 of file SlideEventHandler.h.

LayerCallbacks osgPresentation::LayerAttributes::_leaveLayerCallbacks

Definition at line 255 of file SlideEventHandler.h.

RunStrings osgPresentation::LayerAttributes::_runStrings

Definition at line 244 of file SlideEventHandler.h.


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