Public Types | Public Member Functions | List of all members
RTT::base::MultipleInputsMultipleOutputsChannelElementBase Class Reference

#include <ChannelElementBase.hpp>

Inheritance diagram for RTT::base::MultipleInputsMultipleOutputsChannelElementBase:
Inheritance graph
[legend]

Public Types

typedef boost::intrusive_ptr< MultipleInputsMultipleOutputsChannelElementBaseshared_ptr
 
- Public Types inherited from RTT::base::MultipleInputsChannelElementBase
typedef std::list< ChannelElementBase::shared_ptrInputs
 
typedef boost::intrusive_ptr< MultipleInputsChannelElementBaseshared_ptr
 
- Public Types inherited from RTT::base::ChannelElementBase
typedef boost::intrusive_ptr< ChannelElementBaseshared_ptr
 
- Public Types inherited from RTT::base::MultipleOutputsChannelElementBase
typedef std::list< OutputOutputs
 
typedef boost::intrusive_ptr< MultipleOutputsChannelElementBaseshared_ptr
 

Public Member Functions

virtual bool connected ()
 
virtual bool disconnect (ChannelElementBase::shared_ptr const &channel, bool forward)
 
- Public Member Functions inherited from RTT::base::MultipleInputsChannelElementBase
virtual void clear ()
 
virtual bool inputReady (ChannelElementBase::shared_ptr const &caller)
 
 MultipleInputsChannelElementBase ()
 
bool signalFrom (ChannelElementBase *caller)
 
- Public Member Functions inherited from RTT::base::ChannelElementBase
 ChannelElementBase ()
 
virtual bool connectFrom (ChannelElementBase::shared_ptr const &input)
 
virtual bool connectTo (ChannelElementBase::shared_ptr const &output, bool mandatory=true)
 
virtual void disconnect (bool forward)
 
virtual const ConnPolicygetConnPolicy () const
 
virtual std::string getElementName () const
 
shared_ptr getInput ()
 
virtual shared_ptr getInputEndPoint ()
 
virtual std::string getLocalURI () const
 
shared_ptr getOutput ()
 
virtual shared_ptr getOutputEndPoint ()
 
virtual PortInterfacegetPort () const
 
virtual std::string getRemoteURI () const
 
virtual bool isRemoteElement () const
 
template<typename T >
ChannelElement< T > * narrow ()
 
RTT_DEPRECATED void setInput (const ChannelElementBase::shared_ptr &input)
 
RTT_DEPRECATED void setOutput (const ChannelElementBase::shared_ptr &output)
 
virtual ~ChannelElementBase ()
 
- Public Member Functions inherited from RTT::base::MultipleOutputsChannelElementBase
virtual bool channelReady (ChannelElementBase::shared_ptr const &caller, ConnPolicy const &policy, internal::ConnID *conn_id=0)
 
 MultipleOutputsChannelElementBase ()
 
virtual bool signal ()
 

Additional Inherited Members

- Static Public Member Functions inherited from RTT::base::ChannelElementBase
template<typename T >
static ChannelElement< T > * narrow (ChannelElementBase *e)
 
- Protected Member Functions inherited from RTT::base::MultipleInputsChannelElementBase
virtual bool addInput (ChannelElementBase::shared_ptr const &input)
 
virtual void removeInput (ChannelElementBase::shared_ptr const &input)
 
- Protected Member Functions inherited from RTT::base::ChannelElementBase
void deref ()
 
void ref ()
 
- Protected Member Functions inherited from RTT::base::MultipleOutputsChannelElementBase
virtual bool addOutput (ChannelElementBase::shared_ptr const &output, bool mandatory=true)
 
void removeDisconnectedOutputs ()
 
virtual void removeOutput (ChannelElementBase::shared_ptr const &output)
 
- Protected Attributes inherited from RTT::base::MultipleInputsChannelElementBase
Inputs inputs
 
RTT::os::SharedMutex inputs_lock
 
- Protected Attributes inherited from RTT::base::ChannelElementBase
shared_ptr input
 
RTT::os::SharedMutex input_lock
 
shared_ptr output
 
RTT::os::SharedMutex output_lock
 
- Protected Attributes inherited from RTT::base::MultipleOutputsChannelElementBase
Outputs outputs
 
RTT::os::SharedMutex outputs_lock
 

Detailed Description

ChannelElementBase variant with multiple input and multiple output channels.

Definition at line 462 of file ChannelElementBase.hpp.

Member Typedef Documentation

Definition at line 465 of file ChannelElementBase.hpp.

Member Function Documentation

bool MultipleInputsMultipleOutputsChannelElementBase::connected ( )
virtual

Returns true, if this channel element has at least one input AND at least one output.

Reimplemented from RTT::base::MultipleInputsChannelElementBase.

Definition at line 431 of file ChannelInterface.cpp.

bool MultipleInputsMultipleOutputsChannelElementBase::disconnect ( ChannelElementBase::shared_ptr const &  channel,
bool  forward 
)
virtual

Overridden implementation of ChannelElementBase::disconnect(forward, channel).

Reimplemented from RTT::base::MultipleInputsChannelElementBase.

Definition at line 436 of file ChannelInterface.cpp.


The documentation for this class was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:42