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

#include <GigEIOHandler.h>

Inheritance diagram for SocCamera::tcGigEIOHandler:
Collaboration diagram for SocCamera::tcGigEIOHandler:

Public Member Functions

 tcGigEIOHandler (tcSensorBoard *apSensor, tcGigEIO *apChannel, tcAbstractHandler *apNextHandler, std::map< std::string, tcAbstractHandler * > *apMap)
 
void update (tsUpdate asMessage)
 
- Public Member Functions inherited from SocCamera::tcAbstractHandler
 tcAbstractHandler (tcSensorBoard *apSensor, tcAbstractHandler *apNextHandler=NULL)
 
virtual ~tcAbstractHandler ()
 
virtual std::string execute (std::string &arCommandString, std::string &arParameters)
 
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 ()
 

Protected Attributes

tcGigEIOm_gigeio
 
- Protected Attributes inherited from SocCamera::tcAbstractHandler
std::string m_name
 
tcAbstractHandlermpNextHandler
 
tcSensorBoardmpSensor
 

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)
 

Detailed Description

This class handles register file messages for registers related to the image streaming interface.

Constructor & Destructor Documentation

◆ tcGigEIOHandler()

tcGigEIOHandler::tcGigEIOHandler ( tcSensorBoard apSensor,
tcGigEIO apChannel,
tcAbstractHandler apNextHandler,
std::map< std::string, tcAbstractHandler * > *  apMap 
)

tcGigEIOHandler Constructor

Parameters
[in]apSensorPointer to the sensor board object.
[in]apChannelPointer to the IO channel object.
[in]apNextHandlerThe next handler in the linked list (actually I think it's the previous but whatever).
[in]apMapString to handler map for handling string based messages.

Member Function Documentation

◆ update()

void tcGigEIOHandler::update ( tsUpdate  asMessage)
virtual

This function processes register file updates for register addresses:

  • SCPS0_ADDR, Stream 0 packet size
  • SCPS0_ADDR, Stream channel packet size register address.
  • PERSISTENT_IP_ADDR0_ADDR, Persistant IP address
  • PERSISTENT_SUBNET0_ADDR , Persistant IP subnet mask
  • PERSISTENT_GATEWAY0_ADDR, Persistant IP gateway address
  • NET_IFACE_CONFIG0_ADDR, IP address configuration scheme.

Reimplemented from SocCamera::tcAbstractHandler.

Member Data Documentation

◆ m_gigeio

tcGigEIO* SocCamera::tcGigEIOHandler::m_gigeio
protected

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