![]() |
Fledge
An open source edge computing platform for industrial users
|
A set of hints for a reading. More...
#include <OMFHint.h>
Public Member Functions | |
OMFHints (const std::string &hints) | |
Decodes the OMFhint in JSON format assigning the values to the memory structures: m_chksum, m_hints and m_datapointHints. More... | |
~OMFHints () | |
Destructor for Hints class. | |
const std::vector< OMFHint * > & | getHints () const |
const std::vector< OMFHint * > & | getHints (const std::string &) const |
const unsigned short | getChecksum () |
Static Public Member Functions | |
static string | getHintForChecksum (const string &hint) |
Extracts from a complete OMF hint the part on which the checksum should be generated, for example, it will remove the section related to the AFLocation hint to avoid the creation of a new type when the value changes. More... | |
A set of hints for a reading.
documentation available at: https://fledge-iot.readthedocs.io/en/latest/plugins/fledge-filter-omfhint/index.html https://fledge-iot.readthedocs.io/en/latest/OMF.html#omf-hints
OMFHints::OMFHints | ( | const std::string & | hints | ) |
Decodes the OMFhint in JSON format assigning the values to the memory structures: m_chksum, m_hints and m_datapointHints.
hint | OMF hint in JSON format |
|
static |
Extracts from a complete OMF hint the part on which the checksum should be generated, for example, it will remove the section related to the AFLocation hint to avoid the creation of a new type when the value changes.
hint | Original/complete OMF hint |