49 static inline SP::GPM_Port
New() {
56 static inline SP::GPM_Port
New(
const int&
id) {
63 static inline SP::GPM_Port
New(
const tString& groupName,
const int&
id) {
64 SP::GPM_Port p=
New(
id);
65 p->setGroupName(groupName);
95 return mAreCoordAutomatic;
100 mAreCoordAutomatic=isAutomatic;
virtual tString getGroupTypeName() const
get the default group type name
Definition: GPM_Port.h:88
virtual tBoolean setTriggerCoordinates(const tFlag &action, const double *value)
set trigger coordinate action
#define tBoolean
Definition: types.h:35
virtual ~GPM_Port(void)
destroy an object.
Definition: GPM_Port.cpp:10
virtual tBoolean setTriggerCoordinate(const tFlag &action, const int &k, const double &v)
set trigger coordinates action
Definition: GPM_Port.h:105
tBoolean areCoordinatesComputedByDefault() const
return true if the coordiantes of port are those computed by default
Definition: GPM_Port.h:94
This class describes a node.
Definition: GPM_Vertex.h:16
This class describes a port.
Definition: GPM_Port.h:16
static SP::GPM_Port New(const tString &groupName, const int &id)
create a port
Definition: GPM_Port.h:63
virtual tBoolean setTriggerCoordinates(const tFlag &action, const double *value)
set trigger coordinate action
Definition: GPM_Port.h:113
virtual SP::GPM_GraphElement NewInstance() const
create a new instance
Definition: GPM_Port.h:71
virtual tString toString() const
turn the class into string
Definition: GPM_Port.cpp:48
static SP::GPM_Port New(const int &id)
create a port
Definition: GPM_Port.h:56
static SP::GPM_Port New()
create a port
Definition: GPM_Port.h:49
virtual SP::GPM_Port NewCopyInstance() const
create a new instance
Definition: GPM_Port.h:76
virtual void copy(const GPM_GraphElement &node)
copy
Definition: GPM_Port.cpp:14
#define tString
Definition: types.h:36
virtual tBoolean loadFromStream(tString &tokenizer)
Definition: GPM_Port.cpp:22
virtual tBoolean setTriggerCoordinate(const tFlag &action, const int &k, const double &v)
set trigger coordinates action
Definition: GPM_Vertex.cpp:63
void setAreCoordinatesComputedByDefault(const tBoolean &isAutomatic)
set to true if the coordiantes of port are computed by default
Definition: GPM_Port.h:99
This class describes an element of a graph.
Definition: GPM_GraphElement.h:17
GPM_Port(void)
create an object
Definition: GPM_Port.cpp:3
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14