OperationAnd Class Reference

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

+ Inheritance diagram for OperationAnd:

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...
 
 OperationAnd (TermImplPtr a, TermImplPtr b)
 Constructs a logical AND 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

 OperationAnd ()
 
- 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

OperationAnd implements a logical AND operation within the expression tree.

Definition at line 72 of file Operations.h.

Constructor & Destructor Documentation

◆ OperationAnd() [1/2]

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

Parameters
afirst term
bsecond term

Definition at line 41 of file Operations.cpp.

+ Here is the call graph for this function:

◆ OperationAnd() [2/2]

OperationAnd ( )
protected

Definition at line 95 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 85 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 90 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 75 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 48 of file Operations.cpp.

+ Here is the call graph for this function:

◆ updateWithData()

void updateWithData ( const Ice::Current &  )
override

Definition at line 60 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 77 of file Operations.h.


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