unilink  0.4.3
A simple C++ library for unified async communication
unilink::config Namespace Reference

Classes

class  ConfigFactory
 
class  ConfigPresets
 
class  ConfigManager
 
struct  ValidationResult
 
struct  ConfigItem
 
class  ConfigManagerInterface
 
struct  SerialConfig
 
struct  TcpClientConfig
 
struct  TcpServerConfig
 
struct  UdpConfig
 

Typedefs

using ConfigChangeCallback = std::function< void(const std::string &key, const std::any &old_value, const std::any &new_value)>
 

Enumerations

enum class  ConfigType {
  String , Integer , Boolean , Double ,
  Array , Object
}
 

Typedef Documentation

◆ ConfigChangeCallback

using unilink::config::ConfigChangeCallback = typedef std::function<void(const std::string& key, const std::any& old_value, const std::any& new_value)>

Configuration change callback

Definition at line 70 of file iconfig_manager.hpp.

Enumeration Type Documentation

◆ ConfigType

Configuration value types supported by the system

Enumerator
String 
Integer 
Boolean 
Double 
Array 
Object 

Definition at line 34 of file iconfig_manager.hpp.