Container for info about an Endpoint in an Integra Module interface.
More...
#include "api/interface_definition.h"
Container for info about an Endpoint in an Integra Module interface.
Enumeration of endpoint types
Enumerator |
---|
CONTROL |
Controls are either stateful 'attributes' or stateless 'bangs' ie push-button type controls. They pass information to and from module implementations, at a rate no faster than once every DSP buffer (64 samples). Control endpoints can be used to send information to DSP modules, to received information from DSP modules, and are also used by non-dsp modules as the inputs and outputs of all implemented-in-libIntegra business logic.
|
STREAM |
Streams are connections between DSP modules. At present the only type of stream is audio stream. It is envisaged that potentially in future, other types of streams such as video or midi could be introduced
|
virtual const IControlInfo* integra_api::IEndpointDefinition::get_control_info |
( |
| ) |
const |
|
pure virtual |
Get control info.
- Returns
- when endpoint type is CONTROL, returns an IControlInfo, otherwise NULL
virtual const string& integra_api::IEndpointDefinition::get_description |
( |
| ) |
const |
|
pure virtual |
virtual const string& integra_api::IEndpointDefinition::get_name |
( |
| ) |
const |
|
pure virtual |
Get endpoint's name.
Endpoint names are upper camel case, with no spaces. They are used to uniquely identify endpoints within interfaces, so each endpoint name must be unique within it's interface.
virtual const IStreamInfo* integra_api::IEndpointDefinition::get_stream_info |
( |
| ) |
const |
|
pure virtual |
Get stream info.
- Returns
- when endpoint type is STREAM, returns an IStreamInfo, otherwise NULL
virtual endpoint_type integra_api::IEndpointDefinition::get_type |
( |
| ) |
const |
|
pure virtual |
Get endpoint type.
See ::endpoint_type
virtual bool integra_api::IEndpointDefinition::is_audio_stream |
( |
| ) |
const |
|
pure virtual |
- Returns
- true when endpoint type is an audio stream, otherwise false
The documentation for this class was generated from the following file: