PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions
ChrSerialPacket Class Reference

#include <src/PlusDataCollection/ChRobotics/ChrSerialPacket.h>

Public Member Functions

 ChrSerialPacket ()
 
void ComputeChecksum (void)
 
unsigned char GetAddress ()
 
bool GetBatchEnable ()
 
unsigned char GetBatchLength ()
 
unsigned char GetChecksumByte (int index)
 
unsigned char GetChecksumLength ()
 
unsigned char GetCommandFailed ()
 
unsigned char GetDataByte (int index)
 
unsigned char GetDataLength ()
 
bool GetHasData ()
 
unsigned char GetHeaderByte (int index)
 
unsigned char GetHeaderLength ()
 
unsigned char GetPacketByte (int index)
 
unsigned char GetPacketLength ()
 
void SetAddress (unsigned char address)
 
void SetBatchEnable (bool enable)
 
void SetBatchLength (unsigned char length)
 
void SetCommandFailed (unsigned char failed)
 
void SetDataByte (int index, unsigned char value)
 
void SetHasData (bool has_data)
 
void SetPacketDescriptor (unsigned char packetDescriptor)
 

Detailed Description

Definition at line 12 of file ChrSerialPacket.h.

Constructor & Destructor Documentation

◆ ChrSerialPacket()

ChrSerialPacket::ChrSerialPacket ( )
inline

Definition at line 15 of file ChrSerialPacket.h.

Member Function Documentation

◆ ComputeChecksum()

void ChrSerialPacket::ComputeChecksum ( void  )
inline

Definition at line 188 of file ChrSerialPacket.h.

◆ GetAddress()

unsigned char ChrSerialPacket::GetAddress ( )
inline

Definition at line 23 of file ChrSerialPacket.h.

◆ GetBatchEnable()

bool ChrSerialPacket::GetBatchEnable ( )
inline

Definition at line 38 of file ChrSerialPacket.h.

◆ GetBatchLength()

unsigned char ChrSerialPacket::GetBatchLength ( )
inline

Definition at line 80 of file ChrSerialPacket.h.

◆ GetChecksumByte()

unsigned char ChrSerialPacket::GetChecksumByte ( int  index)
inline

Definition at line 177 of file ChrSerialPacket.h.

◆ GetChecksumLength()

unsigned char ChrSerialPacket::GetChecksumLength ( )
inline

Definition at line 172 of file ChrSerialPacket.h.

◆ GetCommandFailed()

unsigned char ChrSerialPacket::GetCommandFailed ( )
inline

Definition at line 95 of file ChrSerialPacket.h.

◆ GetDataByte()

unsigned char ChrSerialPacket::GetDataByte ( int  index)
inline

Definition at line 144 of file ChrSerialPacket.h.

◆ GetDataLength()

unsigned char ChrSerialPacket::GetDataLength ( )
inline

Definition at line 107 of file ChrSerialPacket.h.

◆ GetHasData()

bool ChrSerialPacket::GetHasData ( )
inline

Definition at line 59 of file ChrSerialPacket.h.

◆ GetHeaderByte()

unsigned char ChrSerialPacket::GetHeaderByte ( int  index)
inline

Definition at line 153 of file ChrSerialPacket.h.

◆ GetHeaderLength()

unsigned char ChrSerialPacket::GetHeaderLength ( )
inline

Definition at line 167 of file ChrSerialPacket.h.

◆ GetPacketByte()

unsigned char ChrSerialPacket::GetPacketByte ( int  index)
inline

Definition at line 125 of file ChrSerialPacket.h.

◆ GetPacketLength()

unsigned char ChrSerialPacket::GetPacketLength ( )
inline

Definition at line 120 of file ChrSerialPacket.h.

◆ SetAddress()

void ChrSerialPacket::SetAddress ( unsigned char  address)
inline

Definition at line 28 of file ChrSerialPacket.h.

◆ SetBatchEnable()

void ChrSerialPacket::SetBatchEnable ( bool  enable)
inline

Definition at line 46 of file ChrSerialPacket.h.

◆ SetBatchLength()

void ChrSerialPacket::SetBatchLength ( unsigned char  length)
inline

Definition at line 85 of file ChrSerialPacket.h.

◆ SetCommandFailed()

void ChrSerialPacket::SetCommandFailed ( unsigned char  failed)
inline

Definition at line 99 of file ChrSerialPacket.h.

◆ SetDataByte()

void ChrSerialPacket::SetDataByte ( int  index,
unsigned char  value 
)
inline

Definition at line 148 of file ChrSerialPacket.h.

◆ SetHasData()

void ChrSerialPacket::SetHasData ( bool  has_data)
inline

Definition at line 67 of file ChrSerialPacket.h.

◆ SetPacketDescriptor()

void ChrSerialPacket::SetPacketDescriptor ( unsigned char  packetDescriptor)
inline

Definition at line 33 of file ChrSerialPacket.h.


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