Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
Observer.h
Go to the documentation of this file.
1
#ifndef OBSERVER_H
2
#define OBSERVER_H
3
4
class
tcObservable
;
5
6
struct
tsUpdate
7
{
8
tcObservable
*
mpObservable
;
9
void
*
mpMessage
;
10
};
11
12
class
tcObserver
13
{
14
public
:
15
tcObserver
();
16
virtual
~tcObserver
();
17
22
virtual
void
update
(
tsUpdate
asMessage) = 0;
23
};
24
25
#endif // OBSERVER_H
tcObserver::~tcObserver
virtual ~tcObserver()
Definition:
Observer.cpp:7
tsUpdate
Definition:
Observer.h:6
tsUpdate::mpObservable
tcObservable * mpObservable
Definition:
Observer.h:8
tcObserver
Definition:
Observer.h:12
tsUpdate::mpMessage
void * mpMessage
Definition:
Observer.h:9
tcObservable
Definition:
Observable.h:7
tcObserver::tcObserver
tcObserver()
Definition:
Observer.cpp:3
tcObserver::update
virtual void update(tsUpdate asMessage)=0
src
Utility
Observer.h
Generated on Wed Mar 23 2022 10:59:09 for Critical Link MityCam SoC Firmware by
1.8.17