OpenCPN Partial API docs
|
Track fast message fragments eventually forming complete messages. More...
Classes | |
class | Entry |
Public Member Functions | |
Entry | operator[] (int i) const |
Entry & | operator[] (int i) |
Getter. More... | |
int | FindMatchingEntry (const CanHeader header, const unsigned char sid) |
Setter. More... | |
int | AddNewEntry (void) |
Allocate a new, fresh entry and return index to it. More... | |
bool | InsertEntry (const CanHeader header, const unsigned char *data, int index) |
Insert a new entry, first part of a multipart message. More... | |
bool | AppendEntry (const CanHeader hdr, const unsigned char *data, int index) |
Append fragment to existing multipart message. More... | |
void | Remove (int pos) |
Remove entry at pos. More... | |
Track fast message fragments eventually forming complete messages.
Definition at line 113 of file comm_drv_n2k_socketcan.cpp.
|
inline |
Definition at line 140 of file comm_drv_n2k_socketcan.cpp.
int FastMessageMap::AddNewEntry | ( | void | ) |
Allocate a new, fresh entry and return index to it.
Definition at line 747 of file comm_drv_n2k_socketcan.cpp.
bool FastMessageMap::AppendEntry | ( | const CanHeader | hdr, |
const unsigned char * | data, | ||
int | index | ||
) |
Append fragment to existing multipart message.
Definition at line 795 of file comm_drv_n2k_socketcan.cpp.
int FastMessageMap::FindMatchingEntry | ( | const CanHeader | header, |
const unsigned char | sid | ||
) |
Setter.
Return index to entry matching header and sid or -1 if not found.
Definition at line 734 of file comm_drv_n2k_socketcan.cpp.
bool FastMessageMap::InsertEntry | ( | const CanHeader | header, |
const unsigned char * | data, | ||
int | index | ||
) |
Insert a new entry, first part of a multipart message.
Definition at line 761 of file comm_drv_n2k_socketcan.cpp.
|
inline |
Getter.
Definition at line 143 of file comm_drv_n2k_socketcan.cpp.
|
inline |
Definition at line 142 of file comm_drv_n2k_socketcan.cpp.
void FastMessageMap::Remove | ( | int | pos | ) |
Remove entry at pos.
Definition at line 843 of file comm_drv_n2k_socketcan.cpp.