Public Member Functions | Static Public Member Functions | Public Attributes
DiverMsg 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, 23, 0, 0, 0, 0, 0)
 ADD_DIVER_MESSAGE (PositionImg, 3, 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)
 DiverMsg ()
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 63 of file MsgEncoder.cpp.


Constructor & Destructor Documentation

DiverMsg::DiverMsg ( ) [inline]

Definition at line 85 of file MsgEncoder.cpp.


Member Function Documentation

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

Definition at line 131 of file MsgEncoder.cpp.

template<class msg >
uint64_t DiverMsg::pack ( ) [inline]

Definition at line 93 of file MsgEncoder.cpp.

static uint8_t DiverMsg::testType ( uint64_t  data,
size_t  msgSize = 48 
) [inline, static]

Definition at line 108 of file MsgEncoder.cpp.

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

Definition at line 114 of file MsgEncoder.cpp.


Member Data Documentation

Definition at line 135 of file MsgEncoder.cpp.

Definition at line 131 of file MsgEncoder.cpp.

Definition at line 134 of file MsgEncoder.cpp.

Definition at line 136 of file MsgEncoder.cpp.

Definition at line 131 of file MsgEncoder.cpp.

Definition at line 136 of file MsgEncoder.cpp.

Definition at line 131 of file MsgEncoder.cpp.

uint64_t DiverMsg::msg

Definition at line 137 of file MsgEncoder.cpp.

double DiverMsg::z

Definition at line 131 of file MsgEncoder.cpp.


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


usbl
Author(s): Gyula Nagy
autogenerated on Fri Feb 7 2014 11:36:29