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

#include <ObjectWrapper.h>

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

Public Member Functions

 BaseCompressor ()
 
void setName (const std::string &name)
 
const std::string & getName () const
 
virtual bool compress (std::ostream &, const std::string &)=0
 
virtual bool decompress (std::istream &, std::string &)=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 Attributes

std::string _name
 
- 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::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Detailed Description

Definition at line 34 of file ObjectWrapper.h.

Constructor & Destructor Documentation

osgDB::BaseCompressor::BaseCompressor ( )
inline

Definition at line 37 of file ObjectWrapper.h.

Member Function Documentation

virtual bool osgDB::BaseCompressor::compress ( std::ostream &  ,
const std::string &   
)
pure virtual
virtual bool osgDB::BaseCompressor::decompress ( std::istream &  ,
std::string &   
)
pure virtual
const std::string& osgDB::BaseCompressor::getName ( ) const
inline

Definition at line 39 of file ObjectWrapper.h.

void osgDB::BaseCompressor::setName ( const std::string &  name)
inline

Definition at line 38 of file ObjectWrapper.h.

Member Data Documentation

std::string osgDB::BaseCompressor::_name
protected

Definition at line 45 of file ObjectWrapper.h.


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