Fledge
An open source edge computing platform for industrial users
AssetTrackingTuple Class Reference

The AssetTrackingTuple class is used to represent an asset tracking tuple. More...

#include <asset_tracking.h>

Inheritance diagram for AssetTrackingTuple:
Collaboration diagram for AssetTrackingTuple:

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
 

Detailed Description

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.

Member Function Documentation

◆ processData()

InsertValues AssetTrackingTuple::processData ( bool  storage_connected,
ManagementClient mgtClient,
bool &  warned,
std::string &  instanceName 
)
virtual

Insert AssetTrackingTuple data via Fledge core API or prepare InsertValues object for direct DB operation.

Parameters
storageBoolean for storage being available
mgtClientManagementClient object pointer
warnedBoolean ireference updated for logging operation
instanceNameFledge instance name
Returns
InsertValues object

Implements TrackingTuple.


The documentation for this class was generated from the following files: