![]() |
VR-Forces 4.7 Class Documentation
|
A DtSubjectObserver is told by a DtSubjectAnnouncer when the subject is activated/ deactivated. More...

Public Member Functions | |
| DtSubjectObserver () | |
| brief Create a DtSubjectObserver and add the connect() method as a functor to the DtSubjectBinder's list. | |
| virtual | ~DtSubjectObserver () |
| virtual void | slot_activate (T *subject)=0 |
| virtual void | slot_deactivate (T *subject)=0 |
Public Member Functions inherited from makVrv::DtSubjectBinder | |
| void | bind (DtDe &de) |
| Note: do not give this class a CTOR. | |
Protected Member Functions | |
| virtual void | connect (DtDe &de) |
Protected Attributes | |
| DtSignalConnectionManager | mySignalConnectionManager |
Protected Attributes inherited from makVrv::DtSubjectBinder | |
| BindFunctionList | myBindFunctionList |
Additional Inherited Members | |
Protected Types inherited from makVrv::DtSubjectBinder | |
| typedef boost::function< void(DtDe &)> | BindFunction |
| typedef std::list< BindFunction > | BindFunctionList |
A DtSubjectObserver is told by a DtSubjectAnnouncer when the subject is activated/ deactivated.
A DtSubjectObserver is a virtual base class for widget logics that need to be told when a subject class is fully initialized.
| makVrv::DtSubjectObserver< T >::DtSubjectObserver | ( | ) |
brief Create a DtSubjectObserver and add the connect() method as a functor to the DtSubjectBinder's list.
This allows for the connect() method functor to get executed after the derived DtSubjectObserver's creation.
References makVrv::bind().
|
virtual |
|
pure virtual |
|
pure virtual |
|
protectedvirtual |
|
protected |