FusionEngine message framer.
Definition in file fusion_engine_framer.cc.
#include "point_one/fusion_engine/parsers/fusion_engine_framer.h"
#include <cstring>
#include "point_one/fusion_engine/common/logging.h"
#include "point_one/fusion_engine/messages/crc.h"
Go to the source code of this file.
Classes | |
class | HexPrintableIntegerInst< T > |
Macros | |
#define | P1_VMODULE_NAME fusion_engine_framer |
Functions | |
template<typename T > | |
HexPrintableIntegerInst< T > | HexPrintableInteger (T value) |
Wrap an integer so it will be output to a stream as its hex representation. More... | |
template<typename T > | |
p1_ostream & | operator<< (p1_ostream &stream, const HexPrintableIntegerInst< T > &obj) |
#define P1_VMODULE_NAME fusion_engine_framer |
Definition at line 7 of file fusion_engine_framer.cc.
HexPrintableIntegerInst<T> HexPrintableInteger | ( | T | value | ) |
Wrap an integer so it will be output to a stream as its hex representation.
For example:
generates the following output:
T | The type of the value parameter (inferred implicitly). |
value | The integer value to wrap. |
Definition at line 90 of file fusion_engine_framer.cc.
p1_ostream& operator<< | ( | p1_ostream & | stream, |
const HexPrintableIntegerInst< T > & | obj | ||
) |
Definition at line 38 of file fusion_engine_framer.cc.