blink1-control
blink1_control::config::Config Struct Reference

#include <Config.hpp>

Public Attributes

std::map< std::string, std::shared_ptr< PatternConfig > > patternConfigs
 
std::map< std::string, std::shared_ptr< ConditionConfig > > conditionConfigs
 
std::string socketPath = "./blink1-control.sock"
 

Friends

std::ostream & operator<< (std::ostream &os, blink1_control::config::Config &config)
 

Detailed Description

The configuration for this application

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
blink1_control::config::Config config 
)
friend

Output operator

Parameters
osOutput stream
configConfig to output

Member Data Documentation

◆ conditionConfigs

std::map<std::string, std::shared_ptr<ConditionConfig> > blink1_control::config::Config::conditionConfigs

A collection of condition configurations which maps from the name of a ConditionConfig to the ConditionConfig itself

◆ patternConfigs

std::map<std::string, std::shared_ptr<PatternConfig> > blink1_control::config::Config::patternConfigs

A collection of pattern configurations which maps from the name of a PatternConfig to the PatternConfig itself

◆ socketPath

std::string blink1_control::config::Config::socketPath = "./blink1-control.sock"

Path to the socket file. Defaults to './blink1-control.sock'


The documentation for this struct was generated from the following file: