#include <ChannelElement.hpp>
Public Types | |
typedef ChannelElement< T >::param_t | param_t |
typedef ChannelElement< T >::reference_t | reference_t |
typedef boost::intrusive_ptr< MultipleInputsChannelElement< T > > | shared_ptr |
typedef ChannelElement< T >::value_t | value_t |
Public Types inherited from RTT::base::MultipleOutputsChannelElementBase | |
typedef std::list< Output > | Outputs |
typedef boost::intrusive_ptr< MultipleOutputsChannelElementBase > | shared_ptr |
Public Types inherited from RTT::base::ChannelElementBase | |
typedef boost::intrusive_ptr< ChannelElementBase > | shared_ptr |
Public Types inherited from RTT::base::ChannelElement< T > | |
typedef boost::call_traits< T >::param_type | param_t |
typedef boost::call_traits< T >::reference | reference_t |
typedef boost::intrusive_ptr< ChannelElement< T > > | shared_ptr |
typedef T | value_t |
Public Member Functions | |
virtual WriteStatus | data_sample (param_t sample, bool reset=true) |
virtual WriteStatus | write (param_t sample) |
Public Member Functions inherited from RTT::base::MultipleOutputsChannelElementBase | |
virtual bool | channelReady (ChannelElementBase::shared_ptr const &caller, ConnPolicy const &policy, internal::ConnID *conn_id=0) |
virtual bool | connected () |
virtual bool | disconnect (ChannelElementBase::shared_ptr const &channel, bool forward=false) |
MultipleOutputsChannelElementBase () | |
virtual bool | signal () |
Public Member Functions inherited from RTT::base::ChannelElementBase | |
ChannelElementBase () | |
virtual void | clear () |
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 ConnPolicy * | getConnPolicy () 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 PortInterface * | getPort () const |
virtual std::string | getRemoteURI () const |
virtual bool | inputReady (ChannelElementBase::shared_ptr const &caller) |
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 bool | signalFrom (ChannelElementBase *) |
virtual | ~ChannelElementBase () |
Public Member Functions inherited from RTT::base::ChannelElement< T > | |
virtual value_t | data_sample () |
shared_ptr | getInput () |
shared_ptr | getOutput () |
virtual FlowStatus | read (reference_t sample, bool copy_old_data=true) |
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::MultipleOutputsChannelElementBase | |
virtual bool | addOutput (ChannelElementBase::shared_ptr const &output, bool mandatory=true) |
void | removeDisconnectedOutputs () |
virtual void | removeOutput (ChannelElementBase::shared_ptr const &output) |
Protected Member Functions inherited from RTT::base::ChannelElementBase | |
virtual bool | addInput (shared_ptr const &input) |
void | deref () |
void | ref () |
virtual void | removeInput (shared_ptr const &input) |
Protected Attributes inherited from RTT::base::MultipleOutputsChannelElementBase | |
Outputs | outputs |
RTT::os::SharedMutex | outputs_lock |
Protected Attributes inherited from RTT::base::ChannelElementBase | |
shared_ptr | input |
RTT::os::SharedMutex | input_lock |
shared_ptr | output |
RTT::os::SharedMutex | output_lock |
A typed version of MultipleOutputsChannelElementBase.
Definition at line 253 of file ChannelElement.hpp.
typedef ChannelElement<T>::param_t RTT::base::MultipleOutputsChannelElement< T >::param_t |
Definition at line 258 of file ChannelElement.hpp.
typedef ChannelElement<T>::reference_t RTT::base::MultipleOutputsChannelElement< T >::reference_t |
Definition at line 259 of file ChannelElement.hpp.
typedef boost::intrusive_ptr< MultipleInputsChannelElement<T> > RTT::base::MultipleOutputsChannelElement< T >::shared_ptr |
Definition at line 256 of file ChannelElement.hpp.
typedef ChannelElement<T>::value_t RTT::base::MultipleOutputsChannelElement< T >::value_t |
Definition at line 257 of file ChannelElement.hpp.
|
inlinevirtual |
Provides a data sample to initialize this connection. This is used before the first write() in order to inform this connection of the size of the data. As such enough storage space can be allocated before the actual writing begins.
Reimplemented from RTT::base::ChannelElement< T >.
Reimplemented in RTT::internal::SharedConnection< T >.
Definition at line 261 of file ChannelElement.hpp.
|
inlinevirtual |
Writes a new sample on this connection. sample is the sample to write. Writes the sample to all connected channels
Reimplemented from RTT::base::ChannelElement< T >.
Reimplemented in RTT::internal::SharedConnection< T >.
Definition at line 297 of file ChannelElement.hpp.