Multiple LoadToFil threads. More...

#include <LoadToFilN.h>

Inheritance diagram for dsp::LoadToFilN:
dsp::MultiThread dsp::Pipeline Reference::Able Reference::HeapTracked

Public Member Functions

 LoadToFilN (LoadToFil::Config *)
 Constructor.
 
void set_nthread (unsigned)
 Set the number of thread to be used.
 
void set_configuration (LoadToFil::Config *)
 Set the configuration to be used in prepare and run.
 
void share ()
 Setup sharing.
 
void finish ()
 Finish by ensuring that all buffered outputs are flushed.
 
- Public Member Functions inherited from dsp::MultiThread
 MultiThread ()
 Constructor.
 
 ~MultiThread ()
 Destructor.
 
void set_nthread (unsigned)
 Set the number of thread to be used.
 
void set_configuration (SingleThread::Config *)
 Set the configuration to be used by each thread. More...
 
void set_source (Source *)
 Set the Input from which data are read. More...
 
Sourceget_source ()
 Get the Input from which data are read.
 
void construct ()
 Build the signal processing pipeline.
 
void prepare ()
 Prepare to fold the input TimeSeries.
 
void run ()
 Run through the data.
 
void finish ()
 Finish everything.
 
uint64_t get_minimum_samples () const
 Get the minimum number of samples required to process.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Member Functions

virtual LoadToFilnew_thread ()
 The creator of new LoadToFil threads. More...
 
LoadToFilat (unsigned index)
 
- Protected Member Functions inherited from dsp::MultiThread
void launch_threads ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< LoadToFil::Configconfiguration
 Configuration parameters. More...
 
Reference::To< OutputFileShareoutput_file
 OutputFile sharing.
 
- Protected Attributes inherited from dsp::MultiThread
Reference::To< Sourcesource
 Source of data. More...
 
ThreadContextsource_context
 Thread lock for Input::load.
 
ThreadContextstate_changes
 Condition for processing thread state changes.
 
std::vector< Reference::To< SingleThread > > threads
 The pipeline threads.
 
Reference::To< SingleThread::Configconfiguration
 The shared thread configuration.
 
std::vector< pthread_t > ids
 The thread ids.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Static Protected Member Functions inherited from dsp::MultiThread
static void * thread (void *)
 
static void wait (SingleThread *fold, SingleThread::State st)
 
static void signal (SingleThread *fold, SingleThread::State st)
 

Detailed Description

Multiple LoadToFil threads.

Member Function Documentation

◆ new_thread()

dsp::LoadToFil * dsp::LoadToFilN::new_thread ( )
protectedvirtual

The creator of new LoadToFil threads.

The creator of new LoadToFil threadss.

Implements dsp::MultiThread.

Member Data Documentation

◆ configuration

Reference::To<LoadToFil::Config> dsp::LoadToFilN::configuration
protected

Configuration parameters.

call to set_configuration may precede set_nthread


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17