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

#include <yarp/manager/binexparser.h>

+ Inheritance diagram for yarp::manager::BinaryNode:

Public Member Functions

 BinaryNode (const char *opd)
 
 BinaryNode (const char *opt, BinaryNode *left, BinaryNode *right)
 
 ~BinaryNode () override=default
 
Nodeclone () override
 
BinaryNodeleftOf ()
 
BinaryNoderightOf ()
 
bool getValue ()
 
void setValue (bool val)
 
const char * getName ()
 
- 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 32 of file binexparser.h.

Constructor & Destructor Documentation

◆ BinaryNode() [1/2]

yarp::manager::BinaryNode::BinaryNode ( const char *  opd)
inline

Definition at line 36 of file binexparser.h.

◆ BinaryNode() [2/2]

yarp::manager::BinaryNode::BinaryNode ( const char *  opt,
BinaryNode left,
BinaryNode right 
)
inline

Definition at line 44 of file binexparser.h.

◆ ~BinaryNode()

yarp::manager::BinaryNode::~BinaryNode ( )
overridedefault

Member Function Documentation

◆ clone()

Node* yarp::manager::BinaryNode::clone ( )
inlineoverridevirtual

Implements yarp::manager::Node.

Definition at line 63 of file binexparser.h.

◆ getName()

const char* yarp::manager::BinaryNode::getName ( )
inline

Definition at line 85 of file binexparser.h.

◆ getValue()

bool yarp::manager::BinaryNode::getValue ( )
inline

Definition at line 82 of file binexparser.h.

◆ leftOf()

BinaryNode* yarp::manager::BinaryNode::leftOf ( )
inline

Definition at line 68 of file binexparser.h.

◆ rightOf()

BinaryNode* yarp::manager::BinaryNode::rightOf ( )
inline

Definition at line 75 of file binexparser.h.

◆ setValue()

void yarp::manager::BinaryNode::setValue ( bool  val)
inline

Definition at line 83 of file binexparser.h.


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