![]()  | 
  
    Critical Link MityCam SoC Firmware
    1.0
    
   Critical Link MityCam SoC Firmware 
   | 
 
#include <NamedPipeInterface.h>
Public Member Functions | |
| tcNamedPipeInterface (tcIOChannel *apChannel, tcSensorBoard *apSensor, std::string *apData) | |
| virtual | ~tcNamedPipeInterface () | 
| virtual void | getInput (std::string *apStringOutput) | 
| virtual std::string | parseInput (std::string &arStringToParse) | 
| virtual void | respond (std::string anResponse) | 
| virtual void | finish (std::string &arOriginalBuffer) | 
  Public Member Functions inherited from SocCamera::tcCommandInterface | |
| tcCommandInterface (const char *ifacename, tcSensorBoard *apSensor, tcIOChannel *apChannel) | |
| virtual | ~tcCommandInterface () | 
| Destructor.  More... | |
| void | initializeCommandHandlers () | 
| virtual void * | run () | 
| virtual void | addTEC (tcPIDControl *apPID) | 
| tcAbstractHandler * | getChain (void) | 
| tcAbstractHandler * | getHandler (std::string name) | 
  Public Member Functions inherited from tcThread | |
| tcThread () | |
| virtual | ~tcThread () | 
| void | join () | 
| virtual void | start () | 
| virtual void | stop () | 
Additional Inherited Members | |
  Static Public Member Functions inherited from SocCamera::tcCommandInterface | |
| static std::string | registerName (uint32_t anReg) | 
  Static Public Attributes inherited from tcThread | |
| static const int | HIGHEST_PRIORITY = -2 | 
| static const int | HIGH_PRIORITY = -1 | 
| static const int | NORMAL_PRIORITY = 0 | 
| static const int | LOW_PRIORITY = 1 | 
| static const int | LOWEST_PRIORITY = 2 | 
  Protected Member Functions inherited from SocCamera::tcCommandInterface | |
| void | Report (const char *fmt,...) | 
| This method routes text to stderr.  More... | |
| void | ReportError (const char *fmt,...) | 
  Protected Member Functions inherited from tcThread | |
| void | setPriority (int anRelativePriority) | 
  Protected Attributes inherited from SocCamera::tcCommandInterface | |
| std::string | m_ifacename | 
| tcSensorBoard * | mpSensor | 
| tcIOChannel * | mpChannel | 
  Protected Attributes inherited from tcThread | |
| bool | mbKillThread | 
  Static Protected Attributes inherited from SocCamera::tcCommandInterface | |
| static tcAbstractHandler * | gpChainHead = NULL | 
| static tcAbstractHandler * | gpChainTail = NULL | 
| static std::map< std::string, tcAbstractHandler * > | mcStringMap | 
| static tcMutex | chain_initializer = tcMutex() | 
| tcNamedPipeInterface::tcNamedPipeInterface | ( | tcIOChannel * | apChannel, | 
| tcSensorBoard * | apSensor, | ||
| std::string * | apData | ||
| ) | 
      
  | 
  virtual | 
      
  | 
  virtual | 
Perform cleanup tasks. (eg: reboot, signal thread to die, etc).
| arOriginalBuffer | - the original buffer that was gotten | 
Implements SocCamera::tcCommandInterface.
      
  | 
  virtual | 
Gets the input from whatever means it has to and stores it in the std::string pointed to by the parameter.
| apStringOutput | - pointer to the location to store the input | 
Implements SocCamera::tcCommandInterface.
      
  | 
  virtual | 
Process the input string and call whatever functions are appropriate on the SensorBoard object.
| arStringOutput | - the input string to process. | 
Implements SocCamera::tcCommandInterface.
      
  | 
  virtual | 
Send the <ACK>, <NACK> based on the response input
| anResponse | - the return code from parseInput() | 
Implements SocCamera::tcCommandInterface.