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

#include <yarp/manager/logicresource.h>

+ Inheritance diagram for yarp::manager::ResYarpPort:

Public Member Functions

 ResYarpPort ()
 Class ResYarpPort. More...
 
 ResYarpPort (const char *szName)
 
 ~ResYarpPort () override
 
void setPort (const char *szPort)
 
const char * getPort ()
 
void setRequest (const char *szReq)
 
void setReply (const char *szRep)
 
const char * getRequest ()
 
const char * getReply ()
 
void setTimeout (double t)
 
double getTimeout ()
 
Nodeclone () override
 
bool satisfy (GenericResource *resource) override
 
- Public Member Functions inherited from yarp::manager::GenericResource
 GenericResource (const char *szTypeName)
 Class GenericResource. More...
 
 ~GenericResource () override
 
void setAvailability (bool flag)
 
bool getAvailability ()
 
void setDisable (bool flag)
 
bool getDisable ()
 
void setName (const char *szName)
 
const char * getName ()
 
void setDescription (const char *szDesc)
 
const char * getDescription ()
 
const char * getTypeName ()
 
void setOwner (Node *owner)
 
Nodeowner ()
 
void setXmlFile (const char *szFilename)
 
const char * getXmlFile ()
 
bool operator== (const GenericResource &res) const
 
- Public Member Functions inherited from yarp::manager::Node
 Node (NodeType _type)
 
 Node (NodeType _type, const char *szLabel)
 
virtual ~Node ()
 
void setSatisfied (bool sat)
 
bool isSatisfied ()
 
void setVisited (bool vis)
 
bool isVisited ()
 
bool isLeaf ()
 
NodeType getType ()
 
void setLabel (const char *szLabel)
 
const char * getLabel ()
 
int sucCount ()
 
LinkgetLinkAt (int index)
 
bool addSuc (Node *node, float weight, bool _virtual=false)
 class Node More...
 
bool removeSuc (Node *node)
 
void removeAllSuc ()
 
bool hasSuc (Node *node)
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 

Detailed Description

Definition at line 46 of file logicresource.h.

Constructor & Destructor Documentation

◆ ResYarpPort() [1/2]

ResYarpPort::ResYarpPort ( )

Class ResYarpPort.

Definition at line 63 of file logicresource.cpp.

◆ ResYarpPort() [2/2]

ResYarpPort::ResYarpPort ( const char *  szName)

Definition at line 69 of file logicresource.cpp.

◆ ~ResYarpPort()

ResYarpPort::~ResYarpPort ( )
overridedefault

Member Function Documentation

◆ clone()

Node * ResYarpPort::clone ( )
overridevirtual

Implements yarp::manager::Node.

Definition at line 75 of file logicresource.cpp.

◆ getPort()

const char* yarp::manager::ResYarpPort::getPort ( )
inline

Definition at line 53 of file logicresource.h.

◆ getReply()

const char* yarp::manager::ResYarpPort::getReply ( )
inline

Definition at line 57 of file logicresource.h.

◆ getRequest()

const char* yarp::manager::ResYarpPort::getRequest ( )
inline

Definition at line 56 of file logicresource.h.

◆ getTimeout()

double yarp::manager::ResYarpPort::getTimeout ( )
inline

Definition at line 59 of file logicresource.h.

◆ satisfy()

bool ResYarpPort::satisfy ( GenericResource resource)
overridevirtual

Implements yarp::manager::GenericResource.

Definition at line 81 of file logicresource.cpp.

◆ setPort()

void yarp::manager::ResYarpPort::setPort ( const char *  szPort)
inline

Definition at line 52 of file logicresource.h.

◆ setReply()

void yarp::manager::ResYarpPort::setReply ( const char *  szRep)
inline

Definition at line 55 of file logicresource.h.

◆ setRequest()

void yarp::manager::ResYarpPort::setRequest ( const char *  szReq)
inline

Definition at line 54 of file logicresource.h.

◆ setTimeout()

void yarp::manager::ResYarpPort::setTimeout ( double  t)
inline

Definition at line 58 of file logicresource.h.


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