Public Member Functions | Static Public Member Functions | Public Attributes
DiverMsg2 Struct Reference

List of all members.

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

Detailed Description

Definition at line 57 of file divermsg_test.cpp.


Constructor & Destructor Documentation

DiverMsg2::DiverMsg2 ( ) [inline]

Definition at line 79 of file divermsg_test.cpp.


Member Function Documentation

DiverMsg2::ADD_DIVER_MESSAGE ( PositionInit  ,
,
,
22  ,
,
,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( Position_18  ,
,
,
18  ,
,
,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionMsg  ,
,
,
,
,
18  ,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionImg  ,
,
,
,
,
,
,
,
23  ,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( Position_14Def  ,
,
,
14  ,
,
,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionMsgDef  ,
,
,
,
,
18  ,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionImgDef  ,
,
,
,
,
,
,
,
18  ,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionKml  ,
,
,
,
,
,
,
10  ,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionChk  ,
,
,
,
,
,
,
,
,
17  ,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionMsgChk  ,
,
,
,
,
12  ,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionImgChk  ,
10  ,
,
,
,
,
,
,
17  ,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionDefChk  ,
11  ,
,
,
,
,
,
,
,
12  ,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionMsgDefChk  ,
12  ,
,
,
,
12  ,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositionImgDefChk  ,
13  ,
,
,
,
,
,
,
12  ,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( PositonInitAck  ,
,
,
22  ,
,
,
,
,
,
,
 
)
DiverMsg2::ADD_DIVER_MESSAGE ( Msg  ,
,
,
,
,
,
,
,
,
44  ,
 
)
std::pair< int, int > DiverMsg2::latlonToBits< 7 > ( double  lat,
double  lon 
) [inline]

Definition at line 125 of file divermsg_test.cpp.

template<class msg >
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.

template<class msg >
bool DiverMsg2::unpack ( uint64_t  data) [inline]

Definition at line 108 of file divermsg_test.cpp.


Member Data Documentation

Definition at line 129 of file divermsg_test.cpp.

Definition at line 125 of file divermsg_test.cpp.

Definition at line 128 of file divermsg_test.cpp.

Definition at line 130 of file divermsg_test.cpp.

Definition at line 125 of file divermsg_test.cpp.

Definition at line 130 of file divermsg_test.cpp.

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.


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


usbl_comms
Author(s): Gyula Nagy
autogenerated on Fri Feb 7 2014 11:36:13