OSG
3.4.0
|
#include <LineOfSight.h>
Public Member Functions | |
DatabaseCacheReadCallback () | |
void | setMaximumNumOfFilesToCache (unsigned int maxNumFilesToCache) |
unsigned int | getMaximumNumOfFilesToCache () const |
void | clearDatabaseCache () |
void | pruneUnusedDatabaseCache () |
virtual osg::Node * | readNodeFile (const std::string &filename) |
![]() | |
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 Types | |
typedef std::map< std::string, osg::ref_ptr< osg::Node > > | FileNameSceneMap |
Protected Attributes | |
unsigned int | _maxNumFilesToCache |
OpenThreads::Mutex | _mutex |
FileNameSceneMap | _filenameSceneMap |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Definition at line 23 of file LineOfSight.h.
|
protected |
Definition at line 39 of file LineOfSight.h.
osgSim::DatabaseCacheReadCallback::DatabaseCacheReadCallback | ( | ) |
void osgSim::DatabaseCacheReadCallback::clearDatabaseCache | ( | ) |
|
inline |
Definition at line 29 of file LineOfSight.h.
void osgSim::DatabaseCacheReadCallback::pruneUnusedDatabaseCache | ( | ) |
|
virtual |
Implements osgUtil::IntersectionVisitor::ReadCallback.
|
inline |
Definition at line 28 of file LineOfSight.h.
|
protected |
Definition at line 43 of file LineOfSight.h.
|
protected |
Definition at line 41 of file LineOfSight.h.
|
protected |
Definition at line 42 of file LineOfSight.h.