struct mrpt::obs::gnss::Message_NV_OEM6_VERSION

Novatel frame: NV_OEM6_VERSION.

See also:

mrpt::obs::CObservationGPS

#include <mrpt/obs/gnss_messages_novatel.h>

struct Message_NV_OEM6_VERSION: public mrpt::obs::gnss::gnss_message
{
    // structs

    struct TComponentVersion;

    //
fields

    nv_oem6_header_t header;
    uint32_t num_comps {0};
    std::vector<TComponentVersion> components;
    uint32_t crc;

    // construction

    Message_NV_OEM6_VERSION();

    //
methods

    virtual void dumpToStream(std::ostream& out) const;
    virtual void fixEndianness();
};

Inherited Members

public:
    //
fields

    gnss_message_type_t message_type;

    //
methods

    void writeToStream(mrpt::serialization::CArchive& out) const;
    void readFromStream(mrpt::serialization::CArchive& in);
    virtual void dumpToStream(std::ostream& out) const = 0;
    virtual void fixEndianness();
    virtual void dumpToConsole(std::ostream& o) const;
    virtual bool getAllFieldDescriptions(] std::ostream& o) const;
    virtual bool getAllFieldValues(] std::ostream& o) const;
    const std::string& getMessageTypeAsString() const;
    static gnss_message* readAndBuildFromStream(mrpt::serialization::CArchive& in);
    static gnss_message* Factory(const gnss_message_type_t msg_id);
    static bool FactoryKnowsMsgType(const gnss_message_type_t msg_id);

Fields

nv_oem6_header_t header

Frame header.

Methods

virtual void dumpToStream(std::ostream& out) const

Dumps the contents of the observation in a human-readable form to a given output stream.

See also:

dumpToConsole()

virtual void fixEndianness()

If we are in a big endian system, reverse all fields >1 byte to fix its representation.

Only in binary frames, text-based derived classes obviously do not need to reimplement this one.