20 #ifndef __DATAPORT_HXX__
21 #define __DATAPORT_HXX__
47 static const char NAME[];
55 std::string
getName()
const {
return _name; }
56 void setName( std::string theName ) { _name = theName; }
57 std::string getNameOfTypeOfCurrentInstance()
const;
60 bool isDifferentTypeOf(
const DataPort *other)
const;
62 virtual std::string
typeName() {
return "YACS__ENGINE__DataPort";}
63 virtual std::string getAsString();
65 static DataPort *isCrossingType(
const std::vector<DataPort *>& historyOfLink);
#define YACSLIBENGINE_EXPORT
virtual void edRemoveAllLinksLinkedWithMe()=0
virtual TypeOfChannel getTypeOfChannel() const =0
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM.
virtual std::string typeName()
TypeCode * edGetType() const
void setName(std::string theName)
std::string getName() const
Base class for all nodes.
Base class for all ports.
Base class for all type objects.