Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

GUINetTerminal.h

00001 // Copyright (C) 2001 Jean-Marc Valin
00002 
00003 #ifndef GUINETTERMINAL_H
00004 #define GUINETTERMINAL_H
00005 
00006 #include <gnome.h>
00007 #include <string>
00008 #include <libxml/tree.h>
00009 #include "UINetTerminal.h"
00010 
00011 namespace FD {
00012 
00013 class UINode;
00014 class UINetwork;
00015 class UITerminal;
00016 //struct xmlNode;
00017 
00018 class GUINetTerminal : public UINetTerminal {
00019 
00020 public:
00021    //enum NetTermType {INPUT, OUTPUT, CONDITION};
00022 
00023 protected:
00024    GnomeCanvasItem *item;
00025       
00026 public:
00027 
00028    GUINetTerminal(UITerminal *_terminal, NetTermType _type, const std::string &_name,
00029                   const std::string &_objType = "any", const std::string &_description = "No description available");
00030    void setup();
00031    ~GUINetTerminal();
00032    gint event(GdkEvent *event);
00033    std::string find_unique_name(const std::string &_name, NetTermType _type);
00034    void setAbsPos(double x, double y);
00035 
00036 };
00037 
00038 }//namespace FD
00039 
00040 #endif

Generated on Wed Oct 5 14:28:55 2005 for FlowDesigner by  doxygen 1.4.4