Fledge
An open source edge computing platform for industrial users
StorageAssetTrackingTuple Class Reference
Inheritance diagram for StorageAssetTrackingTuple:
Collaboration diagram for StorageAssetTrackingTuple:

Public Member Functions

 StorageAssetTrackingTuple (const std::string &service, const std::string &plugin, const std::string &asset, const std::string &event, const bool &deprecated=false, const std::string &datapoints="", unsigned int c=0)
 
bool operator== (const StorageAssetTrackingTuple &x) const
 
std::string assetToString ()
 
bool isDeprecated ()
 
unsigned int getMaxCount ()
 
std::string getDataPoints ()
 
void unDeprecate ()
 
void setDeprecate ()
 
InsertValues processData (bool storage, ManagementClient *mgtClient, bool &warned, std::string &instanceName)
 Insert StorageAssetTrackingTuple data via Fledge core API or prepare InsertValues object for direct DB operation. More...
 

Public Attributes

std::string m_datapoints
 
unsigned int m_maxCount
 
std::string m_serviceName
 
std::string m_pluginName
 
std::string m_assetName
 
std::string m_eventName
 

Member Function Documentation

◆ processData()

InsertValues StorageAssetTrackingTuple::processData ( bool  storage,
ManagementClient mgtClient,
bool &  warned,
std::string &  instanceName 
)
virtual

Insert StorageAssetTrackingTuple 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: