1 #ifndef _CORBAPORTS_HXX_
2 #define _CORBAPORTS_HXX_
4 #include <omniORB4/CORBA.h>
6 #include "InputPort.hxx"
7 #include "OutputPort.hxx"
14 class InputCorbaPort : public InputPort
17 InputCorbaPort(const std::string& name, Node *node, TypeCode * type);
18 virtual void put(const void *data) throw(ConversionException);
19 void put(CORBA::Any *data) throw (ConversionException);
20 virtual CORBA::Any * getAny();
26 class OutputCorbaPort : public OutputPort
29 OutputCorbaPort(const std::string& name, Node *node, TypeCode * type);
30 virtual void put(const void *data) throw(ConversionException);
31 void put(CORBA::Any *data) throw (ConversionException);
32 virtual CORBA::Any * getAny();
33 virtual CORBA::Any * getAnyOut();
34 friend std::ostream & operator<< ( std::ostream &os,
35 const OutputCorbaPort& p);