VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Friends
DtDebugDrawerNameManager Class Reference

Classes

class  ScopedLock
struct  Slot

Public Types

enum  MemoryType { DtDebugDrawerSharedMemoryNoType = 0, DtDebugDrawerSharedMemoryFeaturesType = 1, DtDebugDrawerSharedMemoryVRFType = 2, DtDebugDrawerSharedMemoryFeaturesSourceType = 4 }
typedef
boost::interprocess::named_mutex 
mutex
typedef
boost::interprocess::scoped_lock
< mutex
scoped_lock

Public Member Functions

 DtDebugDrawerNameManager ()
virtual ~DtDebugDrawerNameManager ()
virtual void init ()
virtual long addAndCreateNewName (MemoryType type)
virtual long addAndCreateNewName (MemoryType type, std::string tag)
virtual bool activate (long name, bool state=true)
virtual void removeName (long name)
virtual std::vector< SlotgetMemoryBlockNamesByType (MemoryType memoryType)
virtual DtString blockDescription ()

Static Public Member Functions

static void SetEnabled (bool)
static bool isEnabled ()

Static Public Attributes

static const size_t NumberOfNames = 200
static const size_t MaxTagLength = 200

Protected Attributes

std::auto_ptr< mutexmyMutex
charmyMemoryPtr
 Pointer to the start of shared memory.
DtMemoryHeader * myHeader
 Pointer to the header in shared memory.
DtSharedMemoryPoolManager * myManager
 Shared memory wrapper class object.

Friends

class ScopedLock

Member Typedef Documentation

typedef boost::interprocess::named_mutex DtDebugDrawerNameManager::mutex
typedef boost::interprocess::scoped_lock<mutex> DtDebugDrawerNameManager::scoped_lock

Member Enumeration Documentation

Enumerator:
DtDebugDrawerSharedMemoryNoType 
DtDebugDrawerSharedMemoryFeaturesType 
DtDebugDrawerSharedMemoryVRFType 
DtDebugDrawerSharedMemoryFeaturesSourceType 

Constructor & Destructor Documentation

DtDebugDrawerNameManager::DtDebugDrawerNameManager ( )
virtual DtDebugDrawerNameManager::~DtDebugDrawerNameManager ( )
virtual

Member Function Documentation

static void DtDebugDrawerNameManager::SetEnabled ( bool  )
static
static bool DtDebugDrawerNameManager::isEnabled ( )
static
virtual void DtDebugDrawerNameManager::init ( )
virtual
virtual long DtDebugDrawerNameManager::addAndCreateNewName ( MemoryType  type)
virtual
virtual long DtDebugDrawerNameManager::addAndCreateNewName ( MemoryType  type,
std::string  tag 
)
virtual
virtual bool DtDebugDrawerNameManager::activate ( long  name,
bool  state = true 
)
virtual
virtual void DtDebugDrawerNameManager::removeName ( long  name)
virtual
virtual std::vector<Slot> DtDebugDrawerNameManager::getMemoryBlockNamesByType ( MemoryType  memoryType)
virtual
virtual DtString DtDebugDrawerNameManager::blockDescription ( )
virtual

Friends And Related Function Documentation

friend class ScopedLock
friend

Member Data Documentation

const size_t DtDebugDrawerNameManager::NumberOfNames = 200
static
const size_t DtDebugDrawerNameManager::MaxTagLength = 200
static
std::auto_ptr<mutex> DtDebugDrawerNameManager::myMutex
protected
char* DtDebugDrawerNameManager::myMemoryPtr
protected

Pointer to the start of shared memory.

DtMemoryHeader* DtDebugDrawerNameManager::myHeader
protected

Pointer to the header in shared memory.

DtSharedMemoryPoolManager* DtDebugDrawerNameManager::myManager
protected

Shared memory wrapper class object.


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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)