Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
SocCamera::tcDigitalIOHandler Class Reference

#include <DigitalIOHandler.h>

Inheritance diagram for SocCamera::tcDigitalIOHandler:
Collaboration diagram for SocCamera::tcDigitalIOHandler:

Public Member Functions

 tcDigitalIOHandler (tcSensorBoard *apSensor, tcAbstractHandler *apNextHandler=NULL, std::map< std::string, tcAbstractHandler * > *apMap=NULL)
 
virtual ~tcDigitalIOHandler ()
 
virtual std::string execute (std::string &arCommandString, std::string &arParameters)
 
virtual void update (tsUpdate asMessage)
 
virtual void notifyRead (int64_t anAddr, int64_t anOffset, int64_t anLen) const override
 notifyRead - a pre-read notification hook More...
 
- Public Member Functions inherited from SocCamera::tcAbstractHandler
 tcAbstractHandler (tcSensorBoard *apSensor, tcAbstractHandler *apNextHandler=NULL)
 
virtual ~tcAbstractHandler ()
 
void appendHandler (tcAbstractHandler *apNextHandler)
 
tcAbstractHandlerprependHandler (tcAbstractHandler *apFirstHandler)
 
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
 
tcAbstractHandlermpNextHandler
 
tcSensorBoardmpSensor
 

Detailed Description

This class manages the digital IO for GigE; PinHandler is over camera link and MityViewer.

Constructor & Destructor Documentation

◆ tcDigitalIOHandler()

tcDigitalIOHandler::tcDigitalIOHandler ( tcSensorBoard apSensor,
tcAbstractHandler apNextHandler = NULL,
std::map< std::string, tcAbstractHandler * > *  apMap = NULL 
)

◆ ~tcDigitalIOHandler()

tcDigitalIOHandler::~tcDigitalIOHandler ( )
virtual

Member Function Documentation

◆ execute()

std::string tcDigitalIOHandler::execute ( std::string &  arCommandString,
std::string &  arParameters 
)
virtual

Does nothing! this is only for handling the register file

Reimplemented from SocCamera::tcAbstractHandler.

◆ notifyRead()

void tcDigitalIOHandler::notifyRead ( int64_t  anAddr,
int64_t  anOffset,
int64_t  anLen 
) const
overridevirtual

notifyRead - a pre-read notification hook

Parameters
anAddrbase address of GenICam Register in question about to be read
anOffsetoffset into the GenICam Register region about to be read
anLennumber of bytes about to be read

Implements tcRegisterFileObserver.

◆ update()

void tcDigitalIOHandler::update ( tsUpdate  asMessage)
virtual

Observers are updated of a change by an observable.

Parameters
asMessage- the message sent by the observable.

Reimplemented from SocCamera::tcAbstractHandler.


The documentation for this class was generated from the following files: