Operation Class Reference

#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. More...
 
- Public Member Functions inherited from TermImpl
void addChild (const TermImplBasePtr &child, const Ice::Current &c=Ice::emptyCurrent) override
 Add child to term. More...
 
TermImplSequence getChilds (const Ice::Current &c=Ice::emptyCurrent) override
 retrieve childs of this term in the expression tree. More...
 
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. More...
 
TermType getType (const Ice::Current &c=Ice::emptyCurrent) const override
 Retrieve type of term. More...
 
bool getValue (const Ice::Current &c=Ice::emptyCurrent) const override
 retrieve current value of term. More...
 
virtual void output (std::ostream &out) const =0
 output to stream. More...
 
void removeChildren ()
 
void update (const Ice::Current &c=Ice::emptyCurrent) override
 Updates the parent in the expression tree. More...
 
void updateWithData (const Ice::Current &c=Ice::emptyCurrent) override
 
 ~TermImpl () override
 Destructor of TermImpl. More...
 

Protected Member Functions

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

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 More...
 

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.

Definition at line 48 of file Operations.h.

Constructor & Destructor Documentation

◆ Operation()

Operation ( )
protected

Definition at line 34 of file Operations.cpp.

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

Definition at line 29 of file Operations.cpp.


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