|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
9 #ifndef COMMANDINTERFACE_H
10 #define COMMANDINTERFACE_H
45 virtual void getInput(std::string *apStringOutput) = 0;
53 virtual std::string
parseInput(std::string &arStringOutput) = 0;
59 virtual void respond(std::string ahResponse) = 0;
65 virtual void finish(std::string &arOriginalBuffer) = 0;
116 static bool sensor_initialized;
117 static bool chain_initialized;
118 void initialize_chain();
119 void initialize_sensor_specific();
120 void initialize_channel_specific();
123 void Report (
const char* fmt, ...);
129 #endif // COMMANDINTERFACE_H
static std::map< std::string, tcAbstractHandler * > mcStringMap
Definition: CommandInterface.h:111
std::string m_ifacename
Definition: CommandInterface.h:90
virtual std::string parseInput(std::string &arStringOutput)=0
static tcAbstractHandler * gpChainTail
Definition: CommandInterface.h:101
static std::string registerName(uint32_t anReg)
Definition: RegisterNames.cpp:25
tcIOChannel * mpChannel
Definition: CommandInterface.h:106
virtual void addTEC(tcPIDControl *apPID)
Definition: CommandInterface.cpp:179
virtual void respond(std::string ahResponse)=0
Definition: PIDControl.h:27
tcSensorBoard * mpSensor
Definition: CommandInterface.h:95
virtual ~tcCommandInterface()
Destructor.
Definition: CommandInterface.cpp:98
void ReportError(const char *fmt,...)
Definition: CommandInterface.cpp:309
tcAbstractHandler * getChain(void)
Definition: CommandInterface.h:85
Definition: AbstractHandler.h:24
tcCommandInterface(const char *ifacename, tcSensorBoard *apSensor, tcIOChannel *apChannel)
Definition: CommandInterface.cpp:86
Camera Output IO channel management class.
Definition: IOChannel.h:34
void Report(const char *fmt,...)
This method routes text to stderr.
Definition: CommandInterface.cpp:262
virtual void * run()
Definition: CommandInterface.cpp:109
static tcMutex chain_initializer
Definition: CommandInterface.h:113
virtual void getInput(std::string *apStringOutput)=0
Definition: CameraTypes.h:7
static tcAbstractHandler * gpChainHead
Definition: CommandInterface.h:100
Definition: SensorBoard.h:40
Definition: CommandInterface.h:25
void initializeCommandHandlers()
Definition: CommandInterface.cpp:280
tcAbstractHandler * getHandler(std::string name)
Definition: CommandInterface.h:87
virtual void finish(std::string &arOriginalBuffer)=0