The DtInsetViewObserverDestroyer will destroy an observer when its window is destroyed.
| virtual makVrv::DtInsetViewObserverDestroyer::~DtInsetViewObserverDestroyer |
( |
| ) |
|
|
virtual |
| makVrv::DtInsetViewObserverDestroyer::DtInsetViewObserverDestroyer |
( |
DtDe & |
de | ) |
|
|
protected |
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::setEnabled |
( |
bool |
enable | ) |
|
Used to enable or disable this class if needed. Used to avoid destroying the observer which it should not.
| bool makVrv::DtInsetViewObserverDestroyer::enabled |
( |
| ) |
|
Get the state of the enabled flag.
| 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 |
| bool makVrv::DtInsetViewObserverDestroyer::myEnabled |
|
protected |
The documentation for this class was generated from the following file: