YARP
Yet Another Robot Platform
yarp::manager::YarpdevYarprunBroker Class Reference

#include <yarp/manager/yarpdevbroker.h>

+ Inheritance diagram for yarp::manager::YarpdevYarprunBroker:

Public Member Functions

 YarpdevYarprunBroker ()
 
virtual ~YarpdevYarprunBroker ()
 
bool init (const char *szcmd, const char *szparam, const char *szhost, const char *szstdio, const char *szworkdir, const char *szenv) override
 
- Public Member Functions inherited from yarp::manager::YarpBroker
 YarpBroker ()
 
 ~YarpBroker () override
 
bool init () override
 
void fini () override
 
bool start () override
 
bool stop () override
 
bool kill () override
 
bool connect (const char *from, const char *to, const char *carrier, bool persist=false) override
 connection broker More...
 
bool disconnect (const char *from, const char *to, const char *carrier) override
 
bool rmconnect (const char *from, const char *to)
 
int running () override
 
bool exists (const char *port) override
 
const char * requestRpc (const char *szport, const char *request, double timeout) override
 
bool connected (const char *from, const char *to, const char *carrier) override
 
const char * error () override
 
bool initialized () override
 
bool attachStdout () override
 
void detachStdout () override
 
bool getSystemInfo (const char *server, yarp::os::SystemInfoSerializer &info)
 
bool getAllProcesses (const char *server, ProcessContainer &processes)
 
bool getAllPorts (std::vector< std::string > &stingList)
 
bool setQos (const char *from, const char *to, const char *qosFrom, const char *qosTo)
 
void run () override
 Loop function. More...
 
bool threadInit () override
 Initialization method. More...
 
void threadRelease () override
 Release method. More...
 
- Public Member Functions inherited from yarp::manager::Broker
 Broker ()
 
virtual ~Broker ()
 
void setEventSink (BrokerEventSink *pEventSink)
 
unsigned int generateID ()
 
void enableWatchDog ()
 
void disableWatchDog ()
 
bool hasWatchDog ()
 
void setDisplay (const char *szDisplay)
 
const char * getDisplay () const
 
- Public Member Functions inherited from yarp::os::PeriodicThread
 PeriodicThread (double period, ShouldUseSystemClock useSystemClock=ShouldUseSystemClock::No)
 Constructor. More...
 
virtual ~PeriodicThread ()
 
bool start ()
 Call this to start the thread. More...
 
void step ()
 Call this to "step" the thread rather than starting it. More...
 
void stop ()
 Call this to stop the thread, this call blocks until the thread is terminated (and releaseThread() called). More...
 
void askToStop ()
 Stop the thread. More...
 
bool isRunning () const
 Returns true when the thread is started, false otherwise. More...
 
bool isSuspended () const
 Returns true when the thread is suspended, false otherwise. More...
 
bool setPeriod (double period)
 Set the (new) period of the thread. More...
 
double getPeriod () const
 Return the current period of the thread. More...
 
void suspend ()
 Suspend the thread, the thread keeps running by doLoop is never executed. More...
 
void resume ()
 Resume the thread if previously suspended. More...
 
void resetStat ()
 Reset thread statistics. More...
 
double getEstimatedPeriod () const
 Return estimated period since last reset. More...
 
void getEstimatedPeriod (double &av, double &std) const
 Return estimated period since last reset. More...
 
unsigned int getIterations () const
 Return the number of iterations performed since last reset. More...
 
double getEstimatedUsed () const
 Return the estimated duration of the run() function since last reset. More...
 
void getEstimatedUsed (double &av, double &std) const
 Return estimated duration of the run() function since last reset. More...
 
int setPriority (int priority, int policy=-1)
 Set the priority and scheduling policy of the thread, if the OS supports that. More...
 
int getPriority () const
 Query the current priority of the thread, if the OS supports that. More...
 
int getPolicy () const
 Query the current scheduling policy of the thread, if the OS supports that. More...
 

Additional Inherited Members

- Protected Member Functions inherited from yarp::os::PeriodicThread
virtual void beforeStart ()
 Called just before a new thread starts. More...
 
virtual void afterStart (bool success)
 Called just after a new thread starts (or fails to start), this is executed by the same thread that calls start(). More...
 
- Protected Attributes inherited from yarp::manager::Broker
unsigned int UNIQUEID
 
BrokerEventSinkeventSink
 
bool bWithWatchDog
 
std::string strDisplay
 

Detailed Description

Definition at line 44 of file yarpdevbroker.h.

Constructor & Destructor Documentation

◆ YarpdevYarprunBroker()

yarp::manager::YarpdevYarprunBroker::YarpdevYarprunBroker ( )
inline

Definition at line 48 of file yarpdevbroker.h.

◆ ~YarpdevYarprunBroker()

virtual yarp::manager::YarpdevYarprunBroker::~YarpdevYarprunBroker ( )
inlinevirtual

Definition at line 49 of file yarpdevbroker.h.

Member Function Documentation

◆ init()

bool yarp::manager::YarpdevYarprunBroker::init ( const char *  szcmd,
const char *  szparam,
const char *  szhost,
const char *  szstdio,
const char *  szworkdir,
const char *  szenv 
)
inlineoverridevirtual

Reimplemented from yarp::manager::YarpBroker.

Definition at line 51 of file yarpdevbroker.h.


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