00001 #ifndef __DisconnectingConnectionEvent_h_seen__ 00002 #define __DisconnectingConnectionEvent_h_seen__ 00003 00005 class DisconnectingConnectionEvent 00006 : public virtual ccafeopq::connectionevents::ConnectionEvent 00007 { 00008 00009 private: 00010 ccafeopq::PortInfo *pi; // delete me 00011 bool prechange; 00012 ::ccafeopq::TypeMap_shared ctm; 00013 ::std::string tpn; 00014 ::std::string tpt; 00015 00016 public: 00017 DisconnectingConnectionEvent( UserPortData & upd); 00018 DisconnectingConnectionEvent( ProviderPortData & ppd); 00019 virtual ~DisconnectingConnectionEvent(); 00020 00022 virtual bool preChange(); 00023 virtual void setpreChange(bool pc); 00024 00026 virtual int connected(); 00027 00029 virtual int disconnected(); 00030 00031 virtual std::string getName(); 00032 00033 virtual std::string getType(); 00034 00036 virtual ccafeopq::TypeMap_shared getProperties(); 00037 00039 virtual void * getOpqTypeMapSharedPtrAddress(); 00040 00041 }; 00042 00043 #endif // __DisconnectingConnectionEvent_h_seen__