Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
NamedPipeInterface.h
Go to the documentation of this file.
1 #ifndef NAMEDPIPEINTERFACE_H
2 #define NAMEDPIPEINTERFACE_H
3 
4 #include "CommandInterface.h"
5 #include "Sensors/SensorBoard.h"
6 
7 namespace SocCamera
8 {
9 
11 {
12 public:
13  tcNamedPipeInterface(tcIOChannel * apChannel, tcSensorBoard *apSensor,
14  std::string *apData);
15 
16  virtual ~tcNamedPipeInterface();
17 
23  virtual void getInput(std::string *apStringOutput);
24 
31  virtual std::string parseInput(std::string &arStringToParse);
32 
37  virtual void respond(std::string anResponse);
38 
43  virtual void finish(std::string &arOriginalBuffer);
44 
45 private:
46 
50  int32 mhInputFD;
51  int32 mhOutputFD;
52 
53  std::string msInput;
54  std::string msOutput;
55 };
56 
57 }
58 
59 #endif // NAMEDPIPEINTERFACE_H
SocCamera::tcNamedPipeInterface::parseInput
virtual std::string parseInput(std::string &arStringToParse)
Definition: NamedPipeInterface.cpp:124
int32
int32_t int32
Definition: Types.h:8
SocCamera::tcNamedPipeInterface::respond
virtual void respond(std::string anResponse)
Definition: NamedPipeInterface.cpp:152
SocCamera::tcNamedPipeInterface::~tcNamedPipeInterface
virtual ~tcNamedPipeInterface()
Definition: NamedPipeInterface.cpp:49
SensorBoard.h
tcIOChannel
Camera Output IO channel management class.
Definition: IOChannel.h:34
SocCamera::tcNamedPipeInterface::tcNamedPipeInterface
tcNamedPipeInterface(tcIOChannel *apChannel, tcSensorBoard *apSensor, std::string *apData)
Definition: NamedPipeInterface.cpp:32
CommandInterface.h
This file contains the tcCommandInterface class.
SocCamera
Definition: CameraTypes.h:7
SocCamera::tcNamedPipeInterface::getInput
virtual void getInput(std::string *apStringOutput)
Definition: NamedPipeInterface.cpp:55
SocCamera::tcSensorBoard
Definition: SensorBoard.h:40
SocCamera::tcCommandInterface
Definition: CommandInterface.h:25
SocCamera::tcNamedPipeInterface::finish
virtual void finish(std::string &arOriginalBuffer)
Definition: NamedPipeInterface.cpp:161
SocCamera::tcNamedPipeInterface
Definition: NamedPipeInterface.h:10