Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
Init.cpp File Reference
Include dependency graph for Init.cpp:

Namespaces

 ola
 The namespace containing all OLA symbols.
 

Functions

 DEFINE_string (scheduler_policy,"","The thread scheduling policy, one of {fifo, rr}.")
 
 DEFINE_uint16 (scheduler_priority, 0,"The thread priority, only used if --scheduler-policy is set.")
 
bool ola::ServerInit (int argc, char *argv[], ExportMap *export_map)
 Used to initialize a server. More...
 
bool ola::ServerInit (int *argc, char *argv[], ExportMap *export_map, const std::string &first_line, const std::string &description)
 Used to initialize a server. Installs the SEGV handler, initializes the random number generator and populates the export map. Also sets the help string for the program, parses flags and initialises logging from flags. More...
 
bool ola::AppInit (int *argc, char *argv[], const std::string &first_line, const std::string &description)
 Used to initialize a application. Installs the SEGV handler and initializes the random number generator, sets the help string for the program, parses flags and initialises logging from flags. More...
 
bool ola::NetworkInit ()
 Perform platform-specific initialization of the networking subsystem. More...
 
bool ola::InstallSignal (int signal, void(*fp)(int signo))
 Install a signal handler. More...
 
bool ola::InstallSEGVHandler ()
 Install signal handlers to deal with SIGBUS & SIGSEGV. More...
 
void ola::InitExportMap (int argc, char *argv[], ExportMap *export_map)
 Populate the ExportMap with a couple of basic variables. More...
 
void ola::Daemonise ()
 Run as a daemon. More...