10 #include <AtomsGraph/Port.h>
11 #include <AtomsGraph/PortTraits.h>
12 #include <AtomsGraph/Node.h>
36 virtual std::string
typeStr()
const;
54 void set(
const T& value);
79 #include "PortTemplate.impl.h"
BasePort class.
Definition: Port.h:26
std::string name() const
Gets the port name.
Definition: Port.impl.h:40
Generic node port class.
Definition: PortTemplate.h:24
virtual void copyValue(Port *other)
Copy data from a port.
Definition: PortTemplate.impl.h:13
virtual std::string typeStr() const
Gets the type string of this node.
Definition: PortTemplate.impl.h:34
virtual void reset()
Reset port to the default value.
Definition: PortTemplate.impl.h:85
void setLink(T *value)
Set this port in link mode.
Definition: PortTemplate.impl.h:79
const T & getRef() const
Gets a reference of the port data.
Definition: PortTemplate.impl.h:58
static std::string staticTypeStr()
Gets the type string of this node type.
T get() const
Gets data.
Definition: PortTemplate.impl.h:48
void set(const T &value)
Sets the port data.
Definition: PortTemplate.impl.h:40
PortTemplate(const std::string &name)
Constructor.
Definition: PortTemplate.impl.h:20
~PortTemplate()
Destructor.
Definition: PortTemplate.impl.h:29
AtomsGraph namespace.
Definition: PosePort.h:15