|
solarpowerlog trunk
|
#include <vector>#include <string>#include <iostream>#include <iterator>#include <sys/stat.h>#include <signal.h>#include "configuration/ILogger.h"#include "configuration/Registry.h"#include "interfaces/CWorkScheduler.h"#include "patterns/ICommand.h"#include "patterns/ICommandTarget.h"#include "Inverters/factories/IInverterFactory.h"#include "Inverters/factories/InverterFactoryFactory.h"#include "Inverters/interfaces/InverterBase.h"#include "DataFilters/interfaces/factories/IDataFilterFactory.h"#include "configuration/CConfigHelper.h"
Go to the source code of this file.
Functions | |
| void | DumpSettings (libconfig::Setting &set) |
| void | SignalHandler (int signal) |
| void | daemonize (void) |
| int | main (int argc, char *argv[]) |
Variables | |
| char * | progname |
| volatile sig_atomic_t | killsignal = false |
Definition in file solarpowerlog.cpp.
| void daemonize | ( | void | ) |
Definition at line 228 of file solarpowerlog.cpp.
| void DumpSettings | ( | libconfig::Setting & | set | ) |
Just dump the read config to cout.... (the values are automatically promoted to a string...)
Use with: [code] libconfig::Setting &set = Registry::Configuration()->getRoot(); if (set.getName()) cout << set.getName(); else cout << "anonymous"; cout << " has the Path \"" << set.getPath() << "" and Type " << set.getType() << " and has a Lenght of " << set.getLength() << endl;
DumpSettings(set); [/code]
Definition at line 145 of file solarpowerlog.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
bootstraping the system
create the inverters via its factories.
create the data filters via its factories.
Definition at line 279 of file solarpowerlog.cpp.

| void SignalHandler | ( | int | signal | ) |
| volatile sig_atomic_t killsignal = false |
Definition at line 205 of file solarpowerlog.cpp.
| char* progname |
Definition at line 127 of file solarpowerlog.cpp.