|
OSG
3.4.0
|
#include <DotOsgWrapper.h>


Public Types | |
| enum | ReadWriteMode { READ_AND_WRITE, READ_ONLY } |
| typedef std::vector< std::string > | Associates |
| typedef bool(* | ReadFunc )(osg::Object &, osgDB::Input &) |
| typedef bool(* | WriteFunc )(const osg::Object &, osgDB::Output &) |
Public Member Functions | |
| DotOsgWrapper (osg::Object *proto, const std::string &name, const std::string &associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE) | |
| const osg::Object * | getPrototype () const |
| const std::string & | getName () const |
| const Associates & | getAssociates () const |
| ReadFunc | getReadFunc () const |
| WriteFunc | getWriteFunc () const |
| ReadWriteMode | getReadWriteMode () const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Protected Member Functions | |
| DotOsgWrapper () | |
| protected to prevent inappropriate creation of wrappers. More... | |
| DotOsgWrapper (DotOsgWrapper &) | |
| protected to prevent inappropriate creation of wrappers. More... | |
| virtual | ~DotOsgWrapper () |
| protected to prevent wrapper being created on stack. More... | |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| osg::ref_ptr< osg::Object > | _prototype |
| std::string | _name |
| Associates | _associates |
| ReadFunc | _readFunc |
| WriteFunc | _writeFunc |
| ReadWriteMode | _readWriteMode |
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::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
deprecated.
Definition at line 30 of file DotOsgWrapper.h.
| typedef std::vector<std::string> osgDB::DotOsgWrapper::Associates |
Definition at line 34 of file DotOsgWrapper.h.
| typedef bool(* osgDB::DotOsgWrapper::ReadFunc)(osg::Object &, osgDB::Input &) |
Definition at line 35 of file DotOsgWrapper.h.
| typedef bool(* osgDB::DotOsgWrapper::WriteFunc)(const osg::Object &, osgDB::Output &) |
Definition at line 36 of file DotOsgWrapper.h.
| Enumerator | |
|---|---|
| READ_AND_WRITE | |
| READ_ONLY | |
Definition at line 38 of file DotOsgWrapper.h.
| osgDB::DotOsgWrapper::DotOsgWrapper | ( | osg::Object * | proto, |
| const std::string & | name, | ||
| const std::string & | associates, | ||
| ReadFunc | readFunc, | ||
| WriteFunc | writeFunc, | ||
| ReadWriteMode | readWriteMode = READ_AND_WRITE |
||
| ) |
|
inlineprotected |
protected to prevent inappropriate creation of wrappers.
Definition at line 62 of file DotOsgWrapper.h.
|
inlineprotected |
protected to prevent inappropriate creation of wrappers.
Definition at line 65 of file DotOsgWrapper.h.
|
inlineprotectedvirtual |
protected to prevent wrapper being created on stack.
Definition at line 68 of file DotOsgWrapper.h.
|
inline |
Definition at line 54 of file DotOsgWrapper.h.
|
inline |
Definition at line 53 of file DotOsgWrapper.h.
|
inline |
Definition at line 52 of file DotOsgWrapper.h.
|
inline |
Definition at line 55 of file DotOsgWrapper.h.
|
inline |
Definition at line 57 of file DotOsgWrapper.h.
|
inline |
Definition at line 56 of file DotOsgWrapper.h.
|
protected |
Definition at line 73 of file DotOsgWrapper.h.
|
protected |
Definition at line 72 of file DotOsgWrapper.h.
|
protected |
Definition at line 70 of file DotOsgWrapper.h.
|
protected |
Definition at line 75 of file DotOsgWrapper.h.
|
protected |
Definition at line 78 of file DotOsgWrapper.h.
|
protected |
Definition at line 76 of file DotOsgWrapper.h.
1.8.8