Logo Search packages:      
Sourcecode: herculesstudio version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

NamedPipe Class Reference

Collaboration diagram for NamedPipe:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void generatePid (int studioPid, int herculesPid)
std::string getHerculesCommandline ()
FILE * getHerculesCommandsFile ()
FILE * getHerculesLogfile ()
int getHerculesPid ()
FILE * getHerculesStatus ()
FILE * getHerculesStderr ()
FILE * getHerculesStdin ()
FILE * getHerculesStdout ()
int recover ()

Static Public Member Functions

static NamedPipegetInstance ()

Private Member Functions

int delDir (std::string &path)
bool fileExists (const std::string &pid)
bool processIsRunning (int pid)

Private Attributes

std::string mFifo0
std::string mFifo1
std::string mFifo2
int mHerculesPid
QMutex mMutex
bool mRecovery
std::string mSetPath
FILE * mStderr
FILE * mStderrInput
FILE * mStdinOutput
FILE * mStdout
FILE * mStdoutInput

Static Private Attributes

static NamedPipe sInstance

Detailed Description

Definition at line 35 of file NamedPipe.h.


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

Generated by  Doxygen 1.6.0   Back to index