DtObserveConnection is responsible for maintaining a connection between an event and an observer.
More...
Static Public Member Functions |
| template<typename SubjectType > |
| static void | connect (DtObserveEvent< SubjectType > *event, DtObserver< SubjectType > *observer) |
| | Templated static connect function which will create a connection object between an event and an observer.
|
Detailed Description
DtObserveConnection is responsible for maintaining a connection between an event and an observer.
Constructor & Destructor Documentation
Protected constructor.
The event and the observer are not known be properly function together, this is ensure using the static connect function.
Member Function Documentation
template<typename SubjectType >
| static void MAKLogger::DtObserveConnection::connect |
( |
DtObserveEvent< SubjectType > * |
event, |
|
|
DtObserver< SubjectType > * |
observer |
|
) |
| |
|
inlinestatic |
Disconnects a shared connection.
Get the component which is the event.
Get the component which is the observer.
Member Data Documentation
Pointer to the event component.
Pointer to the observer component.
The documentation for this class was generated from the following file: