Go to the source code of this file.
|
| mrpt |
| This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
|
|
| mrpt::obs |
| This namespace contains representation of robot actions and observations.
|
|
| mrpt::obs::gnss |
| GNSS (GPS) data structures, mainly for use within mrpt::obs::CObservationGPS.
|
|
◆ GNSS_BINARY_MSG_DEFINITION_END
#define GNSS_BINARY_MSG_DEFINITION_END |
Value:GNSS_BINARY_MSG_DEFINITION_MID \
GNSS_BINARY_MSG_DEFINITION_MID_END
Definition at line 161 of file gnss_messages_common.h.
◆ GNSS_BINARY_MSG_DEFINITION_MID
#define GNSS_BINARY_MSG_DEFINITION_MID |
Value:content_t() { ::memset(this, 0, sizeof(*this)); } \
} \
; \
content_t fields; \
void dumpToStream(std::ostream& out) const override;
Definition at line 150 of file gnss_messages_common.h.
◆ GNSS_BINARY_MSG_DEFINITION_MID_END
#define GNSS_BINARY_MSG_DEFINITION_MID_END |
◆ GNSS_BINARY_MSG_DEFINITION_START
#define GNSS_BINARY_MSG_DEFINITION_START |
( |
|
_MSG_ID | ) |
|
Value:struct Message_##_MSG_ID : public gnss_message \
{ \
GNSS_MESSAGE_BINARY_BLOCK(&fields, sizeof(fields)) \
{ \
msg_type = _MSG_ID \
}; \
struct content_t \
{
gnss_message_type_t
List of all known GNSS message types.
unsigned __int32 uint32_t
Definition at line 139 of file gnss_messages_common.h.
◆ GNSS_MESSAGE_BINARY_BLOCK
#define GNSS_MESSAGE_BINARY_BLOCK |
( |
|
DATA_PTR, |
|
|
|
DATA_LEN |
|
) |
| |
Value:protected: \
const override \
{ \
out << static_cast<uint32_t>(DATA_LEN); \
out.WriteBuffer(DATA_PTR, DATA_LEN); \
} \
{ \
uint32_t nBytesInStream; \
in >> nBytesInStream; \
ASSERT_EQUAL_(nBytesInStream, DATA_LEN); \
in.ReadBuffer(DATA_PTR, DATA_LEN); \
} \
\
public:
Virtual base class for "archives": classes abstracting I/O streams.
Definition at line 121 of file gnss_messages_common.h.