![]() |
Fledge
An open source edge computing platform for industrial users
|
A class to hold a set of asset tracking tuples that allows lookup by name. More...
#include <asset_tracking.h>
Public Member Functions | |
AssetTrackingTable () | |
Constructor for an asset tracking tuple table. | |
~AssetTrackingTable () | |
Destructor for asset tracking tuple table. | |
void | add (AssetTrackingTuple *tuple) |
Add a tuple to an asset tracking table. More... | |
void | remove (const std::string &name) |
Remove an asset tracking tuple from the table. | |
AssetTrackingTuple * | find (const std::string &name) |
Find the named asset tuple and return a pointer to te asset. More... | |
A class to hold a set of asset tracking tuples that allows lookup by name.
void AssetTrackingTable::add | ( | AssetTrackingTuple * | tuple | ) |
Add a tuple to an asset tracking table.
tuple | Pointer to the asset tracking tuple to add |
AssetTrackingTuple * AssetTrackingTable::find | ( | const std::string & | name | ) |
Find the named asset tuple and return a pointer to te asset.
name | The name of the asset to lookup |