#include </home/sspr/src/www/orocos-1.0/export/build/orocos-rtt-1.2.2/build/rtt/ConnectionFactory.hpp>
| T | The contents type of the buffers or data objects. |
Public Member Functions | |
| BufferConnectionInterface< T > * | createBuffer (PortInterface *writer, PortInterface *reader, int size, const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create a new Buffered data connection. | |
| BufferConnectionInterface< T > * | createBuffer (int size, const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create an empty Buffered data connection. | |
| DataConnectionInterface< T > * | createDataObject (PortInterface *writer, PortInterface *reader, const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create a new unbuffered data connection. | |
| DataConnectionInterface< T > * | createDataObject (const T &initial_value=T(), ConnectionTypes::ConnectionType type=ConnectionTypes::lockfree) |
| Create an empty unbuffered data connection. | |
| BufferConnectionInterface< T > * createBuffer | ( | PortInterface * | writer, | |
| PortInterface * | reader, | |||
| int | size, | |||
| const T & | initial_value = T(), |
|||
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) |
Create a new Buffered data connection.
| writer | A port which will write to the connection | |
| reader | A port which will read from the 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.
| BufferConnectionInterface< T > * createBuffer | ( | int | size, | |
| const T & | initial_value = T(), |
|||
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) |
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.
| DataConnectionInterface< T > * createDataObject | ( | PortInterface * | writer, | |
| PortInterface * | reader, | |||
| const T & | initial_value = T(), |
|||
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) |
Create a new unbuffered data connection.
| writer | A port which will write to the connection | |
| reader | A port which will read from the 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.
| DataConnectionInterface< T > * createDataObject | ( | const T & | initial_value = T(), |
|
| ConnectionTypes::ConnectionType | type = ConnectionTypes::lockfree | |||
| ) |
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.
1.5.1