MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
#include <sys/stat.h>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <mist/timing.h>
#include <mist/shared_memory.h>
#include <mist/defines.h>
#include "controller_storage.h"
#include "controller_capabilities.h"
#include <mist/triggers.h>
Namespaces | |
Controller | |
Holds everything unique to the controller. | |
Functions | |
void | Controller::handleMsg (void *err) |
Handles output of a Mist application, detecting and catching debug messages. More... | |
void | Controller::Log (std::string kind, std::string message) |
Store and print a log message. More... | |
void | Controller::writeConfig () |
Writes the current config to shared memory to be used in other processes. More... | |
bool | Controller::WriteFile (std::string Filename, std::string contents) |
Write contents to Filename. More... | |
Variables | |
Util::Config | Controller::conf |
Global storage of configuration. More... | |
tthread::mutex | Controller::configMutex |
Mutex for server config access. More... | |
tthread::mutex | Controller::logMutex |
Mutex for log thread. More... | |
JSON::Value | Controller::Storage |
Global storage of data. More... | |