#include <AMICO_packet.h>

Data Structures | |
| struct | Header |
Public Types | |
| enum | Type { TypeStreamEnd = 6, TypeStream = 5, TypeAlarm = 4, TypeEvent = 3, TypeReply = 2, TypePrimitive = 1, TypeInfo = 0, TypeVoid = -1 } |
Public Member Functions | |
| AMICO_packet (const AP_String &func, const AP_Uint32 size, const AP_Pointer &data) | |
| Init AMICO packet (primitive call). | |
| AMICO_packet (Type type, const AP_String &info, const AP_Uint32 count, const AP_Pointer data) | |
| AMICO_packet (Type type, const AP_String &text) | |
| Init AMICO packet (message). | |
| AMICO_packet (const AP_Uint32 count, const AP_Pointer data) | |
| AMICO_packet (const AP_Uint32 count, const AP_Byte c) | |
| AMICO_packet (const AP_String &text) | |
| Init AMICO packet (raw data). | |
| AMICO_packet (const Type type) | |
| AMICO_packet () | |
| Variable size. | |
| AP_Bool | empty (void) const |
| Check. | |
| AP_String | ToString (void) |
| Convertions (raw data). | |
| ~AMICO_packet () | |
| Destructor. | |
Data Fields | |
| AP_Byte | data [AMICO_DATA_SIZE] |
| Header | header |
| enum Type |
| AMICO_packet | ( | void | ) |
Variable size.
| AMICO_packet | ( | const Type | type | ) |
| AMICO_packet | ( | const AP_String & | text | ) |
Init AMICO packet (raw data).
| AMICO_packet | ( | const AP_Uint32 | count, | |
| const AP_Byte | c | |||
| ) |
| AMICO_packet | ( | const AP_Uint32 | count, | |
| const AP_Pointer | data | |||
| ) |
| AMICO_packet | ( | AMICO_packet::Type | type, | |
| const AP_String & | text | |||
| ) |
Init AMICO packet (message).
| AMICO_packet | ( | AMICO_packet::Type | type, | |
| const AP_String & | info, | |||
| const AP_Uint32 | count, | |||
| const AP_Pointer | data | |||
| ) |
| AMICO_packet | ( | const AP_String & | func, | |
| const AP_Uint32 | size, | |||
| const AP_Pointer & | data | |||
| ) |
Init AMICO packet (primitive call).
| ~AMICO_packet | ( | void | ) |
Destructor.
| AP_Bool empty | ( | void | ) | const [inline] |
Check.
| AP_String ToString | ( | void | ) |
Convertions (raw data).
| AP_Byte data[AMICO_DATA_SIZE] |
1.5.8