39 #ifndef ORO_INPUT_PORT_HPP    40 #define ORO_INPUT_PORT_HPP    98         { 
return read(source, 
true); }
   106                 log(
Error) << 
"trying to read to an incompatible data source" << endlog();
   109             return read(ds->
set(), copy_old_data);
   124                 log(
Error) << 
"trying to read to an incompatible data source" << endlog();
   132         { 
return read(sample, 
true); }
   147             return getEndpoint()->getReadEndpoint()->read(sample, copy_old_data);
   176             sample = 
getEndpoint()->getReadEndpoint()->data_sample();
   210 #ifndef ORO_DISABLE_PORT_DATA_SCRIPTING   221             object->addSynchronousOperation(
"read", read_m, 
this).
doc(
"Reads a sample from the port.").arg(
"sample", 
"");
   222             object->addSynchronousOperation(
"clear", &
InputPortInterface::clear, 
this).
doc(
"Clears any remaining data in this port. After a clear, a read() will return NoData if no writes happened in between.");
   230             return endpoint.get();
 
boost::intrusive_ptr< ChannelElement< T > > shared_ptr
This is a channel element that represents the output endpoint of a connection, i.e. 
The base class for all internal data representations. 
virtual void set(param_t t)=0
Set this DataSource with a value. 
FlowStatus
Returns the status of a data flow read operation. 
const std::string & getName() const 
Get the name of this Port. 
A connection policy object describes how a given connection should behave. 
This class allows storage and retrieval of operations, ports, attributes and properties provided by a...
static const types::TypeInfo * getTypeInfo()
Return the typeinfo object. 
virtual Service * createPortObject()
Create accessor Object for this Port, for addition to a TaskContext Object interface. 
static bool createStream(OutputPort< T > &output_port, ConnPolicy const &policy)
Creates, attaches and checks an outbound stream to an Output port. 
A class for representing a user type, and which can build instances of that type. ...
boost::call_traits< T >::reference reference_t
boost::intrusive_ptr< ChannelElementBase > shared_ptr
boost::intrusive_ptr< AssignableDataSource< T > > shared_ptr
Use this type to store a pointer to an AssignableDataSource. 
A DataSource which has set() methods. 
A component's data output port. 
boost::intrusive_ptr< ConnOutputEndpoint< T > > shared_ptr
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. 
PortInterface & doc(const std::string &desc)
Set the documentation of this port. 
The base class of every data flow port.