DataSource interface to register a new physical data source plugin. Implementations of this plugin must implement createDatasource that translates a source descriptor to a DataSourcePtr.
More...
#include <DataSourcePlugin.hpp>
DataSource interface to register a new physical data source plugin. Implementations of this plugin must implement createDatasource that translates a source descriptor to a DataSourcePtr.
◆ DataSourcePlugin()
NES::DataSourcePlugin::DataSourcePlugin |
( |
| ) |
|
|
default |
◆ ~DataSourcePlugin()
virtual NES::DataSourcePlugin::~DataSourcePlugin |
( |
| ) |
|
|
virtualdefault |
◆ createDataSource()
Translates a source descriptor to a data source.
- Parameters
-
sourceId | id of the source |
originId | id of the origin for which data is produced. |
sourceDescriptor | the source descriptor. |
nodeEngine | reference to the node engine |
numSourceLocalBuffers | number of source buffers that can be allocated. |
successors | the successor pipeline, which is used to emit data. |
- Returns
- std::optional<DataSourcePtr>
The documentation for this class was generated from the following file: