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;
61 virtual void edRemoveAllLinksLinkedWithMe() throw(
Exception) = 0;
62 virtual std::
string typeName() {
return "YACS__ENGINE__DataPort";}
63 virtual std::string getAsString();
65 static DataPort *isCrossingType(
const std::vector<DataPort *>& historyOfLink);