pelican/core/src/PipelineDriver.cpp
/**
 * @details
 * PipelineDriver constructor, which takes pointers to the allocated factories.
 */
@details
PipelineDriver constructor, which takes pointers to the allocated factories.
@details PipelineDriver constructor which takes pointers to the allocated factories .
PipelineDriver::PipelineDriver(FactoryGeneric<DataBlob>* blobFactory,
        FactoryConfig<AbstractModule>* moduleFactory,
        DataClientFactory* clientFactory, OutputStreamManager* osmanager,
        const Config* config,
        const Config::TreeAddress& pipelineConfig )
    : _osmanager(osmanager), _config(config), _base(pipelineConfig)
{
    _run = false;
    _dataClient = NULL;
    _blobFactory = blobFactory;
    _moduleFactory = moduleFactory;
    _clientFactory = clientFactory;
    Q_ASSERT(_config != 0 );
    Q_ASSERT(_blobFactory != 0 );
    Q_ASSERT(_moduleFactory != 0 );
    Q_ASSERT(_clientFactory != 0 );
}
PipelineDriver :: PipelineDriver ( FactoryGeneric < DataBlob > * blobFactory , FactoryConfig < AbstractModule > * moduleFactory , DataClientFactory * clientFactory , OutputStreamManager * osmanager , const Config * config , const Config :: TreeAddress & pipelineConfig ) : _osmanager ( osmanager ) , _config ( config ) , _base ( pipelineConfig ) { _run = false ; _dataClient = NULL ; _blobFactory = blobFactory ; _moduleFactory = moduleFactory ; _clientFactory = clientFactory ; Q_ASSERT ( _config != 0 ) ; Q_ASSERT ( _blobFactory != 0 ) ; Q_ASSERT ( _moduleFactory != 0 ) ; Q_ASSERT ( _clientFactory != 0 ) ; }
@details
 PipelineDriver constructor, which takes pointers to the allocated factories.
@details PipelineDriver constructor which takes pointers to the allocated factories .
// Initialise member variables. // Store pointers to factories.