libutil++  1.9.3
 All Classes Functions Variables
Public Types | Public Member Functions | Static Public Member Functions | List of all members
sella::util::PidFile Class Reference

Public Types

typedef std::shared_ptr< PidFileshared
 
typedef PidFileptr
 

Public Member Functions

 PidFile (const std::string &file, uid_t uid=-1, gid_t gid=-1) throw ()
 
 PidFile (const PidFile &other)
 
PidFileoperator= (const PidFile &other) throw ()
 
bool operator== (const PidFile &other) const =delete throw ()
 
bool operator!= (const PidFile &other) const =delete throw ()
 
const std::string & get (void) const throw ()
 
int read (void) const throw (PidFileException)
 
int write (void) const throw (PidFileException)
 
void remove (void) const throw (PidFileException)
 
bool isOwner (void) const throw ()
 
bool isLive (void) const throw ()
 
bool isFile (void) const throw ()
 

Static Public Member Functions

static const PidFile::shared shared_ptr (const std::string &file, uid_t uid=-1, gid_t gid=-1) throw ()
 

Detailed Description

Definition at line 27 of file PidFile.h.


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