Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

//==============================================================================
//
//     Copyright : (C) 2008 Videlli Limited
//     This file belongs to Videlli Limited
//
//==============================================================================
//
//     Purpose :
//     This file contains the Process class body
//     
//==============================================================================
#include "Process.h"

//------------------------------------------------------------------------------
//  Constructor
//------------------------------------------------------------------------------
//  Parameters:
//      path IN - the mPath initial value
//      name IN - the mName initial value
//      pid IN - the mPid initial value
//      ppid IN - the mPpid initial value
//      creationTime IN - the mTime initial value
//------------------------------------------------------------------------------
//  Returns:
//      None
//------------------------------------------------------------------------------
Process::Process( const std::string &path, const std::string &name, const int pid, const int ppid, ULONGLONG creationTime )
: mName(""),
  mPath(""),
  mPid(0),
  mPpid(0)
{
        mPath = path;
        mName = name;
        mPid = pid;
        mPpid = ppid;
        mTime = creationTime;
}

//------------------------------------------------------------------------------
//  Destructor
//------------------------------------------------------------------------------
//  Parameters:
//------------------------------------------------------------------------------
//  Returns:
//      None
//------------------------------------------------------------------------------
Process::~Process()
{
}