![]() |
Fledge
An open source edge computing platform for industrial users
|
The AssetTrackingTuple class is used to represent an asset tracking tuple. More...
#include <asset_tracking.h>
Public Member Functions | |
std::string | assetToString () |
bool | operator== (const AssetTrackingTuple &x) const |
AssetTrackingTuple (const std::string &service, const std::string &plugin, const std::string &asset, const std::string &event, const bool &deprecated=false) | |
std::string & | getAssetName () |
std::string | getPluginName () |
std::string | getEventName () |
std::string | getServiceName () |
bool | isDeprecated () |
void | unDeprecate () |
InsertValues | processData (bool storage_connected, ManagementClient *mgtClient, bool &warned, std::string &instanceName) |
Insert AssetTrackingTuple data via Fledge core API or prepare InsertValues object for direct DB operation. More... | |
Public Attributes | |
std::string | m_serviceName |
std::string | m_pluginName |
std::string | m_assetName |
std::string | m_eventName |
The AssetTrackingTuple class is used to represent an asset tracking tuple.
Hash function and '==' operator are defined for this class and pointer to this class that would be required to create an unordered_set of this class.
|
virtual |
Insert AssetTrackingTuple data via Fledge core API or prepare InsertValues object for direct DB operation.
storage | Boolean for storage being available |
mgtClient | ManagementClient object pointer |
warned | Boolean ireference updated for logging operation |
instanceName | Fledge instance name |
Implements TrackingTuple.