39 #ifndef RTT_CORBA_REMOTE_PORTS_HPP 40 #define RTT_CORBA_REMOTE_PORTS_HPP 42 #include "../../base/PortInterface.hpp" 43 #include "../../base/ChannelElement.hpp" 44 #include "../../InputPort.hpp" 45 #include "../../OutputPort.hpp" 61 template<
typename PortClass>
67 PortableServer::POA_var
mpoa;
73 CDataFlowInterface_ptr dataflow,
74 std::string
const& name,
75 PortableServer::POA_ptr poa);
88 using PortClass::disconnect;
102 std::string
const& name,
103 PortableServer::POA_ptr poa);
105 bool keepsLastWrittenValue()
const;
106 void keepLastWrittenValue(
bool new_flag);
129 typedef std::map<base::ChannelElementBase*,RTT::corba::CChannelElement_var> ChannelMap;
130 ChannelMap channel_map;
143 std::string
const& name,
144 PortableServer::POA_ptr poa);
bool createStream(const ConnPolicy &policy)
The base class for all internal data representations.
CDataFlowInterface_var dataflow
types::TypeInfo const * type_info
bool connectionAdded(base::ChannelElementBase::shared_ptr channel, ConnPolicy const &policy)
virtual bool addConnection(internal::ConnID *port_id, base::ChannelElementBase::shared_ptr channel_input, ConnPolicy const &policy)
A connection policy object describes how a given connection should behave.
The base class of each OutputPort.
types::TypeInfo const * getTypeInfo() const
virtual void disconnect()
Proxy for a remote output port.
RemotePort(types::TypeInfo const *type_info, CDataFlowInterface_ptr dataflow, std::string const &name, PortableServer::POA_ptr poa)
Contains the common CORBA management code for proxy port objects representing ports available through...
PortableServer::POA_ptr _default_POA()
bool createConnection(InputPortInterface &sink)
Connects this write port to the given read port, using as policy the default policy of the sink port...
A class for representing a user type, and which can build instances of that type. ...
internal::ConnID * getPortID() const
PortableServer::POA_var mpoa
CDataFlowInterface_ptr getDataFlowInterface() const
boost::intrusive_ptr< ChannelElementBase > shared_ptr
int serverProtocol() const
This class is used in places where a permanent representation of a reference to a connection is neede...
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
The base class of every data flow port.