]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Port.hxx
Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / engine / Port.hxx
index b886c01553494d092c9bdebe322b1d54be5f2bc4..94ae2d288e14a4bd970ea9c2c391cf8c09c53070 100644 (file)
@@ -1,23 +1,23 @@
 #ifndef __PORT_HXX__
 #define __PORT_HXX__
 
-#include "TypeCode.hxx"
 #include <string>
 
-
-/**
- * Not instanciable class that factorizes all basic data and behaviours relative 
- * to the in and out interfaces of all nodes.
- * End-user should neither instanciate a sub-class of 'Port' 
- * nore call other methods than accessor.
- */
-
 namespace YACS
 {
   namespace ENGINE
   {
     class Node;
 
+/*! \brief Base class for all ports
+ *
+ * Not instanciable class that factorizes all basic data and behaviours relative 
+ * to the in and out interfaces of all nodes.
+ * End-user should neither instanciate a sub-class of 'Port' 
+ * nor call other methods than accessor.
+ *
+ * \ingroup Ports
+ */
     class Port
     {
     public:
@@ -25,6 +25,8 @@ namespace YACS
       Node *getNode() const { return _node; }
       virtual std::string getNameOfTypeOfCurrentInstance() const;
       int getNumId() const { return _id; }
+      virtual std::string typeName() {return "YACS__ENGINE__Port";}
+      void modified();
     protected:
       Port(Node *node);
       Port(const Port& other, Node *newHelder);