Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
TECHandler.h
Go to the documentation of this file.
1 /*
2  * TECHandler.h
3  *
4  * Created on: May 28, 2014
5  * Author: mitycam
6  */
7 
8 #ifndef TECHANDLER_H_
9 #define TECHANDLER_H_
10 
11 #include "Utility/PIDControl.h"
12 
13 #include "AbstractHandler.h"
14 
15 namespace SocCamera
16 {
17 
19 {
20 public:
22  {
26  };
27 
28  tcTECHandler(tcPIDControl *apController, tcAbstractHandler *apNextHandler = NULL, std::map<std::string, tcAbstractHandler*> *apMap = NULL);
29 
36  virtual std::string execute(std::string& arCommandString,
37  std::string& arParameters);
38 
42  virtual teNackCode execute(teTECHandler aeType, float &arValue, bool &arEnabled);
43 
44  void setPID(float anP, float anI, float anD);
45 
46  void getPID(float &arP, float &arI, float &arD);
47 
48  float getDutyCycle();
49 
50 private:
51  tcPIDControl *mpController;
52 };
53 
54 }
55 
56 #endif /* TECHANDLER_H_ */
SocCamera::tcTECHandler::tcTECHandler
tcTECHandler(tcPIDControl *apController, tcAbstractHandler *apNextHandler=NULL, std::map< std::string, tcAbstractHandler * > *apMap=NULL)
Definition: TECHandler.cpp:13
SocCamera::tcPIDControl
Definition: PIDControl.h:27
SocCamera::tcTECHandler
Definition: TECHandler.h:18
SocCamera::tcTECHandler::eeSetEnable
@ eeSetEnable
Definition: TECHandler.h:23
SocCamera::tcTECHandler::setPID
void setPID(float anP, float anI, float anD)
Definition: TECHandler.cpp:104
SocCamera::tcAbstractHandler
Definition: AbstractHandler.h:24
SocCamera::teNackCode
teNackCode
Definition: CameraTypes.h:62
SocCamera::tcTECHandler::teTECHandler
teTECHandler
Definition: TECHandler.h:21
SocCamera::tcTECHandler::getPID
void getPID(float &arP, float &arI, float &arD)
Definition: TECHandler.cpp:109
SocCamera::tcTECHandler::eeGetState
@ eeGetState
Definition: TECHandler.h:25
SocCamera::tcTECHandler::getDutyCycle
float getDutyCycle()
Definition: TECHandler.cpp:114
SocCamera
Definition: CameraTypes.h:7
SocCamera::tcTECHandler::execute
virtual std::string execute(std::string &arCommandString, std::string &arParameters)
Definition: TECHandler.cpp:25
PIDControl.h
AbstractHandler.h
SocCamera::tcTECHandler::eeSetTarget
@ eeSetTarget
Definition: TECHandler.h:24