#include <GigEInterface.h>
◆ tcGigEInterface()
◆ ~tcGigEInterface()
tcGigEInterface::~tcGigEInterface |
( |
| ) |
|
|
virtual |
◆ finish()
void SocCamera::tcGigEInterface::finish |
( |
std::string & |
arOriginalBuffer | ) |
|
|
inlinevirtual |
Perform cleanup tasks. (eg: reboot, signal thread to die, etc).
- Parameters
-
arOriginalBuffer | - the original buffer that was gotten |
Implements SocCamera::tcCommandInterface.
◆ getCommandName()
const char * tcGigEInterface::getCommandName |
( |
uint16_t |
cmd | ) |
|
|
static |
This function returns a human readable string for the command ID specified. It's just for debugging messages.
- Parameters
-
[in] | cmd | The GigE command ID. |
- Returns
- A string describing the command ID.
◆ getInput()
void SocCamera::tcGigEInterface::getInput |
( |
std::string * |
| ) |
|
|
inlinevirtual |
This group of functions is required by the base class tcCommandInterface for the function tcCommandInterface::run(). These functions are repeatedly called by tcCommandInterface::run() in a loop which looks like:
The base classes run function is written expecting the commands and responses to be ascii string based. That doesn't make any sense for this interface as we are NOT dealing with string commands and responses. So we're not going to pay attention to it. We do require a cycling call to drive us to do our stuff. So we're accomplishing that by overriding the base classes run() function. It would be nice if the base class didn't make these functions pure virtual, since it allows us to override the run() function anyway.
Implements SocCamera::tcCommandInterface.
◆ getStatusName()
const char * tcGigEInterface::getStatusName |
( |
GEV_STATUS |
status | ) |
|
|
static |
This function returns a human readable string for the GigE status specified. It's just for debugging messages.
- Parameters
-
[in] | status | The GigE status ID. |
- Returns
- A string describing the status ID.
◆ parseInput()
std::string SocCamera::tcGigEInterface::parseInput |
( |
std::string & |
arStringOutput | ) |
|
|
inlinevirtual |
Process the input string and call whatever functions are appropriate. Returns a value which will be passed to respond().
- Parameters
-
arStringOutput | - the input string to process. |
- Returns
- an int32 code corresponding to the success of processing.
Implements SocCamera::tcCommandInterface.
◆ respond()
void SocCamera::tcGigEInterface::respond |
( |
std::string |
ahResponse | ) |
|
|
inlinevirtual |
Send the <ACK>, <NACK> or whatever other response.
- Parameters
-
ahResponse | - the string to output back over the source |
Implements SocCamera::tcCommandInterface.
◆ run()
void * SocCamera::tcGigEInterface::run |
( |
| ) |
|
|
virtual |
◆ update_payload_size()
void SocCamera::tcGigEInterface::update_payload_size |
( |
const uint32_t |
payload_size | ) |
|
|
virtual |
◆ mpRegisterFile
The documentation for this class was generated from the following files: