Essentia  2.1-beta6-dev
StreamingAlgorithmWrapper Class Reference

#include <streamingalgorithmwrapper.h>

Inheritance diagram for StreamingAlgorithmWrapper:
Algorithm Configurable

Public Member Functions

 StreamingAlgorithmWrapper ()
 
 ~StreamingAlgorithmWrapper ()
 
void declareInput (SinkBase &sink, NumeralType type, const std::string &name)
 
void declareInput (SinkBase &sink, NumeralType type, int n, const std::string &name)
 
void declareOutput (SourceBase &source, NumeralType type, const std::string &name)
 
void declareOutput (SourceBase &source, NumeralType type, int n, const std::string &name)
 
void synchronizeInput (const std::string &name)
 
void synchronizeOutput (const std::string &name)
 
void synchronizeIO ()
 
void declareAlgorithm (const std::string &name)
 
void configure (const ParameterMap &params)
 
void configure ()
 
void reset ()
 
void setParameters (const ParameterMap &params)
 
void declareParameters ()
 
AlgorithmStatus process ()
 
- Public Member Functions inherited from Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
SinkBaseinput (const std::string &name)
 
SourceBaseoutput (const std::string &name)
 
SinkBaseinput (int idx)
 
SourceBaseoutput (int idx)
 
const InputMapinputs () const
 
const OutputMapoutputs () const
 
std::vector< std::string > inputNames () const
 
std::vector< std::string > outputNames () const
 
virtual void shouldStop (bool stop)
 
virtual bool shouldStop () const
 
void disconnectAll ()
 
AlgorithmStatus acquireData ()
 
void releaseData ()
 
- Public Member Functions inherited from Configurable
virtual ~Configurable ()
 
const std::string & name () const
 
void setName (const std::string &name)
 
const ParameterMapdefaultParameters () const
 
const Parameterparameter (const std::string &key) const
 

Protected Types

typedef EssentiaMap< std::string, NumeralTypeNumeralTypeMap
 

Protected Attributes

NumeralTypeMap _inputType
 
NumeralTypeMap _outputType
 
standard::Algorithm_algorithm
 
int _streamSize
 
- Protected Attributes inherited from Algorithm
bool _shouldStop
 
OutputMap _outputs
 
InputMap _inputs
 
int nProcess
 
- Protected Attributes inherited from Configurable
std::string _name
 
ParameterMap _params
 
ParameterMap _defaultParams
 

Additional Inherited Members

- Public Types inherited from Algorithm
typedef OrderedMap< SinkBaseInputMap
 
typedef OrderedMap< SourceBaseOutputMap
 
- Public Attributes inherited from Algorithm
DescriptionMap inputDescription
 
DescriptionMap outputDescription
 
- Public Attributes inherited from Configurable
DescriptionMap parameterDescription
 
DescriptionMap parameterRange
 
- Static Public Attributes inherited from Algorithm
static const std::string processingMode
 
- Protected Member Functions inherited from Algorithm
void declareInput (SinkBase &sink, const std::string &name, const std::string &desc)
 
void declareInput (SinkBase &sink, int n, const std::string &name, const std::string &desc)
 
void declareInput (SinkBase &sink, int acquireSize, int releaseSize, const std::string &name, const std::string &desc)
 
void declareOutput (SourceBase &