Public Attributes | Static Public Attributes | List of all members
pepperl_fuchs::HandleInfo Class Reference

Encapsulates data about an etablished data connection. More...

#include <protocol_info.h>

Public Attributes

std::string handle
 Handle ID. More...
 
int handle_type
 
std::string hostname
 UDP Handle: IP at client side where scanner data is sent to. More...
 
char packet_type
 Packet type, possible values are A,B or C. More...
 
int port
 
int start_angle
 Start angle of scan in 1/10000°, defaults to -1800000. More...
 
bool watchdog_enabled
 If watchdog is enabled, it has to be fed otherwise scanner closes the connection after timeout. More...
 
int watchdog_timeout
 Watchdog timeout in ms. More...
 

Static Public Attributes

static const int HANDLE_TYPE_TCP = 0
 
static const int HANDLE_TYPE_UDP = 1
 

Detailed Description

Encapsulates data about an etablished data connection.

Definition at line 36 of file protocol_info.h.

Member Data Documentation

std::string pepperl_fuchs::HandleInfo::handle

Handle ID.

Definition at line 55 of file protocol_info.h.

int pepperl_fuchs::HandleInfo::handle_type

Handle type: 0: TCP 1: UDP

Definition at line 44 of file protocol_info.h.

const int pepperl_fuchs::HandleInfo::HANDLE_TYPE_TCP = 0
static

Definition at line 38 of file protocol_info.h.

const int pepperl_fuchs::HandleInfo::HANDLE_TYPE_UDP = 1
static

Definition at line 39 of file protocol_info.h.

std::string pepperl_fuchs::HandleInfo::hostname

UDP Handle: IP at client side where scanner data is sent to.

Definition at line 47 of file protocol_info.h.

char pepperl_fuchs::HandleInfo::packet_type

Packet type, possible values are A,B or C.

Definition at line 58 of file protocol_info.h.

int pepperl_fuchs::HandleInfo::port

Meaning depends on handle type (TCP or UDP) TCP port at scanner side where data can be retreived -or- UDP port at client side where scanner data is sent to

Definition at line 52 of file protocol_info.h.

int pepperl_fuchs::HandleInfo::start_angle

Start angle of scan in 1/10000°, defaults to -1800000.

Definition at line 61 of file protocol_info.h.

bool pepperl_fuchs::HandleInfo::watchdog_enabled

If watchdog is enabled, it has to be fed otherwise scanner closes the connection after timeout.

Definition at line 64 of file protocol_info.h.

int pepperl_fuchs::HandleInfo::watchdog_timeout

Watchdog timeout in ms.

Definition at line 67 of file protocol_info.h.


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


pepperl_fuchs_r2000
Author(s): Denis Dillenberger
autogenerated on Mon Jun 10 2019 14:12:48