Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
U3VHandler.h
Go to the documentation of this file.
1 /*
2  * U3VHandler.h
3  *
4  * Created on: Oct 13, 2017
5  * Author: mitydsp
6  */
7 
8 #ifndef U3VHANDLER_H_
9 #define U3VHANDLER_H_
10 
11 #include "Sensors/SensorBoard.h"
12 #include "AbstractHandler.h"
13 
14 #include <map>
15 
16 class tcU3VFX3Core;
17 
18 namespace SocCamera
19 {
20 
21 class tcU3VIO;
22 
24 public:
25  tcU3VHandler(tcSensorBoard *apSensor, tcU3VIO *apChannel,
26  tcAbstractHandler *apNextHandler, std::map<std::string, tcAbstractHandler*> *apMap);
27  virtual ~tcU3VHandler();
28 
29  void update (tsUpdate asMessage);
30 
31 protected:
33 
34 private:
35  void handleSirmAddress(tsUpdate asMessage);
36  void setWord(uint64_t anAddress);
37 
38  typedef void (tcU3VFX3Core::*FxFunction)(uint32_t);
39  std::map<uint64_t, FxFunction> mcFuncMap;
40 };
41 
42 };
43 
44 #endif /* U3VHANDLER_H_ */
tsUpdate
Definition: Observer.h:6
SocCamera::tcU3VHandler
Definition: U3VHandler.h:23
SocCamera::tcU3VHandler::~tcU3VHandler
virtual ~tcU3VHandler()
Definition: U3VHandler.cpp:32
SocCamera::tcU3VHandler::update
void update(tsUpdate asMessage)
Definition: U3VHandler.cpp:35
SensorBoard.h
SocCamera::tcAbstractHandler
Definition: AbstractHandler.h:24
tcU3VFX3Core
Definition: tcU3VFX3Core.h:15
SocCamera::tcU3VHandler::tcU3VHandler
tcU3VHandler(tcSensorBoard *apSensor, tcU3VIO *apChannel, tcAbstractHandler *apNextHandler, std::map< std::string, tcAbstractHandler * > *apMap)
Definition: U3VHandler.cpp:20
SocCamera::tcU3VIO
Definition: U3VIO.h:36
SocCamera
Definition: CameraTypes.h:7
AbstractHandler.h
SocCamera::tcSensorBoard
Definition: SensorBoard.h:40
SocCamera::tcU3VHandler::mpU3v
tcU3VIO * mpU3v
Definition: U3VHandler.h:32