Go to the documentation of this file.
27 #include <MemoryX/interface/core/EntityBase.h>
28 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
45 Affordance(
const std::string& name =
"",
const std::string&
id =
"");
47 void setType(AffordanceType type,
const Ice::Current&
c = Ice::emptyCurrent)
override;
48 AffordanceType
getType(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
50 void setPosition(
const armarx::Vector3BasePtr& position,
const Ice::Current&
c = Ice::emptyCurrent)
override;
51 armarx::Vector3BasePtr
getPosition(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
53 void setPrimitiveId(
const std::string&
id,
const Ice::Current&
c = Ice::emptyCurrent)
override;
54 std::string
getPrimitiveId(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
57 AffordanceValidationStatus
getValidationStatus(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
59 float getProbability(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
60 void setProbability(
float probability,
const Ice::Current&
c = Ice::emptyCurrent)
override;
62 armarx::TimestampBasePtr
getTime(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
63 void setTime(
const armarx::TimestampBasePtr& time,
const Ice::Current&
c = Ice::emptyCurrent)
override;
65 armarx::MatrixFloatBasePtr
getCertaintyFunction(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
66 void setCertaintyFunction(
const armarx::MatrixFloatBasePtr& certainties,
const Ice::Current&
c = Ice::emptyCurrent)
override;
68 memoryx::AffordanceObservationList
getObservations(
const Ice::Current&
c = Ice::emptyCurrent)
const override;
69 void setObservations(
const memoryx::AffordanceObservationList& observations,
const Ice::Current&
c = Ice::emptyCurrent)
override;
70 void addObservation(
const armarx::MatrixFloatBasePtr& observation,
const Ice::Current&
c = Ice::emptyCurrent)
override;
armarx::MatrixFloatBasePtr getCertaintyFunction(const Ice::Current &c=Ice::emptyCurrent) const override
armarx::Vector3BasePtr getPosition(const Ice::Current &c=Ice::emptyCurrent) const override
std::string getPrimitiveId(const Ice::Current &c=Ice::emptyCurrent) const override
void setObservations(const memoryx::AffordanceObservationList &observations, const Ice::Current &c=Ice::emptyCurrent) override
Affordance(const std::string &name="", const std::string &id="")
void setValidationStatus(AffordanceValidationStatus status, const Ice::Current &c=Ice::emptyCurrent) override
void setType(AffordanceType type, const Ice::Current &c=Ice::emptyCurrent) override
std::string getTypeName() const
Ice::ObjectPtr ice_clone() const override
memoryx::AffordanceObservationList getObservations(const Ice::Current &c=Ice::emptyCurrent) const override
void setTime(const armarx::TimestampBasePtr &time, const Ice::Current &c=Ice::emptyCurrent) override
void setPosition(const armarx::Vector3BasePtr &position, const Ice::Current &c=Ice::emptyCurrent) override
AffordancePtr clone(const Ice::Current &c=Ice::emptyCurrent) const
void addObservation(const armarx::MatrixFloatBasePtr &observation, const Ice::Current &c=Ice::emptyCurrent) override
float getProbability(const Ice::Current &c=Ice::emptyCurrent) const override
void setProbability(float probability, const Ice::Current &c=Ice::emptyCurrent) override
std::shared_ptr< Object > ObjectPtr
AffordanceType getType(const Ice::Current &c=Ice::emptyCurrent) const override
AffordanceValidationStatus getValidationStatus(const Ice::Current &c=Ice::emptyCurrent) const override
armarx::TimestampBasePtr getTime(const Ice::Current &c=Ice::emptyCurrent) const override
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
void setPrimitiveId(const std::string &id, const Ice::Current &c=Ice::emptyCurrent) override
void setCertaintyFunction(const armarx::MatrixFloatBasePtr &certainties, const Ice::Current &c=Ice::emptyCurrent) override