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

The DtInsetViewObserverDestroyer will destroy an observer when its window is destroyed. More...

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

Public Member Functions

virtual ~DtInsetViewObserverDestroyer ()
 DTOR.
void registerInsetViewForDestruction (const std::string &windowName, const std::string &observerName)
 Register the observer to be destoryed when the window is destroyed.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtInsetViewObserverDestroyer
instance (DtDe &de)
 Get an instance. Lazily create if one doesn't exist.

Protected Member Functions

 DtInsetViewObserverDestroyer (DtDe &de)
 CTOR.
void slot_onWindowToBeDestroyed (DtWindow *window)
 Called when a window is destroyed.

Protected Attributes

DtDemyDe
std::map< std::string,
std::string > 
myObserverMap

Detailed Description

The DtInsetViewObserverDestroyer will destroy an observer when its window is destroyed.

Constructor & Destructor Documentation

virtual makVrv::DtInsetViewObserverDestroyer::~DtInsetViewObserverDestroyer ( )
virtual

DTOR.

makVrv::DtInsetViewObserverDestroyer::DtInsetViewObserverDestroyer ( DtDe de)
protected

CTOR.

Member Function Documentation

static DtInsetViewObserverDestroyer& makVrv::DtInsetViewObserverDestroyer::instance ( DtDe de)
static

Get an instance. Lazily create if one doesn't exist.

void makVrv::DtInsetViewObserverDestroyer::registerInsetViewForDestruction ( const std::string &  windowName,
const std::string &  observerName 
)

Register the observer to be destoryed when the window is destroyed.

void makVrv::DtInsetViewObserverDestroyer::slot_onWindowToBeDestroyed ( DtWindow window)
protected

Called when a window is destroyed.

Member Data Documentation

DtDe& makVrv::DtInsetViewObserverDestroyer::myDe
protected
std::map<std::string, std::string> makVrv::DtInsetViewObserverDestroyer::myObserverMap
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)