YARP
Yet Another Robot Platform
YarpRunProcInfo Class Reference

#include <yarp/run/impl/RunProcManager.h>

+ Inheritance diagram for YarpRunProcInfo:

Public Member Functions

 YarpRunProcInfo (std::string &alias, std::string &on, PID pidCmd, HANDLE handleCmd, bool hold)
 
virtual ~YarpRunProcInfo ()
 
bool Match (std::string &alias)
 
virtual bool Clean (PID pid, YarpRunProcInfo *&pRef)
 
virtual bool Signal (int signum)
 
virtual bool Clean ()
 
virtual bool IsActive ()
 
virtual void finalize ()
 
void setCmd (const std::string &cmd)
 
void setEnv (const std::string &env)
 

Protected Attributes

std::string mAlias
 
std::string mOn
 
PID mPidCmd
 
bool mCleanCmd
 
HANDLE mHandleCmd
 
bool mHold
 
std::string mCmd
 
std::string mEnv
 

Friends

class YarpRunInfoVector
 

Detailed Description

Definition at line 115 of file RunProcManager.h.

Constructor & Destructor Documentation

◆ YarpRunProcInfo()

YarpRunProcInfo::YarpRunProcInfo ( std::string &  alias,
std::string &  on,
PID  pidCmd,
HANDLE  handleCmd,
bool  hold 
)

Definition at line 86 of file RunProcManager.cpp.

◆ ~YarpRunProcInfo()

virtual YarpRunProcInfo::~YarpRunProcInfo ( )
inlinevirtual

Definition at line 119 of file RunProcManager.h.

Member Function Documentation

◆ Clean() [1/2]

bool YarpRunProcInfo::Clean ( )
virtual

Reimplemented in YarpRunCmdWithStdioInfo.

Definition at line 144 of file RunProcManager.cpp.

◆ Clean() [2/2]

virtual bool YarpRunProcInfo::Clean ( PID  pid,
YarpRunProcInfo *&  pRef 
)
inlinevirtual

Reimplemented in YarpRunCmdWithStdioInfo.

Definition at line 125 of file RunProcManager.h.

◆ finalize()

virtual void YarpRunProcInfo::finalize ( )
inlinevirtual

Reimplemented in YarpRunCmdWithStdioInfo.

Definition at line 144 of file RunProcManager.h.

◆ IsActive()

bool YarpRunProcInfo::IsActive ( )
virtual

Definition at line 126 of file RunProcManager.cpp.

◆ Match()

bool YarpRunProcInfo::Match ( std::string &  alias)
inline

Definition at line 123 of file RunProcManager.h.

◆ setCmd()

void YarpRunProcInfo::setCmd ( const std::string &  cmd)
inline

Definition at line 146 of file RunProcManager.h.

◆ setEnv()

void YarpRunProcInfo::setEnv ( const std::string &  env)
inline

Definition at line 147 of file RunProcManager.h.

◆ Signal()

bool YarpRunProcInfo::Signal ( int  signum)
virtual

Definition at line 96 of file RunProcManager.cpp.

Friends And Related Function Documentation

◆ YarpRunInfoVector

friend class YarpRunInfoVector
friend

Definition at line 162 of file RunProcManager.h.

Member Data Documentation

◆ mAlias

std::string YarpRunProcInfo::mAlias
protected

Definition at line 150 of file RunProcManager.h.

◆ mCleanCmd

bool YarpRunProcInfo::mCleanCmd
protected

Definition at line 154 of file RunProcManager.h.

◆ mCmd

std::string YarpRunProcInfo::mCmd
protected

Definition at line 159 of file RunProcManager.h.

◆ mEnv

std::string YarpRunProcInfo::mEnv
protected

Definition at line 160 of file RunProcManager.h.

◆ mHandleCmd

HANDLE YarpRunProcInfo::mHandleCmd
protected

Definition at line 156 of file RunProcManager.h.

◆ mHold

bool YarpRunProcInfo::mHold
protected

Definition at line 157 of file RunProcManager.h.

◆ mOn

std::string YarpRunProcInfo::mOn
protected

Definition at line 151 of file RunProcManager.h.

◆ mPidCmd

PID YarpRunProcInfo::mPidCmd
protected

Definition at line 153 of file RunProcManager.h.


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