46 #ifndef CONNECTIONMANAGER_HPP_ 47 #define CONNECTIONMANAGER_HPP_ 53 #include "../ConnPolicy.hpp" 54 #include "../os/Mutex.hpp" 55 #include "../base/rtt-base-fwd.hpp" 56 #include "../base/ChannelElementBase.hpp" 57 #include <boost/tuple/tuple.hpp> 58 #include <boost/function.hpp> 59 #include <boost/bind.hpp> 60 #include <boost/shared_ptr.hpp> 104 bool addConnection(
ConnID* port_id, base::ChannelElementBase::shared_ptr channel,
ConnPolicy policy);
106 bool removeConnection(
ConnID* port_id,
bool disconnect =
true);
117 bool connected()
const;
144 return shared_connection;
167 Connections::iterator eraseConnection(
const Connections::iterator& descriptor,
bool disconnect);
boost::intrusive_ptr< SharedConnectionBase > shared_ptr
internal::SharedConnectionBase::shared_ptr shared_connection
std::list< ChannelDescriptor > Connections
base::PortInterface * mport
boost::tuple< boost::shared_ptr< ConnID >, base::ChannelElementBase::shared_ptr, ConnPolicy > ChannelDescriptor
boost::intrusive_ptr< ChannelElementBase > shared_ptr
Connections getConnections() const
bool isSingleConnection() const
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
std::list< ChannelDescriptor > connections
internal::SharedConnectionBase::shared_ptr getSharedConnection() const