#include <evauhpacket.h>
Inherited by EvaUHInfoReply, EvaUHInfoRequest, EvaUHTransferReply, and EvaUHTransferRequest.
Inheritance diagram for EvaUHPacket:

Public Member Functions | |
| EvaUHPacket (const unsigned char *buf, const int len) | |
| EvaUHPacket (const bool isInfo) | |
| virtual | ~EvaUHPacket () |
| const bool | parse () |
| const bool | fill (unsigned char *buf, int *len) |
| const unsigned char | getCommand () |
| const int | getNumPackets () const |
| const int | getPacketNum () const |
| void | setNumPackets (const int num) |
| void | setPacketNum (const int num) |
| const bool | isDataPacket () |
Protected Member Functions | |
| virtual const bool | parseBody () |
| virtual const bool | fillBody (unsigned char *buf, int *len) |
Protected Attributes | |
| int | mBodyStart |
| unsigned char * | buffer |
| int | mBufferLen |
| unsigned short | mVersion |
| bool | mIsData |
Private Member Functions | |
| const int | parseHead () |
| const bool | fillHead (unsigned char *buf) |
Private Attributes | |
| unsigned char | mCommand |
| unsigned char | mNumPackets |
| unsigned char | mPacketNum |
Static Private Attributes | |
| static unsigned short | seq_random = 0 |
| static unsigned short | seq_info = 0 |
| static unsigned short | seq_transfer = 0 |
Definition at line 32 of file evauhpacket.h.
|
||||||||||||
|
Definition at line 35 of file evauhpacket.cpp. References buffer, mBodyStart, and mBufferLen. |
|
|
Definition at line 51 of file evauhpacket.cpp. References mCommand, UH_CMD_INFO, and UH_CMD_TRANSFER. |
|
|
Definition at line 58 of file evauhpacket.cpp. References buffer. |
|
||||||||||||
|
Definition at line 71 of file evauhpacket.cpp. References fillBody(), fillHead(), and mBodyStart. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Reimplemented in EvaUHInfoRequest, and EvaUHTransferRequest. Definition at line 86 of file evauhpacket.cpp. Referenced by fill(). |
|
|
Definition at line 118 of file evauhpacket.cpp. References mBodyStart, mCommand, mNumPackets, mPacketNum, mVersion, seq_info, seq_random, seq_transfer, UH_CMD_INFO, UH_CMD_TRANSFER, and UH_HEAD_TAG. Referenced by fill(). |
|
|
Definition at line 45 of file evauhpacket.h. References mCommand. |
|
|
Definition at line 46 of file evauhpacket.h. References mNumPackets. |
|
|
Definition at line 47 of file evauhpacket.h. References mPacketNum. |
|
|
Definition at line 51 of file evauhpacket.h. References mIsData. |
|
|
Definition at line 63 of file evauhpacket.cpp. References mBodyStart, parseBody(), and parseHead(). Here is the call graph for this function: ![]() |
|
|
Reimplemented in EvaUHInfoReply, and EvaUHTransferReply. Definition at line 80 of file evauhpacket.cpp. Referenced by parse(). |
|
|
Definition at line 92 of file evauhpacket.cpp. References buffer, mCommand, mIsData, mNumPackets, mPacketNum, and UH_HEAD_TAG. Referenced by parse(). |
|
|
Definition at line 48 of file evauhpacket.h. References mNumPackets. |
|
|
Definition at line 49 of file evauhpacket.h. References mPacketNum. |
|
|
Definition at line 56 of file evauhpacket.h. Referenced by EvaUHPacket(), EvaUHTransferReply::parseBody(), EvaUHInfoReply::parseBody(), parseHead(), and ~EvaUHPacket(). |
|
|
Definition at line 55 of file evauhpacket.h. Referenced by EvaUHPacket(), fill(), fillHead(), parse(), EvaUHTransferReply::parseBody(), and EvaUHInfoReply::parseBody(). |
|
|
Definition at line 57 of file evauhpacket.h. Referenced by EvaUHPacket(), EvaUHTransferReply::parseBody(), and EvaUHInfoReply::parseBody(). |
|
|
Definition at line 64 of file evauhpacket.h. Referenced by EvaUHPacket(), fillHead(), getCommand(), and parseHead(). |
|
|
Definition at line 59 of file evauhpacket.h. Referenced by isDataPacket(), EvaUHTransferReply::parseBody(), and parseHead(). |
|
|
Definition at line 65 of file evauhpacket.h. Referenced by fillHead(), getNumPackets(), parseHead(), and setNumPackets(). |
|
|
Definition at line 66 of file evauhpacket.h. Referenced by fillHead(), getPacketNum(), parseHead(), and setPacketNum(). |
|
|
Definition at line 58 of file evauhpacket.h. Referenced by fillHead(). |
|
|
Definition at line 62 of file evauhpacket.h. Referenced by fillHead(). |
|
|
Definition at line 61 of file evauhpacket.h. Referenced by fillHead(). |
|
|
Definition at line 63 of file evauhpacket.h. Referenced by fillHead(). |
1.4.4