MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
MAKLogger::DtObserver< ObserverType > Class Template Referenceabstract

DtObserver is the abstract interface for the observer object. More...

+ Inheritance diagram for MAKLogger::DtObserver< ObserverType >:
+ Collaboration diagram for MAKLogger::DtObserver< ObserverType >:

Public Member Functions

virtual ~DtObserver ()
 DTOR which disconnects the observer from all events. More...
 
virtual void disconnect (DtObserveEvent< SubjectType > *event)
 Disconnect the observer from a specific event. More...
 
virtual void observe (const SubjectType &)=0
 Abstract observe function called when a connected event fires. More...
 
- Public Member Functions inherited from MAKLogger::DtObserveConnectionComponent
virtual ~DtObserveConnectionComponent ()
 
virtual void connect (DtObserveConnectionSP con)
 
virtual void disconnect (DtObserveConnectionSP con)
 
virtual void disconnect (DtObserveConnectionComponent *component)
 
virtual bool isConnected (DtObserveConnectionComponent *component)
 
void disconnectAll ()
 Must be non virtual since called by destructor. More...
 

Additional Inherited Members

- Public Types inherited from MAKLogger::DtObserveConnectionComponent
typedef std::list
< DtObserveConnectionSP
ConnectionList
 
- Protected Member Functions inherited from MAKLogger::DtObserveConnectionComponent
 DtObserveConnectionComponent ()
 DtObserveConnection C. More...
 
 DtObserveConnectionComponent (const DtObserveConnectionComponent &)
 CopyCTOR not implemented. More...
 
DtObserveConnectionComponentoperator= (const DtObserveConnectionComponent &)
 Assignment operator not implemented. More...
 
DtObserveConnectionSP findEventObserverConnection (DtObserveConnectionComponent *event, DtObserveConnectionComponent *observer)
 
- Protected Attributes inherited from MAKLogger::DtObserveConnectionComponent
ConnectionList myConnections
 

Detailed Description

template<typename ObserverType>
class MAKLogger::DtObserver< ObserverType >

DtObserver is the abstract interface for the observer object.

Implementations of DtObserver must implement the observer function.

Constructor & Destructor Documentation

template<typename ObserverType>
virtual MAKLogger::DtObserver< ObserverType >::~DtObserver ( )
inlinevirtual

DTOR which disconnects the observer from all events.

Member Function Documentation

template<typename ObserverType>
virtual void MAKLogger::DtObserver< ObserverType >::disconnect ( DtObserveEvent< SubjectType > *  event)
inlinevirtual

Disconnect the observer from a specific event.

template<typename ObserverType>
virtual void MAKLogger::DtObserver< ObserverType >::observe ( const SubjectType &  )
pure virtual

Abstract observe function called when a connected event fires.

Implemented in MAKLogger::DtObserverFunctor< ClassType, SubjectType >, and MAKLogger::DtObserverCallback< SubjectType >.


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

Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)