39 #ifndef ORO_CHANNEL_DATA_ELEMENT_HPP 40 #define ORO_CHANNEL_DATA_ELEMENT_HPP 42 #include "../base/ChannelElement.hpp" 43 #include "../base/DataObjectInterface.hpp" 44 #include "../ConnPolicy.hpp" 62 : data(sample), policy(policy) {}
78 return data->
Get(sample, copy_old_data);
110 return "ChannelDataElement";
virtual WriteStatus write(param_t sample)
boost::call_traits< T >::param_type param_t
base::DataObjectInterface< T >::shared_ptr data
boost::shared_ptr< DataObjectInterface< T > > shared_ptr
virtual WriteStatus data_sample(param_t sample, bool reset=true)
virtual FlowStatus Get(reference_t pull, bool copy_old_data=true) const =0
base::ChannelElement< T >::value_t value_t
ChannelDataElement(typename base::DataObjectInterface< T >::shared_ptr sample, const ConnPolicy &policy=ConnPolicy())
virtual bool data_sample(param_t sample, bool reset=true)=0
virtual const ConnPolicy * getConnPolicy() const
boost::call_traits< T >::reference reference_t
virtual value_t data_sample()
virtual std::string getElementName() const
virtual FlowStatus read(reference_t sample, bool copy_old_data)
virtual bool Set(param_t push)=0
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual value_t data_sample()
base::ChannelElement< T >::param_t param_t
base::ChannelElement< T >::reference_t reference_t