|
Atoms Crowd
4.1.0
|
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"
virtual void copyValue(Port *other)
Copy data from a port.
Definition: PortTemplate.impl.h:13
std::string name() const
Gets the port name.
Definition: Port.impl.h:40
T get() const
Gets data.
Definition: PortTemplate.impl.h:48
const T & getRef() const
Gets a reference of the port data.
Definition: PortTemplate.impl.h:58
~PortTemplate()
Destructor.
Definition: PortTemplate.impl.h:29
virtual std::string typeStr() const
Gets the type string of this node.
Definition: PortTemplate.impl.h:34
static std::string staticTypeStr()
Gets the type string of this node type.
void setLink(T *value)
Set this port in link mode.
Definition: PortTemplate.impl.h:79
PortTemplate(const std::string &name)
Constructor.
Definition: PortTemplate.impl.h:20
Generic node port class.
Definition: PortTemplate.h:24
virtual void reset()
Reset port to the default value.
Definition: PortTemplate.impl.h:85
AtomsGraph namespace.
Definition: PosePort.h:15
BasePort class.
Definition: Port.h:26
void set(const T &value)
Sets the port data.
Definition: PortTemplate.impl.h:40