OperationOr Class Reference

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

+ Inheritance diagram for OperationOr:

Public Member Functions

std::string getOperationString (const Ice::Current &c=Ice::emptyCurrent) override
 Retrieve string identifying the operation. More...
 
Ice::ObjectPtr ice_clone () const override
 Reimplementation of the ice_clone method. More...
 
 OperationOr (TermImplPtr a, TermImplPtr b)
 Constructs a logical OR operation on the two terms a and b. More...
 
void output (std::ostream &out) const override
 output operation to stream More...
 
void update (const Ice::Current &c=Ice::emptyCurrent) override
 Implementation for updating this term from its children in the expression tree. More...
 
void updateWithData (const Ice::Current &) override
 
- Public Member Functions inherited from Operation
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...
 
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

 OperationOr ()
 
- Protected Member Functions inherited from Operation
 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...
 

Friends

template<class BaseClass , class VariantClass >
class GenericFactory
 

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

OperationOr implements a logical OR operation within the expression tree.

Definition at line 124 of file Operations.h.

Constructor & Destructor Documentation

◆ OperationOr() [1/2]

Constructs a logical OR operation on the two terms a and b.

Parameters
afirst term
bsecond term

Definition at line 101 of file Operations.cpp.

+ Here is the call graph for this function:

◆ OperationOr() [2/2]

OperationOr ( )
protected

Definition at line 155 of file Operations.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ getOperationString()

std::string getOperationString ( const Ice::Current &  c = Ice::emptyCurrent)
override

Retrieve string identifying the operation.

Returns
string identifier

Definition at line 145 of file Operations.cpp.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
override

Reimplementation of the ice_clone method.

Returns
clone of the object

Definition at line 150 of file Operations.cpp.

+ Here is the call graph for this function:

◆ output()

void output ( std::ostream &  out) const
overridevirtual

output operation to stream

Parameters
outoutput stream

Implements TermImpl.

Definition at line 135 of file Operations.cpp.

◆ update()

void update ( const Ice::Current &  c = Ice::emptyCurrent)
override

Implementation for updating this term from its children in the expression tree.

Inherited from TermImpl.

Definition at line 109 of file Operations.cpp.

+ Here is the call graph for this function:

◆ updateWithData()

void updateWithData ( const Ice::Current &  )
override

Definition at line 121 of file Operations.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ GenericFactory

friend class GenericFactory
friend

Definition at line 129 of file Operations.h.


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