32#include <ArmarXCore/interface/observers/TermImplBase.h>
66 void addChild(
const TermImplBasePtr& child,
67 const Ice::Current&
c = Ice::emptyCurrent)
override;
74 TermImplSequence
getChilds(
const Ice::Current&
c = Ice::emptyCurrent)
override;
81 TermImplBasePtr
getParent(
const Ice::Current&
c = Ice::emptyCurrent)
override;
88 bool getValue(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
97 TermType
getType(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
102 void update(
const Ice::Current&
c = Ice::emptyCurrent)
override;
104 void updateWithData(
const Ice::Current&
c = Ice::emptyCurrent)
override;
111 virtual void output(std::ostream& out)
const = 0;
141 void removeChildren();
149 void setParent(
const TermImplBasePtr& parent,
150 const Ice::Current&
c = Ice::emptyCurrent)
override;
155 void resetParent(
const Ice::Current&
c = Ice::emptyCurrent)
override;
168 static inline int atomicDecAndTestValue(
volatile int* counter,
int value);
178 void __incRef()
override;
188 void __decRef()
override;
191extern template class ::IceInternal::Handle<::armarx::TermImpl>;
std::ostream & operator<<(std::ostream &strm, const AbstractInterface &a)
#define ARMARXCORE_IMPORT_EXPORT
TermImpl is the superclass for all implementations of terms in the expression tree,...
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
StringVariantBaseMap getDatafields(const Ice::Current &) const override
bool getValue(const Ice::Current &c=Ice::emptyCurrent) const override
retrieve current value of term.
void addChild(const TermImplBasePtr &child, const Ice::Current &c=Ice::emptyCurrent) override
Add child to term.
virtual void output(std::ostream &out) const =0
output to stream.
TermType getType(const Ice::Current &c=Ice::emptyCurrent) const override
Retrieve type of term.
TermImplSequence getChilds(const Ice::Current &c=Ice::emptyCurrent) override
retrieve childs of this term in the expression tree.
TermImplBasePtr getParent(const Ice::Current &c=Ice::emptyCurrent) override
retrieve parent of this term in the expression tree.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::map< std::string, VariantBasePtr > StringVariantBaseMap
IceInternal::Handle< TermImpl > TermImplPtr
Typedef of TermImplPtr as IceInternal::Handle<TermImpl> for convenience.