Go to the documentation of this file.
29 #include <MemoryX/interface/core/EntityBase.h>
30 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
34 template <
class IceBaseClass,
class DerivedClass>
class GenericFactory;
51 virtual public GraphNodeBase,
54 template <
class IceBaseClass,
class DerivedClass>
61 GraphNode(const ::armarx::FramedPoseBasePtr pose,
const std::string& nodeName,
const std::string& scene);
71 GraphNode(
float x,
float y,
float alpha,
const std::string& nodeName,
const std::string& scene);
76 ::armarx::FramedPoseBasePtr
getPose(const ::Ice::Current& = Ice::emptyCurrent)
const override;
77 void setPose(const ::armarx::FramedPoseBasePtr& pose, const ::Ice::Current& = Ice::emptyCurrent)
override;
78 ::std::string
getScene(const ::Ice::Current& = Ice::emptyCurrent)
const override;
79 void setScene(
const std::string& scene, const ::Ice::Current& = Ice::emptyCurrent)
override;
82 ::memoryx::EntityRefBasePtr
getAdjacentNodeById(
const std::string& nodeId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
83 memoryx::GraphNodeBaseList
getAdjacentNodes(
const Ice::Current&
c = Ice::emptyCurrent)
override;
85 int getOutdegree(const ::Ice::Current& = Ice::emptyCurrent)
const override;
86 void addAdjacentNode(const ::memoryx::EntityRefBasePtr& newAdjacentNode, const ::Ice::Current&
c = Ice::emptyCurrent)
override;
void addAdjacentNode(const ::memoryx::EntityRefBasePtr &newAdjacentNode, const ::Ice::Current &c=Ice::emptyCurrent) override
Implementation of the ice interface GraphNodeBase.
GraphNodePtr clone(const Ice::Current &=Ice::emptyCurrent) const
::memoryx::EntityRefBasePtr getAdjacentNodeById(const std::string &nodeId, const Ice::Current &c=Ice::emptyCurrent) override
int getOutdegree(const ::Ice::Current &=Ice::emptyCurrent) const override
::armarx::FramedPoseBasePtr getPose(const ::Ice::Current &=Ice::emptyCurrent) const override
Ice::ObjectPtr ice_clone() const override
::memoryx::EntityRefBasePtr getAdjacentNode(::Ice::Int i, const ::Ice::Current &=Ice::emptyCurrent) override
const armarx::VariantTypeId GraphNode
void setScene(const std::string &scene, const ::Ice::Current &=Ice::emptyCurrent) override
void clearAdjacentNodes(const ::Ice::Current &=Ice::emptyCurrent) override
static const std::string GRAPH_NODE_ATTR_SCENE
memoryx::GraphNodeBaseList getAdjacentNodes(const Ice::Current &c=Ice::emptyCurrent) override
float getYawAngle() const
void setPose(const ::armarx::FramedPoseBasePtr &pose, const ::Ice::Current &=Ice::emptyCurrent) override
bool removeAdjacentNode(const std::string &nodeId, const Ice::Current &) override
std::shared_ptr< Object > ObjectPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
static VariantTypeId addTypeName(const std::string &typeName)
Register a new type for the use in a Variant.
::std::string getScene(const ::Ice::Current &=Ice::emptyCurrent) const override