#include <epona.h>
Inheritance diagram for core::Epona:

Public Types | |
| typedef hidden::Directives | Directives |
Public Member Functions | |
| Epona (int ac, char const *const *av, char const *const *envp) | |
| Core module constructor. | |
| ~Epona () | |
| Core module destructor. | |
| virtual conf::ConfQ * | config (modules::Core &core, conf::ConfGlobalQ &global) |
| Implements Module::config(). | |
| void | dump_core (bool dump) |
| Sets whether Epona should dump core or not. | |
| virtual void | fatal (char const *msg=0) |
| Implements Core::fatal(). | |
| virtual void | notify (Module &sender, int msg, void *arg) |
| Implements Module::notify(). | |
| void | pid_erase (const char *filename) |
| Removes a PID file. | |
| void | pid_write (const char *filename) |
| Writes a PID file. | |
| void | run () |
| Epona main loop. | |
| virtual cmdline::CmdLineParser & | clp () |
| Implements Core::clp(). | |
| hidden::Directives const & | cd () const |
| Returns the core configuration directives. | |
| std::string const & | conffile () const |
| Returns the main configuration file. | |
| virtual conf::ConfLogger & | conf_logger () |
| Implements Core::conf_logger;. | |
| virtual xlog::Logger & | logger () |
| Implements Core::logger(). | |
| virtual modules::ModManager & | modules () |
| Implements Core::modules(). | |
| virtual scheduler::Scheduler & | tasks () |
| Implements Core::tasks(). | |
| virtual int | version () const |
| Implements Module::version(). | |
| virtual std::string const | version_string () const |
| Implements Core::version_string(). | |
Static Public Attributes | |
| static uint32_t const | efTakeOver = 0x80000000 |
| --module is taking over Epona | |
| static uint32_t const | efNoExpire = 0x40000000 |
| No expiration checks. | |
Friends | |
| class | ECmdLineParser |
| void core::Epona::dump_core | ( | bool | dump | ) |
| void core::Epona::pid_erase | ( | const char * | filename | ) |
Removes the given PID file.
| [in] | filename | The name of the file to remove. |
| void core::Epona::pid_write | ( | const char * | filename | ) |
Writes the given PID file.
| [in] | filename | The name of the file to write. |
| void core::Epona::run | ( | ) |
This is called automatically from main(). It mustn't be called twice so ignore it.
1.5.2