Yet Another Robot Platform
YarpRunInfoVector Class Reference

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

Public Member Functions

 YarpRunInfoVector ()
 ~YarpRunInfoVector ()
int Size ()
bool Add (YarpRunProcInfo *process)
int Signal (std::string &alias, int signum)
int Killall (int signum)
bool CleanZombie (int zombie)
yarp::os::Bottle PS ()
bool IsRunning (std::string &alias)

Public Attributes

std::mutex mutex

Protected Member Functions

void Pack ()

Protected Attributes

int m_nProcesses
YarpRunProcInfom_apList [MAX_PROCESSES]

Static Protected Attributes

static const int MAX_PROCESSES =1024

Detailed Description

Definition at line 165 of file RunProcManager.h.

Constructor & Destructor Documentation

◆ YarpRunInfoVector()

YarpRunInfoVector::YarpRunInfoVector ( )

Definition at line 159 of file RunProcManager.cpp.

◆ ~YarpRunInfoVector()

YarpRunInfoVector::~YarpRunInfoVector ( )

Definition at line 169 of file RunProcManager.cpp.

Member Function Documentation

◆ Add()

bool YarpRunInfoVector::Add ( YarpRunProcInfo process)

Definition at line 194 of file RunProcManager.cpp.

◆ CleanZombie()

bool YarpRunInfoVector::CleanZombie ( int  zombie)

Definition at line 316 of file RunProcManager.cpp.

◆ IsRunning()

bool YarpRunInfoVector::IsRunning ( std::string &  alias)

Definition at line 391 of file RunProcManager.cpp.

◆ Killall()

int YarpRunInfoVector::Killall ( int  signum)

Definition at line 252 of file RunProcManager.cpp.

◆ Pack()

void YarpRunInfoVector::Pack ( )

Definition at line 417 of file RunProcManager.cpp.

◆ PS()

yarp::os::Bottle YarpRunInfoVector::PS ( )

Definition at line 348 of file RunProcManager.cpp.

◆ Signal()

int YarpRunInfoVector::Signal ( std::string &  alias,
int  signum 

Definition at line 224 of file RunProcManager.cpp.

◆ Size()

int YarpRunInfoVector::Size ( )

Definition at line 171 of file RunProcManager.h.

Member Data Documentation

◆ m_apList

YarpRunProcInfo* YarpRunInfoVector::m_apList[MAX_PROCESSES]

Definition at line 193 of file RunProcManager.h.

◆ m_nProcesses

int YarpRunInfoVector::m_nProcesses

Definition at line 192 of file RunProcManager.h.

◆ m_pStdioMate

YarpRunInfoVector* YarpRunInfoVector::m_pStdioMate

Definition at line 194 of file RunProcManager.h.


const int YarpRunInfoVector::MAX_PROCESSES =1024

Definition at line 191 of file RunProcManager.h.

◆ mutex

std::mutex YarpRunInfoVector::mutex

Definition at line 186 of file RunProcManager.h.

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