idle_detect  0.8.3.0
Provides overall idle detection for a linux computer
Private Member Functions | List of all members
IdleDetectConfig Class Reference

The IdleDetectConfig class. This specializes the Config class and implements the virtual method ProcessArgs() for idle_detect. More...

#include <idle_detect.h>

Inheritance diagram for IdleDetectConfig:
Inheritance graph
[legend]
Collaboration diagram for IdleDetectConfig:
Collaboration graph
[legend]

Private Member Functions

void ProcessArgs () override
 The is the ProcessArgs() implementation for idle_detect.
 

Additional Inherited Members

- Public Member Functions inherited from Config
 Config ()
 Constructor.
 
void ReadAndUpdateConfig (const fs::path &config_file)
 Reads and parses the config file provided by the argument and populates m_config_in, then calls private method ProcessArgs() to populate m_config. More...
 
config_variant GetArg (const std::string &arg)
 Provides the config_variant type value of the config parameter (argument). More...
 
- Protected Member Functions inherited from Config
std::string GetArgString (const std::string &arg, const std::string &default_value) const
 Private version of GetArg that operates on m_config_in and also selects the provided default value if the arg is not found. This is how default values for parameters are established. More...
 
- Protected Attributes inherited from Config
std::multimap< std::string, config_variant > m_config
 Holds the processed parameter-values, which are strongly typed and in a config_variant union, and where default values are populated if not found in the config file (m_config_in).
 

Detailed Description

The IdleDetectConfig class. This specializes the Config class and implements the virtual method ProcessArgs() for idle_detect.


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