|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file. 1 #ifndef REGISTERFILEOBSERVER_H
2 #define REGISTERFILEOBSERVER_H
4 #include <unordered_map>
15 virtual void notifyRead(int64_t anAddr, int64_t anOffset, int64_t anLen)
const = 0;
42 void notifyRead(int64_t anAddr, int64_t anOffset, int64_t anLen)
const;
45 std::unordered_map< int64_t, std::vector< tcRegisterFileObserver* > >
readObservers;
48 #endif // REGISTERFILEOBSERVER_H
Definition: RegisterFileObserver.h:7
tcRegisterFileObservable()
Definition: RegisterFileObserver.cpp:6
virtual ~tcRegisterFileObservable()
Definition: RegisterFileObserver.cpp:11
void unregisterReadObserver(tcRegisterFileObserver *apObserver)
unregisterReadObserver Unregister the observer from pre-read notificatons
Definition: RegisterFileObserver.cpp:21
Definition: RegisterFileObserver.h:18
void notifyRead(int64_t anAddr, int64_t anOffset, int64_t anLen) const
notifyRead
Definition: RegisterFileObserver.cpp:41
std::unordered_map< int64_t, std::vector< tcRegisterFileObserver * > > readObservers
Definition: RegisterFileObserver.h:45
void registerReadObserver(int64_t anAddr, tcRegisterFileObserver *apObserver)
registerReadObserver - Register an observer for pre-read notifications
Definition: RegisterFileObserver.cpp:16
virtual void notifyRead(int64_t anAddr, int64_t anOffset, int64_t anLen) const =0
notifyRead - a pre-read notification hook