Public Member Functions | Public Attributes
driver_svh::SVHSerialPacket Struct Reference

The SerialPacket holds the (non generated) header and data of one message to the SVH-Hardware. More...

#include <SVHSerialPacket.h>

List of all members.

Public Member Functions

bool operator== (const SVHSerialPacket &other) const
 Compares two SVHSerialPackets objects.
 SVHSerialPacket (size_t _data_length=0, uint8_t _address=SVH_GET_CONTROL_FEEDBACK)
 SVHSerialPacket contains the send and received data in raw format (bytewise)

Public Attributes

uint8_t address
 Adress denotes the actual function of the package.
std::vector< uint8_tdata
 Payload of the package.
uint8_t index
 Continuosly incremented counter per package.

Detailed Description

The SerialPacket holds the (non generated) header and data of one message to the SVH-Hardware.

Definition at line 66 of file SVHSerialPacket.h.


Constructor & Destructor Documentation

driver_svh::SVHSerialPacket::SVHSerialPacket ( size_t  _data_length = 0,
uint8_t  _address = SVH_GET_CONTROL_FEEDBACK 
) [inline]

SVHSerialPacket contains the send and received data in raw format (bytewise)

Parameters:
data_lengthinitial size to set the data length to. NOTE: To deserialize a packet this value HAS TO BE SET!

Definition at line 80 of file SVHSerialPacket.h.


Member Function Documentation

bool driver_svh::SVHSerialPacket::operator== ( const SVHSerialPacket other) const [inline]

Compares two SVHSerialPackets objects.

Definition at line 87 of file SVHSerialPacket.h.


Member Data Documentation

Adress denotes the actual function of the package.

Definition at line 72 of file SVHSerialPacket.h.

Payload of the package.

Definition at line 74 of file SVHSerialPacket.h.

Continuosly incremented counter per package.

Note:
Continuous counter is currently not used by this software, the hw will just copy the send counter back to the response

Definition at line 70 of file SVHSerialPacket.h.


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


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:20