Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcRegisterFileObservable Class Reference

#include <RegisterFileObserver.h>

Inheritance diagram for tcRegisterFileObservable:
Collaboration diagram for tcRegisterFileObservable:

Public Member Functions

 tcRegisterFileObservable ()
 
virtual ~tcRegisterFileObservable ()
 
void registerReadObserver (int64_t anAddr, tcRegisterFileObserver *apObserver)
 registerReadObserver - Register an observer for pre-read notifications More...
 
void unregisterReadObserver (tcRegisterFileObserver *apObserver)
 unregisterReadObserver Unregister the observer from pre-read notificatons More...
 
void unregisterReadObserver (int64_t anAddr, tcRegisterFileObserver *apObserver)
 
void notifyRead (int64_t anAddr, int64_t anOffset, int64_t anLen) const
 notifyRead More...
 

Protected Attributes

std::unordered_map< int64_t, std::vector< tcRegisterFileObserver * > > readObservers
 

Constructor & Destructor Documentation

◆ tcRegisterFileObservable()

tcRegisterFileObservable::tcRegisterFileObservable ( )

◆ ~tcRegisterFileObservable()

tcRegisterFileObservable::~tcRegisterFileObservable ( )
virtual

Member Function Documentation

◆ notifyRead()

void tcRegisterFileObservable::notifyRead ( int64_t  anAddr,
int64_t  anOffset,
int64_t  anLen 
) const

notifyRead

Parameters
anAddrbase address of GenICam Register in question
anOffsetoffset into the GenICam Register region
anLennumber of bytes being read

◆ registerReadObserver()

void tcRegisterFileObservable::registerReadObserver ( int64_t  anAddr,
tcRegisterFileObserver apObserver 
)

registerReadObserver - Register an observer for pre-read notifications

Parameters
anAddr
apObserver

◆ unregisterReadObserver() [1/2]

void tcRegisterFileObservable::unregisterReadObserver ( int64_t  anAddr,
tcRegisterFileObserver apObserver 
)

◆ unregisterReadObserver() [2/2]

void tcRegisterFileObservable::unregisterReadObserver ( tcRegisterFileObserver apObserver)

unregisterReadObserver Unregister the observer from pre-read notificatons

Member Data Documentation

◆ readObservers

std::unordered_map< int64_t, std::vector< tcRegisterFileObserver* > > tcRegisterFileObservable::readObservers
protected

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