VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtSubjectObserver< T > Class Template Referenceabstract

template<class T>
class makVrv::DtSubjectObserver< T >

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.

Inheritance diagram for makVrv::DtSubjectObserver< T >:
Inheritance graph
[legend]

Public Member Functions

 DtSubjectObserver ()
 
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)
 

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< BindFunctionBindFunctionList
 

Constructor & Destructor Documentation

template<class T >
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().

template<class T >
makVrv::DtSubjectObserver< T >::~DtSubjectObserver ( )
virtual

Member Function Documentation

template<class T >
virtual void makVrv::DtSubjectObserver< T >::slot_activate ( T *  subject)
pure virtual
template<class T >
virtual void makVrv::DtSubjectObserver< T >::slot_deactivate ( T *  subject)
pure virtual
template<class T >
void makVrv::DtSubjectObserver< T >::connect ( DtDe de)
protectedvirtual

Member Data Documentation

template<class T >
DtSignalConnectionManager makVrv::DtSubjectObserver< T >::mySignalConnectionManager
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)