#include <rtt/ConnectionFactory.hpp>
| T | The contents type of the buffers or data objects. |
Definition at line 58 of file ConnectionFactory.hpp.
Public Member Functions | |
| BufferConnection< T > * | createBuffer (int size, const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create an empty Buffered data connection. | |
| DataConnection< T > * | createDataObject (const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create an empty unbuffered data connection. | |
| BufferConnection< T > * createBuffer | ( | int | size, | |
| const T & | initial_value = T(), |
|||
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) | [inline] |
Create an empty Buffered data connection.
| size | The maximum capacity of the connnection's buffer | |
| initial_value | The initial value of all elements within the buffer. Use this parameter if the data uses dynamic memory or requires an initial state. | |
| type | The connection type: lock based or lock-free. The latter is highly advised. |
ReadBufferPort, WriteBufferPort, BufferPort for ports to which this connection can be attached.
Definition at line 110 of file ConnectionFactory.hpp.
References ConnectionTypes::lockfree.
Referenced by BufferPort::createConnection(), and WriteBufferPort::createConnection().
| DataConnection< T > * createDataObject | ( | const T & | initial_value = T(), |
|
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) | [inline] |
Create an empty unbuffered data connection.
| initial_value | The initial value of all elements within the buffer. Use this parameter if the data uses dynamic memory or requires an initial state. | |
| type | The connection type: lock based or lock-free. The latter is highly advised. |
ReadDataPort, WriteDataPort for ports to which this connection can be attached.
Definition at line 120 of file ConnectionFactory.hpp.
References ConnectionTypes::lockfree.
Referenced by DataPort::createConnection(), and WriteDataPort::createConnection().
1.5.6