![]() |
OpenSceneGraph
|

Public Types | |
| typedef std::vector< KeyPosition > | Keys |
| 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 Keys & | getKeys () const |
| void | addKey (const KeyPosition &kp) |
| void | setRunStrings (const RunStrings &runStrings) |
| const RunStrings & | getRunStrings () const |
| void | addRunString (const std::string &runString) |
| void | setJump (const JumpData &jumpData) |
| const JumpData & | getJumpData () 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) | |
| Deprecated, Referenced is now always uses thread safe ref/unref, use default Referenced() constructor instead. More... | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool) |
| Deprecated, Referenced is always theadsafe so there method now has no effect and does not need to be called. More... | |
| bool | getThreadSafeRefUnref () const |
| Get whether a mutex is used to ensure ref() and unref() are thread safe. More... | |
| OpenThreads::Mutex * | getRefMutex () const |
| Get the mutex used to ensure thread safety of ref()/unref(). More... | |
| int | ref () const |
| Increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| int | unref () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More... | |
| int | unref_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More... | |
| int | referenceCount () const |
| Return the number of pointers currently referencing this object. More... | |
| ObserverSet * | getObserverSet () const |
| Get the ObserverSet if one is attached, otherwise return NULL. More... | |
| ObserverSet * | getOrCreateObserverSet () const |
| Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. More... | |
| void | addObserver (Observer *observer) const |
| Add a Observer that is observing this object, notify the Observer when this object gets deleted. More... | |
| void | removeObserver (Observer *observer) const |
| Remove Observer that is observing this object. More... | |
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::Mutex * | getGlobalReferencedMutex () |
| Get the optional global Referenced mutex, this can be shared between all osg::Referenced. More... | |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Set a DeleteHandler to which deletion of all referenced counted objects will be delegated. More... | |
| static DeleteHandler * | getDeleteHandler () |
| Get a DeleteHandler. More... | |
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 |
| typedef std::vector<KeyPosition> osgPresentation::LayerAttributes::Keys |
| typedef std::list< osg::ref_ptr<LayerCallback> > osgPresentation::LayerAttributes::LayerCallbacks |
| typedef std::vector<std::string> osgPresentation::LayerAttributes::RunStrings |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osgPresentation::SlideShowConstructor::addKey().
|
inline |
|
inline |
Referenced by osgPresentation::SlideShowConstructor::addRunString().
| void osgPresentation::LayerAttributes::callEnterCallbacks | ( | osg::Node * | node | ) |
| void osgPresentation::LayerAttributes::callLeaveCallbacks | ( | osg::Node * | node | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osgPresentation::SlideShowConstructor::setDuration().
|
inline |
Referenced by osgPresentation::SlideShowConstructor::setJump().
|
inline |
|
inline |
| double osgPresentation::LayerAttributes::_duration |
| LayerCallbacks osgPresentation::LayerAttributes::_enterLayerCallbacks |
| JumpData osgPresentation::LayerAttributes::_jumpData |
| Keys osgPresentation::LayerAttributes::_keys |
| LayerCallbacks osgPresentation::LayerAttributes::_leaveLayerCallbacks |
| RunStrings osgPresentation::LayerAttributes::_runStrings |
1.8.13