LiteralImpls are the basic elements for defining conditional expressions.
More...
#include <ArmarXCore/observers/condition/LiteralImpl.h>
|
| CheckConfiguration | getCheckConfiguration (const Ice::Current &c=Ice::emptyCurrent) override |
| | Retrieve check configuration.
|
| |
| Ice::ObjectPtr | ice_clone () const override |
| | Reimplementation of the ice_clone method.
|
| |
| void | output (std::ostream &out) const override |
| | output to stream.
|
| |
| void | setValue (bool value, const Ice::Current &c=Ice::emptyCurrent) override |
| | Set value of LiteralImpl.
|
| |
| void | setValueAndData (bool value, const ::armarx::DataFieldIdentifierBasePtr &id, const ::armarx::VariantBasePtr &data, const Ice::Current &c=Ice::emptyCurrent) override |
| |
| 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.
|
| |
| 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.
|
| |
|
| void | createInstance () |
| |
| void | init (const std::string &dataFieldIdentifierStr, const std::string &checkName, const ParameterList &checkParameters) |
| |
| | LiteralImpl () |
| | Creates an empty LiteralImpl.
|
| |
| | LiteralImpl (const DataFieldIdentifier &dataFieldIdentifier, const std::string &checkName, const ParameterList &checkParameters) |
| | Creates a LiteralImpl using the DataFieldIdentifier type with multiple parameter.
|
| |
| | LiteralImpl (const DataFieldIdentifierPtr &dataFieldIdentifier, const std::string &checkName, const ParameterList &checkParameters) |
| | Creates a LiteralImpl using the DataFieldIdentifier type with multiple parameter.
|
| |
| | LiteralImpl (const DatafieldRefBasePtr &dataFieldIdentifier, const std::string &checkName, const ParameterList &checkParameters) |
| |
| | LiteralImpl (const std::string &dataFieldIdentifierStr, const std::string &checkName, const ParameterList &checkParameters) |
| | Creates a LiteralImpl using string as dataFieldIdentifier with multiple parameter.
|
| |
| | ~LiteralImpl () |
| |
| 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.
|
| |
|
| static int | atomicDecAndTestValue (volatile int *counter, int value) |
| | atomicDecAndTestValue - decrement and test @v: pointer of type AtomicCounter @value: value to test for
|
| |
LiteralImpls are the basic elements for defining conditional expressions.
LiteralImpl are leaves in the expression tree. Each LiteralImpl is associated to a ConditionCheck. The state of the LiteralImpl corresponds to the state of the ConditionCheck.
Definition at line 56 of file LiteralImpl.h.
◆ LiteralImpl() [1/5]
◆ ~LiteralImpl()
◆ LiteralImpl() [2/5]
| LiteralImpl |
( |
const std::string & | dataFieldIdentifierStr, |
|
|
const std::string & | checkName, |
|
|
const ParameterList & | checkParameters ) |
|
protected |
Creates a LiteralImpl using string as dataFieldIdentifier with multiple parameter.
See also createParameterList().
- Parameters
-
| dataFieldIdentifierStr | identifier of the datafield used by the condition in the form "observerName.channelName.datafieldName" |
| checkName | name of the condition check |
| checkParameter | parameter for the condition check |
Definition at line 56 of file LiteralImpl.cpp.
◆ LiteralImpl() [3/5]
Creates a LiteralImpl using the DataFieldIdentifier type with multiple parameter.
See also createParameterList()
- Parameters
-
| dataFieldIdentifier | identifier of the datafield used by the condition |
| checkName | name of the condition check |
| checkParameters | list of check parameters |
Definition at line 64 of file LiteralImpl.cpp.
◆ LiteralImpl() [4/5]
Creates a LiteralImpl using the DataFieldIdentifier type with multiple parameter.
See also createParameterList()
- Parameters
-
| dataFieldIdentifier | pointer to identifier of the datafield used by the condition |
| checkName | name of the condition check |
| checkParameters | list of check parameters |
Definition at line 72 of file LiteralImpl.cpp.
◆ LiteralImpl() [5/5]
| LiteralImpl |
( |
const DatafieldRefBasePtr & | dataFieldIdentifier, |
|
|
const std::string & | checkName, |
|
|
const ParameterList & | checkParameters ) |
|
protected |
◆ createInstance()
◆ getCheckConfiguration()
| CheckConfiguration getCheckConfiguration |
( |
const Ice::Current & | c = Ice::emptyCurrent | ) |
|
|
override |
Retrieve check configuration.
Inherited from LiteralImplBase
- Returns
- configuration of check
Definition at line 95 of file LiteralImpl.cpp.
◆ ice_clone()
| Ice::ObjectPtr ice_clone |
( |
| ) |
const |
|
override |
Reimplementation of the ice_clone method.
- Returns
- clone of the object
Definition at line 120 of file LiteralImpl.cpp.
◆ init()
| void init |
( |
const std::string & | dataFieldIdentifierStr, |
|
|
const std::string & | checkName, |
|
|
const ParameterList & | checkParameters ) |
|
protected |
◆ output()
| void output |
( |
std::ostream & | out | ) |
const |
|
overridevirtual |
◆ setValue()
| void setValue |
( |
bool | value, |
|
|
const Ice::Current & | c = Ice::emptyCurrent ) |
|
override |
◆ setValueAndData()
◆ ConditionHandler
◆ GenericFactory
template<class BaseClass, class VariantClass>
◆ Literal
◆ operator<< [1/2]
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const LiteralImpl & | rhs ) |
|
friend |
◆ operator<< [2/2]
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const LiteralImplPtr & | rhs ) |
|
friend |
The documentation for this class was generated from the following files: