Ask a Question | Search DSPSR: |
Home
|
Public Types |
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
dsp::Operation Class Referenceabstract Defines the interface by which operations are performed on data. More...
Inheritance diagram for dsp::Operation:
Detailed DescriptionDefines the interface by which operations are performed on data. This pure virtual base class defines the manner in which various digital signal processing routines are performed on baseband data Member Enumeration Documentation◆ FunctionConstructor & Destructor Documentation◆ Operation()
All sub-classes must specify a unique name. All sub-classes must specify name and capacity for inplace operation. Member Function Documentation◆ bytes_scratch()
The number of bytes of scratch space used by the operation. Scratch space is temporary and can be shared. Reimplemented in dsp::ParallelInput, dsp::ParallelUnpacker, dsp::UnpackerSource< UnpackerType, InputType >, dsp::OperationThread, and dsp::Filterbank. ◆ combine()
Combine accumulated results with another operation. This method enables results from multiple threads to be combined Reimplemented in dsp::FoldManager, dsp::Fold, dsp::UnpackerSource< UnpackerType, InputType >, dsp::UnpackerSource< Unpacker, Input >, dsp::UnpackerSource< ParallelUnpacker, ParallelInput >, dsp::OperationThread, and dsp::HistUnpacker. References discarded_weights, optime, and total_weights. Referenced by dsp::SignalPath::combine(), dsp::HistUnpacker::combine(), and dsp::Fold::combine(). ◆ get_total_weights()
Return the total number of timesample weights encountered. Return the number of invalid timesample weights encountered. ◆ operate()
Call this method to operate on data Returns false on failure. call the pure virtual method defined by sub-classes Referenced by dsp::TestInput::runtest(), and dsp::OperationThread::thread(). ◆ prepare()
Prepare for data operations. This method enables optimizations by some derived classes Reimplemented in dsp::ParallelUnpacker, dsp::InverseFilterbank, dsp::PhaseLockedFilterbank, dsp::FoldManager, dsp::Unpacker, dsp::SpectralKurtosis, dsp::ParallelInput, dsp::Convolution, dsp::CyclicFold, dsp::Fold, dsp::FZoom, dsp::Input, dsp::MPIRoot, dsp::UnpackerSource< UnpackerType, InputType >, dsp::TScrunch, dsp::UnpackerSource< Unpacker, Input >, dsp::UnpackerSource< ParallelUnpacker, ParallelInput >, dsp::OperationThread, dsp::Digitizer, dsp::Dump, dsp::Detection, dsp::ChanPolSelect, dsp::Rescale, dsp::Filterbank, dsp::PScrunch, and dsp::FourthMoment. Referenced by dsp::OperationThread::prepare(). ◆ reserve()
Reserve the maximum amount of memory required. This avoids the need to reallocate and copy later Reimplemented in dsp::ParallelUnpacker, dsp::InverseFilterbank, dsp::Unpacker, dsp::SKDetector, dsp::ParallelInput, dsp::Convolution, dsp::SpectralKurtosis, dsp::Transformation< In, Out >, dsp::Transformation< TimeSeries, Response >, dsp::Transformation< ParallelBitSeries, TimeSeries >, dsp::Transformation< BitSeries, TimeSeries >, dsp::Transformation< BitSeries, BitSeries >, dsp::Transformation< TimeSeries, TimeSeries >, dsp::Transformation< TimeSeries, BitSeries >, dsp::Transformation< TimeSeries, PhaseSeries >, dsp::Transformation< PhaseSeries, PhaseSeries >, dsp::Input, dsp::UnpackerSource< UnpackerType, InputType >, dsp::TScrunch, dsp::UnpackerSource< Unpacker, Input >, dsp::UnpackerSource< ParallelUnpacker, ParallelInput >, dsp::Digitizer, dsp::Filterbank, dsp::OperationThread, and dsp::ExcisionUnpacker. Referenced by dsp::OperationThread::reserve(). ◆ reset()
Reset accumulated results to intial values. Reset accumulated results to zero. Reimplemented in dsp::FoldManager, dsp::PhaseLockedFilterbank, dsp::Fold, dsp::OperationThread, dsp::UnpackerSource< UnpackerType, InputType >, dsp::UnpackerSource< Unpacker, Input >, dsp::UnpackerSource< ParallelUnpacker, ParallelInput >, and dsp::HistUnpacker. Referenced by dsp::HistUnpacker::reset(), dsp::OperationThread::reset(), dsp::Fold::reset(), and dsp::PhaseLockedFilterbank::reset(). Member Data Documentation◆ instantiation_count
Counts how many Operation instantiations there have been Used for setting the unique instantiation ID. Global instantiation count. ◆ record_time
Global flag enables stopwatch to record the time spent operating. By default, operations do not time themselves Referenced by dsp::SingleThread::Config::add_options(), dsp::Filterbank::filterbank(), dsp::InverseFilterbank::filterbank(), dsp::SingleThread::finish(), and dsp::Archiver::unload(). ◆ report_time
Global flag enables report of time spent in operation on descruction. By default, if record_time is enabled, operations will report total time spent when their destructor is called Referenced by dsp::SingleThread::Config::add_options(). The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|