#include <ptlib/mutex.h>
#include <ptlib/syncpoint.h>
#include <ptlib/thread.h>
#include <ptlib/pfactory.h>
#include "unix/ptlib/pprocess.h"
Go to the source code of this file.
Classes | |
class | PTimerList |
class | PProcess |
class | PProcessStartup |
class | PTraceLevelSetStartup< _level, _options > |
Defines | |
#define | PCREATE_PROCESS(cls) |
#define | PDECLARE_PROCESS(cls, ancestor, manuf, name, major, minor, status, build) |
#define | P_DEFAULT_TRACE_OPTIONS ( PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine ) |
Typedefs | |
typedef PFactory< PProcessStartup > | PProcessStartupFactory |
Functions | |
PLIST (PInternalTimerList, PTimer) |
#define P_DEFAULT_TRACE_OPTIONS ( PTrace::Blocks | PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine ) |
#define PCREATE_PROCESS | ( | cls | ) |
Value:
int main(int argc, char ** argv, char ** envp) \ { PProcess::PreInitialise(argc, argv, envp); \ cls *pInstance = new cls(); \ int terminationValue = pInstance->_main(); \ delete pInstance; \ return terminationValue; \ }
#define PDECLARE_PROCESS | ( | cls, | |||
ancestor, | |||||
manuf, | |||||
name, | |||||
major, | |||||
minor, | |||||
status, | |||||
build | ) |
Value:
class cls : public ancestor { \ PCLASSINFO(cls, ancestor); \ public: \ cls() : ancestor(manuf, name, major, minor, status, build) { } \ private: \ virtual void Main(); \ };
PLIST | ( | PInternalTimerList | , | |
PTimer | ||||
) |