VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtAccessoryManager Class Reference

A singleton manager for all accessories. More...

Inheritance diagram for makVrv::DtAccessoryManager:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::map< std::string,
DtBaseAccessory * > 
AccessoryMap
 A map of accessories.

Public Member Functions

virtual ~DtAccessoryManager ()
 DTOR.
virtual void addAccessory (DtBaseAccessory *accessory)
 Add accessory to DtAccessoryManager.
virtual void removeAccessory (const std::string &name)
 Remove accessory from DtAccessoryManager. Accessory will be deleted during this call.
virtual AccessoryMapaccessoryMap ()
 Accessor for the accessory map.

Static Public Member Functions

static DtAccessoryManagerinstance (DtDe &de)
 Lazily create singleton.

Protected Member Functions

 DtAccessoryManager (DtDe &de)
 CTOR.

Protected Attributes

DtDemyDe
AccessoryMap myAccessoryMap

Detailed Description

A singleton manager for all accessories.


Member Typedef Documentation

A map of accessories.


Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

Lazily create singleton.

virtual void makVrv::DtAccessoryManager::addAccessory ( DtBaseAccessory accessory) [virtual]

Add accessory to DtAccessoryManager.

Ownership of accessory transfers to DtAccessoryManager including responsibility of deletion.

virtual void makVrv::DtAccessoryManager::removeAccessory ( const std::string &  name) [virtual]

Remove accessory from DtAccessoryManager. Accessory will be deleted during this call.

Accessor for the accessory map.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)