openscenegraph
|
#include <Serializer>
Public Member Functions | |
TemplateSerializer (const char *name, P def) | |
virtual bool | read (InputStream &is, osg::Object &obj)=0 |
virtual bool | write (OutputStream &os, const osg::Object &obj)=0 |
virtual const std::string & | getName () const |
![]() | |
BaseSerializer (int usage) | |
virtual bool | set (osg::Object &, void *) |
virtual bool | get (const osg::Object &, void *) |
virtual IntLookup * | getIntLookup () |
void | setUsage (int usage) |
int | getUsage () const |
void | setUsage (bool hasGetter, bool hasSetter) |
bool | supportsReadWrite () const |
bool | supportsGetSet () const |
bool | supportsGet () const |
bool | supportsSet () const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool) |
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 Attributes | |
std::string | _name |
P | _defaultValue |
![]() | |
int | _firstVersion |
int | _lastVersion |
int | _usage |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
|
inline |
|
inlinevirtual |
Implements osgDB::BaseSerializer.
|
pure virtual |
Implements osgDB::BaseSerializer.
Implemented in osgDB::PropByValSerializer< C, P >, osgDB::PropByRefSerializer< C, P >, osgDB::MatrixSerializer< C >, osgDB::GLenumSerializer< C, P >, osgDB::StringSerializer< C >, osgDB::ImageSerializer< C, P >, osgDB::EnumSerializer< C, P, B >, and osgDB::BitFlagsSerializer< C, P >.
|
pure virtual |
Implements osgDB::BaseSerializer.
Implemented in osgDB::EnumSerializer< C, P, B >, osgDB::BitFlagsSerializer< C, P >, osgDB::PropByValSerializer< C, P >, osgDB::PropByRefSerializer< C, P >, osgDB::MatrixSerializer< C >, osgDB::GLenumSerializer< C, P >, osgDB::StringSerializer< C >, and osgDB::ImageSerializer< C, P >.
|
protected |
|
protected |