PionNetworkLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pion::process Class Reference

#include <process.hpp>

Inheritance diagram for pion::process:
Collaboration diagram for pion::process:

Classes

struct  config_type
 data type for static/global process configuration information More...
 

Public Member Functions

 ~process ()
 
 process (void)
 default constructor More...
 

Static Public Member Functions

static void shutdown (void)
 signals the shutdown condition More...
 
static void wait_for_shutdown (void)
 blocks until the shutdown condition has been signaled More...
 
static void initialize (void)
 sets up basic signal handling for the process More...
 
static void daemonize (void)
 fork process and run as a background daemon More...
 

Static Protected Member Functions

static config_typeget_config (void)
 returns a singleton instance of config_type More...
 

Detailed Description

process: class for managing process/service related functions

Constructor & Destructor Documentation

pion::process::~process ( )
inline
pion::process::process ( void  )
inline

default constructor

Member Function Documentation

void pion::process::daemonize ( void  )
static

fork process and run as a background daemon

static config_type& pion::process::get_config ( void  )
inlinestaticprotected

returns a singleton instance of config_type

Referenced by shutdown(), and wait_for_shutdown().

void pion::process::initialize ( void  )
static

sets up basic signal handling for the process

References pion::handle_signal().

void pion::process::shutdown ( void  )
static
void pion::process::wait_for_shutdown ( void  )
static

The documentation for this class was generated from the following files: