38 #ifndef ORO_CORELIB_BUFFERBASE_HPP 39 #define ORO_CORELIB_BUFFERBASE_HPP 41 #include <boost/shared_ptr.hpp> 42 #include "../rtt-config.h" 43 #include "../rtt-fwd.hpp" 63 bool multiple_writers_;
64 bool multiple_readers_;
88 virtual size_type capacity()
const = 0;
97 virtual size_type size()
const = 0;
105 virtual bool empty()
const = 0;
113 virtual bool full()
const = 0;
120 virtual void clear() = 0;
125 virtual size_type dropped()
const = 0;
bool multiple_readers() const
A connection policy object describes how a given connection should behave.
Options & circular(bool value)
Options & multiple_readers(bool value)
bool multiple_writers() const
unsigned int max_threads() const
boost::shared_ptr< BufferBase > shared_ptr
Options & max_threads(unsigned int value)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Any Buffer has a capacity, size and can be empty or full.
Options & multiple_writers(bool value)