#include <ptlib/mutex.h>
#include <ptlib/syncpoint.h>
#include <ptlib/thread.h>
#include <ptlib/pfactory.h>
#include <queue>
#include "unix/ptlib/pprocess.h"
Go to the source code of this file.
Classes | |
class | PTimerList |
class | PTimerList::RequestType |
class | PProcess |
class | PProcess::HostSystemURLHandlerInfo |
class | PProcessStartup |
Defines | |
#define | PCREATE_PROCESS(cls) |
#define | PDECLARE_PROCESS(cls, ancestor, manuf, name, major, minor, status, build) |
Typedefs | |
typedef PFactory< PProcessStartup > | PProcessStartupFactory |
#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(); \ };