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

Fledge process base class. More...

#include <process.h>

Inheritance diagram for FledgeProcess:

Public Member Functions

 FledgeProcess (int argc, char **argv)
 
StorageClientgetStorageClient () const
 Return storage client.
 
ManagementClientgetManagementClient () const
 Return management client.
 
LoggergetLogger () const
 Return Logger.
 
std::string getName () const
 
time_t getStartTime () const
 

Protected Member Functions

std::string getArgValue (const std::string &name) const
 Get command line argument value like "--xyx=ABC" Argument name to pass is "--xyz=". More...
 

Protected Attributes

bool m_dryRun
 

Detailed Description

Fledge process base class.

Member Function Documentation

◆ getArgValue()

string FledgeProcess::getArgValue ( const std::string &  name) const
protected

Get command line argument value like "--xyx=ABC" Argument name to pass is "--xyz=".

Parameters
nameThe argument name (–xyz=)
Returns
The argument value if found or an emopty string

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