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

PProcess & PProcess::Current (  ) [static, inherited]

Get the current processes object instance. The { current process} is the one the application is running in.

pointer to current process instance.

Reimplemented from PThread.

Reimplemented in PHTTPServiceProcess, PServiceProcess, Audio, and Threadex.

Definition at line 2041 of file osutils.cxx.

Referenced by PServiceProcess::Current(), PHTTPServiceProcess::Current(), PVideoInputDevice_FakeVideo::GrabTextVideoFrame(), PTrace::Initialise(), PIpAccessControlList::LoadHostsAccess(), PURL::OpenBrowser(), and PThread::SetAutoDelete().

  if (PProcessInstance == NULL) {
    cerr << "Catastrophic failure, PProcess::Current() = NULL!!\n";
#if defined(_MSC_VER) && defined(_DEBUG) && !defined(_WIN32_WCE)
    __asm int 3;
  return *PProcessInstance;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index