Essentia  2.1-beta6-dev
algorithmfactory.h File Reference
#include <map>
#include <sstream>
#include <iostream>
#include "types.h"
#include "essentia.h"
#include "parameter.h"
#include "algorithm.h"
#include "streaming/streamingalgorithm.h"
#include "algorithmfactory_impl.h"

Go to the source code of this file.

Classes

class  AlgorithmInfo< BaseAlgorithm >
 
class  EssentiaFactory< BaseAlgorithm >
 
class  EssentiaFactory< BaseAlgorithm >::Registrar< ConcreteProduct, ReferenceConcreteProduct >
 

Namespaces

 essentia
 
 essentia::standard
 
 essentia::streaming
 

Macros

#define CREATE   static BaseAlgorithm* create(const std::string& id
 
#define CBEG   ) { return instance().create_i(id
 
#define P(n)   , const std::string& name##n, const Parameter& value##n
 
#define AP(n)   , name##n, value##n
 
#define CEND   ); }
 
#define CREATEI   BaseAlgorithm* create_i(const std::string& id
 
#define CENDI   ) const;
 

Typedefs

typedef EssentiaFactory< Algorithm > AlgorithmFactory
 
typedef EssentiaFactory< Algorithm > AlgorithmFactory
 

Macro Definition Documentation

◆ AP

#define AP (   n)    , name##n, value##n

◆ CBEG

#define CBEG   ) { return instance().create_i(id

◆ CEND

#define CEND   ); }

◆ CENDI

#define CENDI   ) const;

◆ CREATE

#define CREATE   static BaseAlgorithm* create(const std::string& id

◆ CREATEI

#define CREATEI   BaseAlgorithm* create_i(const std::string& id

◆ P

#define P (   n)    , const std::string& name##n, const Parameter& value##n