Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Init.h File Reference

Detailed Description

Functions called during program startup.

Go to the source code of this file.

Namespaces

namespace  ola
 The namespace containing all OLA symbols.

Functions

bool ola::ServerInit (int argc, char *argv[], ExportMap *export_map)
 Used to initialize a server. Installs the SEGV handler, initializes the random number generator and populates the export map.
bool ola::AppInit (int argc, char *argv[])
 Used to initialize a application. Installs the SEGV handler and initializes the random number generator.
bool ola::InstallSignal (int signal, void(*fp)(int signo))
 Install a signal handler.
bool ola::InstallSEGVHandler ()
 Install signal handlers to deal with SIGBUS & SIGSEGV.
void ola::InitExportMap (int argc, char *argv[], ExportMap *export_map)
 Populate the ExportMap with a couple of basic variables.
void ola::Daemonise ()
 Run as a daemon.