OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
osgDB::FileLocationCallback Class Referenceabstract

#include <Callbacks.h>

Inheritance diagram for osgDB::FileLocationCallback:
Inheritance graph
[legend]
Collaboration diagram for osgDB::FileLocationCallback:
Collaboration graph
[legend]

Public Types

enum  Location { LOCAL_FILE, REMOTE_FILE }
 

Public Member Functions

virtual Location fileLocation (const std::string &filename, const Options *options)=0
 
virtual bool useFileCache () const =0
 
- 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
 

Protected Member Functions

virtual ~FileLocationCallback ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

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 Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Detailed Description

Definition at line 94 of file Callbacks.h.

Member Enumeration Documentation

Enumerator
LOCAL_FILE 
REMOTE_FILE 

Definition at line 98 of file Callbacks.h.

Constructor & Destructor Documentation

virtual osgDB::FileLocationCallback::~FileLocationCallback ( )
inlineprotectedvirtual

Definition at line 109 of file Callbacks.h.

Member Function Documentation

virtual Location osgDB::FileLocationCallback::fileLocation ( const std::string &  filename,
const Options options 
)
pure virtual
virtual bool osgDB::FileLocationCallback::useFileCache ( ) const
pure virtual

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