Classes | Defines | Functions
MsgEncoder.cpp File Reference
#include <labust/tritech/mtMessages.hpp>
#include <labust/tritech/mmcMessages.hpp>
#include <boost/asio.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <string>
#include <vector>
#include <cstdint>
#include <bitset>
#include <iostream>
#include <boost/integer/integer_mask.hpp>
#include <cassert>
#include <boost/regex.hpp>
Include dependency graph for MsgEncoder.cpp:

Go to the source code of this file.

Classes

struct  DiverMsg

Defines

#define ADD_DIVER_MESSAGE(NAME, CODE, DEPTHSIZE, LATLONSIZE, DEFSIZE, MSGSIZE, KMLNOSIZE, KMLSIZE, IMGSIZE, VOIDSIZE, CHKSIZE)

Functions

int main (int argc, char *argv[])
void sendToModem (boost::asio::serial_port &port, DiverMsg &msg)
void writeLatLon (DiverMsg &msg)

Define Documentation

#define ADD_DIVER_MESSAGE (   NAME,
  CODE,
  DEPTHSIZE,
  LATLONSIZE,
  DEFSIZE,
  MSGSIZE,
  KMLNOSIZE,
  KMLSIZE,
  IMGSIZE,
  VOIDSIZE,
  CHKSIZE 
)
Value:
struct NAME\
        {\
          enum{type=CODE};\
                enum{depthSize=DEPTHSIZE,latlonSize=LATLONSIZE,defSize=DEFSIZE, msgSize=MSGSIZE, kmlNoSize=KMLNOSIZE, \
          kmlSize=KMLSIZE, imgSize=IMGSIZE, voidSize=VOIDSIZE, chkSize=CHKSIZE};\
        };\

Definition at line 53 of file MsgEncoder.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 241 of file MsgEncoder.cpp.

void sendToModem ( boost::asio::serial_port &  port,
DiverMsg msg 
)

Definition at line 183 of file MsgEncoder.cpp.

void writeLatLon ( DiverMsg msg)

Definition at line 232 of file MsgEncoder.cpp.



usbl
Author(s): Gyula Nagy
autogenerated on Thu Jul 10 2014 10:34:22