Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <PowerHandler.h>
Public Member Functions | |
tcPowerHandler (tcSensorBoard *apSensor, tcAbstractHandler *apNextHandler=NULL, std::map< std::string, tcAbstractHandler * > *apMap=NULL) | |
virtual std::string | execute (std::string &arCommandString, std::string &arParameters) |
teNackCode | execute (bool abOn) |
Public Member Functions inherited from SocCamera::tcAbstractHandler | |
tcAbstractHandler (tcSensorBoard *apSensor, tcAbstractHandler *apNextHandler=NULL) | |
virtual | ~tcAbstractHandler () |
void | appendHandler (tcAbstractHandler *apNextHandler) |
tcAbstractHandler * | prependHandler (tcAbstractHandler *apFirstHandler) |
virtual void | update (tsUpdate asMessage) |
virtual void | SetIOChannel (tcIOChannel *apChannel) |
void | unregisterFromFile () |
const std::string & | name () const |
return the handler name More... | |
Public Member Functions inherited from tcObserver | |
tcObserver () | |
virtual | ~tcObserver () |
Additional Inherited Members | |
Protected Member Functions inherited from SocCamera::tcAbstractHandler | |
void | Report (const char *fmt,...) |
void | ReportError (const char *fmt,...) |
Static Protected Member Functions inherited from SocCamera::tcAbstractHandler | |
static std::string | nack (int32 anNack) |
static std::string | ack (std::string *apValue=NULL) |
static std::string | carrotNumber (float anNum) |
static std::string | carrotNumber (int32 anNum) |
static std::string | carrotNumberHex (int32 anNum) |
static void | handleCode (tcRegUpdateUint32Msg *apMsg, teNackCode anCode) |
Protected Attributes inherited from SocCamera::tcAbstractHandler | |
std::string | m_name |
tcAbstractHandler * | mpNextHandler |
tcSensorBoard * | mpSensor |
tcPowerHandler::tcPowerHandler | ( | tcSensorBoard * | apSensor, |
tcAbstractHandler * | apNextHandler = NULL , |
||
std::map< std::string, tcAbstractHandler * > * | apMap = NULL |
||
) |
teNackCode tcPowerHandler::execute | ( | bool | abOn | ) |
|
virtual |
Call this to launch the chain. Iterates over the handlers until one succeeds or runs out of handlers.
arCommandString | - the command that was found. |
arParameters | - the string of parameters that must be processed. |
Reimplemented from SocCamera::tcAbstractHandler.