![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtInsetViewObserverDestroyer will destroy an observer when its window is destroyed. More...

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. | |
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 | |
| DtDe & | myDe |
| std::map< std::string, std::string > | myObserverMap |
The DtInsetViewObserverDestroyer will destroy an observer when its window is destroyed.
| virtual makVrv::DtInsetViewObserverDestroyer::~DtInsetViewObserverDestroyer | ( | ) | [virtual] |
DTOR.
| makVrv::DtInsetViewObserverDestroyer::DtInsetViewObserverDestroyer | ( | DtDe & | de | ) | [protected] |
CTOR.
| 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.
DtDe& makVrv::DtInsetViewObserverDestroyer::myDe [protected] |
std::map<std::string, std::string> makVrv::DtInsetViewObserverDestroyer::myObserverMap [protected] |