VR-Forces 4.7 Class Documentation
 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 Reference

A DtSubjectObserver is told by a DtSubjectAnnouncer when the subject is activated/ deactivated. More...

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

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

Detailed Description

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.

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)