libmoost
moost::service::UidGidProcessOwnershipPolicy Class Reference

This policy implements process ownership handling based on user/groud IDs. More...

#include <skeleton.hpp>

Collaboration diagram for moost::service::UidGidProcessOwnershipPolicy:

List of all members.

Public Member Functions

void add_options (boost::program_options::options_description &od, option_validator &)
void validate_options (const boost::program_options::variables_map &vm) const
void change_ownership (const boost::program_options::variables_map &vm)

Private Attributes

moost::process::ownership own
std::string m_uid
std::string m_gid

Detailed Description

This policy implements process ownership handling based on user/groud IDs.

Definition at line 187 of file skeleton.hpp.


Member Function Documentation

void moost::service::UidGidProcessOwnershipPolicy::add_options ( boost::program_options::options_description &  od,
option_validator  
) [inline]

Definition at line 195 of file skeleton.hpp.

void moost::service::UidGidProcessOwnershipPolicy::change_ownership ( const boost::program_options::variables_map &  vm) [inline]

Definition at line 216 of file skeleton.hpp.

Here is the call graph for this function:

void moost::service::UidGidProcessOwnershipPolicy::validate_options ( const boost::program_options::variables_map &  vm) const [inline]

Definition at line 203 of file skeleton.hpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 192 of file skeleton.hpp.

Definition at line 191 of file skeleton.hpp.


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