Operation Class Reference

Operation is the superclass for all logical operators within an expression tree. More...

#include <ArmarXCore/observers/condition/Operations.h>

+ Inheritance diagram for Operation:

Public Member Functions

OperationType getOperationType (const Ice::Current &c=Ice::emptyCurrent) const override
 Retrieve the type of the operation.
 
- Public Member Functions inherited from TermImpl
void addChild (const TermImplBasePtr &child, const Ice::Current &c=Ice::emptyCurrent) override
 Add child to term.
 
TermImplSequence getChilds (const Ice::Current &c=Ice::emptyCurrent) override
 retrieve childs of this term in the expression tree.
 
StringVariantBaseMap getDatafields (const Ice::Current &) const override
 
TermImplBasePtr getParent (const Ice::Current &c=Ice::emptyCurrent) override
 retrieve parent of this term in the expression tree.
 
TermType getType (const Ice::Current &c=Ice::emptyCurrent) const override
 Retrieve type of term.
 
bool getValue (const Ice::Current &c=Ice::emptyCurrent) const override
 retrieve current value of term.
 
virtual void output (std::ostream &out) const =0
 output to stream.
 
void removeChildren ()
 
void update (const Ice::Current &c=Ice::emptyCurrent) override
 Updates the parent in the expression tree.
 
void updateWithData (const Ice::Current &c=Ice::emptyCurrent) override
 
 ~TermImpl () override
 Destructor of TermImpl.
 

Protected Member Functions

 Operation ()
 
- Protected Member Functions inherited from TermImpl
void __decRef () override
 Overwritten version of reference counting from GCShared.
 
void __incRef () override
 Overwritten version of reference counting from GCShared.
 
void resetParent (const Ice::Current &c=Ice::emptyCurrent) override
 Reset the parent of this term.
 
void setParent (const TermImplBasePtr &parent, const Ice::Current &c=Ice::emptyCurrent) override
 Sets the parent for this term in the expression tree.
 

Additional Inherited Members

- Static Protected Member Functions inherited from TermImpl
static int atomicDecAndTestValue (volatile int *counter, int value)
 atomicDecAndTestValue - decrement and test @v: pointer of type AtomicCounter @value: value to test for
 

Detailed Description

Operation is the superclass for all logical operators within an expression tree.

This superclass provides a getter for the type of operation and implements the slice OperationBase interface. Further it inherits the TermImpl superclass in order to be usable in an expression tree.

Constructor & Destructor Documentation

◆ Operation()

Operation ( )
protected

Member Function Documentation

◆ getOperationType()

OperationType getOperationType ( const Ice::Current & c = Ice::emptyCurrent) const
override

Retrieve the type of the operation.

Either eOperationAnd, eOperationOr, eOperationNot, or eUndefinedOperation.

Returns
type of the operation

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