|
libmoost
|
#include <iostream>#include <sstream>#include <string>#include <stdexcept>#include <boost/program_options.hpp>#include <boost/shared_ptr.hpp>#include <boost/noncopyable.hpp>#include <boost/filesystem.hpp>#include "../logging.hpp"#include "../process/service.hpp"#include "../process/ownership.hpp"#include "standard_options.hpp"#include "../utils/assert.hpp"
Go to the source code of this file.
Classes | |
| class | moost::service::NoProcessOwnershipPolicy |
| This policy implements no process ownership handling. More... | |
| class | moost::service::UidGidProcessOwnershipPolicy |
| This policy implements process ownership handling based on user/groud IDs. More... | |
| class | moost::service::NoLoggingPolicy |
| This policy implements no logging. More... | |
| class | moost::service::MoostLoggingPolicy |
| This policy implements logging using moost::logging. More... | |
| class | moost::service::skeleton< ServiceT, ProcessOwnershipPolicy, LoggingPolicy, ConsoleLoggerPolicy > |
| Configurable template implementing common functionality to run a service. More... | |
| class | moost::service::skeleton< ServiceT, ProcessOwnershipPolicy, LoggingPolicy, ConsoleLoggerPolicy >::child_init_func |
Namespaces | |
| namespace | moost |
Creates a unique temporary directory; removed on scope exit. | |
| namespace | moost::service |
Functions | |
| template<class SkeletonT > | |
| int | moost::service::main (int argc, char **argv, bool noargs=false) |