API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.DLL.CommData.TCP.CTcpPacket Class Reference

Public Member Functions

UInt32 GetIdPacket ()
 
UInt32 GetCommandType ()
 
UInt32 GetIdSource ()
 
UInt32 GetIdDestination ()
 
UInt32 GetNbData ()
 
UInt32 GetNbPacket ()
 
void SetIdPacket (UInt32 id)
 
void SetCommandType (UInt32 type)
 
void SetIdSource (UInt32 id)
 
void SetIdDestination (UInt32 id)
 
void SetNbData (UInt32 nbData)
 
void SetNbPacket (UInt32 nbPacket)
 

Public Attributes

const int HEADER_SIZE = 24
 
const int PACKET_SIZE = 5624
 
const int RAWDATA_SIZE = (PACKET_SIZE - HEADER_SIZE)
 
const int TCP_ID_PACKET = 0
 
const int TCP_COMMAND_TYPE = 4
 
const int TCP_ID_SOURCE = 8
 
const int TCP_ID_DESTINATION = 12
 
const int TCP_NB_DATA = 16
 
const int TCP_NB_PACKET = 20
 

Properties

byte[] Data [get, set]
 

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