Public Member Functions | |
ADD_DIVER_MESSAGE (PositionInit, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0) | |
ADD_DIVER_MESSAGE (Position_18, 1, 7, 18, 0, 0, 0, 0, 0, 1, 0) | |
ADD_DIVER_MESSAGE (PositionMsg, 2, 7, 7, 0, 18, 0, 0, 0, 5, 0) | |
ADD_DIVER_MESSAGE (PositionImg, 2, 7, 7, 0, 0, 0, 0, 23, 0, 0) | |
ADD_DIVER_MESSAGE (Position_14Def, 4, 7, 14, 5, 0, 0, 0, 0, 4, 0) | |
ADD_DIVER_MESSAGE (PositionMsgDef, 5, 7, 7, 5, 18, 0, 0, 0, 0, 0) | |
ADD_DIVER_MESSAGE (PositionImgDef, 6, 7, 7, 5, 0, 0, 0, 18, 0, 0) | |
ADD_DIVER_MESSAGE (PositionKml, 7, 7, 7, 0, 0, 3, 10, 0, 0, 0) | |
ADD_DIVER_MESSAGE (PositionChk, 8, 7, 7, 0, 0, 0, 0, 0, 17, 6) | |
ADD_DIVER_MESSAGE (PositionMsgChk, 9, 7, 7, 0, 12, 0, 0, 0, 5, 6) | |
ADD_DIVER_MESSAGE (PositionImgChk, 10, 7, 7, 0, 0, 0, 0, 17, 0, 6) | |
ADD_DIVER_MESSAGE (PositionDefChk, 11, 7, 7, 5, 0, 0, 0, 0, 12, 6) | |
ADD_DIVER_MESSAGE (PositionMsgDefChk, 12, 7, 7, 5, 12, 0, 0, 0, 0, 6) | |
ADD_DIVER_MESSAGE (PositionImgDefChk, 13, 7, 7, 5, 0, 0, 0, 12, 0, 6) | |
ADD_DIVER_MESSAGE (PositonInitAck, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0) | |
ADD_DIVER_MESSAGE (Msg, 1, 0, 0, 0, 0, 0, 0, 0, 44, 0) | |
DiverMsg2 () | |
template<size_t precission> | |
std::pair< int, int > | latlonToBits (double lat, double lon) |
template<class msg > | |
uint64_t | pack () |
template<class msg > | |
bool | unpack (uint64_t data) |
Static Public Member Functions | |
static uint8_t | testType (uint64_t data, size_t msgSize=48) |
Public Attributes | |
uint8_t | depth |
double | depthRes |
uint64_t | fullmsg |
int | lat |
double | latitude |
int | lon |
double | longitude |
uint64_t | msg |
double | z |
Definition at line 57 of file divermsg_test.cpp.
DiverMsg2::DiverMsg2 | ( | ) | [inline] |
Definition at line 79 of file divermsg_test.cpp.
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionInit | , |
0 | , | ||
0 | , | ||
22 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | Position_18 | , |
1 | , | ||
7 | , | ||
18 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
1 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionMsg | , |
2 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
18 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
5 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionImg | , |
2 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
23 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | Position_14Def | , |
4 | , | ||
7 | , | ||
14 | , | ||
5 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
4 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionMsgDef | , |
5 | , | ||
7 | , | ||
7 | , | ||
5 | , | ||
18 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionImgDef | , |
6 | , | ||
7 | , | ||
7 | , | ||
5 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
18 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionKml | , |
7 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
0 | , | ||
3 | , | ||
10 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionChk | , |
8 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
17 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionMsgChk | , |
9 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
12 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
5 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionImgChk | , |
10 | , | ||
7 | , | ||
7 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
17 | , | ||
0 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionDefChk | , |
11 | , | ||
7 | , | ||
7 | , | ||
5 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
12 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionMsgDefChk | , |
12 | , | ||
7 | , | ||
7 | , | ||
5 | , | ||
12 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositionImgDefChk | , |
13 | , | ||
7 | , | ||
7 | , | ||
5 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
12 | , | ||
0 | , | ||
6 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | PositonInitAck | , |
0 | , | ||
0 | , | ||
22 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
DiverMsg2::ADD_DIVER_MESSAGE | ( | Msg | , |
1 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
44 | , | ||
0 | |||
) |
std::pair< int, int > DiverMsg2::latlonToBits< 7 > | ( | double | lat, |
double | lon | ||
) | [inline] |
Definition at line 125 of file divermsg_test.cpp.
uint64_t DiverMsg2::pack | ( | ) | [inline] |
Definition at line 87 of file divermsg_test.cpp.
static uint8_t DiverMsg2::testType | ( | uint64_t | data, |
size_t | msgSize = 48 |
||
) | [inline, static] |
Definition at line 102 of file divermsg_test.cpp.
bool DiverMsg2::unpack | ( | uint64_t | data | ) | [inline] |
Definition at line 108 of file divermsg_test.cpp.
uint8_t DiverMsg2::depth |
Definition at line 129 of file divermsg_test.cpp.
double DiverMsg2::depthRes |
Definition at line 125 of file divermsg_test.cpp.
uint64_t DiverMsg2::fullmsg |
Definition at line 128 of file divermsg_test.cpp.
int DiverMsg2::lat |
Definition at line 130 of file divermsg_test.cpp.
double DiverMsg2::latitude |
Definition at line 125 of file divermsg_test.cpp.
int DiverMsg2::lon |
Definition at line 130 of file divermsg_test.cpp.
double DiverMsg2::longitude |
Definition at line 125 of file divermsg_test.cpp.
uint64_t DiverMsg2::msg |
Definition at line 131 of file divermsg_test.cpp.
double DiverMsg2::z |
Definition at line 125 of file divermsg_test.cpp.