|
Essentia
2.1-beta6-dev
|
Namespaces | |
| BufferUsage | |
Classes | |
| class | Connector |
| class | StreamConnector |
| class | AccumulatorAlgorithm |
| class | Copy |
| class | DevNull |
| class | DiskWriter |
| class | FileOutput |
| class | PoolStorageBase |
| class | PoolStorage |
| class | PoolConnector |
| class | RingBufferInput |
| class | RingBufferOutput |
| class | RingBufferVectorOutput |
| class | VectorInput |
| class | VectorOutput |
| class | MultiRateBuffer |
| class | Window |
| class | PhantomBuffer |
| class | Source |
| class | Sink |
| class | SinkBase |
| class | SinkProxyBase |
| class | SinkProxy |
| class | AbsoluteSource |
| class | SourceBase |
| class | SourceProxyBase |
| class | SourceProxy |
| class | Algorithm |
| class | ProcessStep |
| class | ChainFrom |
| class | SingleShot |
| class | AlgorithmComposite |
| class | StreamingAlgorithmWrapper |
| class | BufferInfo |
| class | RingBufferImpl |
Typedefs | |
| typedef EssentiaFactory< Algorithm > | AlgorithmFactory |
Enumerations | |
| enum | DevNullConnector { NOWHERE , DEVNULL } |
| enum | AlgorithmStatus { OK = 0 , CONTINUE = 0 , PASS , FINISHED , NO_INPUT , NO_OUTPUT } |
| enum | NumeralType { TOKEN , STREAM } |
Functions | |
| void ESSENTIA_API | registerAlgorithm () |
| void | connect (SourceBase &source, DevNullConnector devnull) |
| void | operator>> (SourceBase &source, DevNullConnector devnull) |
| void | disconnect (SourceBase &source, DevNullConnector devnull) |
| template<typename TokenType > | |
| void | write_binary (std::ostream *_stream, const TokenType &value) |
| template<> | |
| void | write_binary< std::vector< Real > > (std::ostream *_stream, const std::vector< Real > &value) |
| void | connect (SourceBase &source, Pool &pool, const std::string &descriptorName) |
| void | operator>> (SourceBase &source, const PoolConnector &pc) |
| void | connectSingleValue (SourceBase &source, Pool &pool, const std::string &descriptorName) |
| void | disconnect (SourceBase &source, Pool &pool, const std::string &descriptorName) |
| template<typename T > | |
| void | connect (VectorInput< T > &v, SinkBase &sink) |
| template<typename T > | |
| void | operator>> (VectorInput< T > &v, SinkBase &sink) |
| template<typename T > | |
| void | connect (std::vector< T > &v, SinkBase &sink) |
| template<typename T > | |
| void | operator>> (std::vector< T > &v, SinkBase &sink) |
| template<typename TokenType , typename StorageType > | |
| void | connect (SourceBase &source, VectorOutput< TokenType, StorageType > &v) |
| template<typename TokenType , typename StorageType > | |
| void | operator>> (SourceBase &source, VectorOutput< TokenType, StorageType > &v) |
| template<typename T > | |
| void | connect (SourceBase &source, std::vector< T > &v) |
| template<typename T > | |
| void | operator>> (SourceBase &source, std::vector< T > &v) |
| void | connect (SourceBase &source, SinkBase &sink) |
| void | disconnect (SourceBase &source, SinkBase &sink) |
| void | attach (SinkProxyBase &proxy, SinkBase &innerSink) |
| void | detach (SinkProxyBase &proxy, SinkBase &innerSink) |
| void | operator>> (SinkProxyBase &proxy, SinkBase &innerSink) |
| template<typename T > | |
| const T & | lastTokenProduced (const SourceBase &source) |
| void | attach (SourceBase &innerSource, SourceProxyBase &proxy) |
| void | detach (SourceBase &innerSource, SourceProxyBase &proxy) |
| void | operator>> (SourceBase &innerSource, SourceProxyBase &proxy) |
| void | operator>> (SourceBase &source, SinkBase &sink) |
| void | connect (SinkBase &sink, SourceBase &source) |
| void | connect (Algorithm *sourceAlgo, const std::string &sourcePort, Algorithm *sinkAlgo, const std::string &sinkPort) |
| typedef EssentiaFactory<Algorithm> AlgorithmFactory |
| enum AlgorithmStatus |
This is the return type of the Algorithm::acquireData() and Algorithm::process() methods.
It can be either one of the following values:
| Enumerator | |
|---|---|
| OK | |
| CONTINUE | |
| PASS | |
| FINISHED | |
| NO_INPUT | |
| NO_OUTPUT | |
| enum DevNullConnector |
| enum NumeralType |
|
inline |
Referenced by operator>>().
|
inline |
| void essentia::streaming::connect | ( | Algorithm * | sourceAlgo, |
| const std::string & | sourcePort, | ||
| Algorithm * | sinkAlgo, | ||
| const std::string & | sinkPort | ||
| ) |
Global function used for connecting algorithms. API is not as nice as the other one, but error messages in case a connection fails are more explicit.
|
inline |
Global function used for connecting algorithms. Same function as the previous one, but with the order of arguments reversed.
References connect().
| void essentia::streaming::connect | ( | SourceBase & | source, |
| DevNullConnector | devnull | ||
| ) |
Connect a source (eg: the output of an algorithm) to a DevNull, so the data the source outputs does not block the whole processing.
Referenced by connect(), and operator>>().
| void essentia::streaming::connect | ( | SourceBase & | source, |
| Pool & | pool, | ||
| const std::string & | descriptorName | ||
| ) |
| void connect | ( | SourceBase & | source, |
| SinkBase & | sink | ||
| ) |
Global function used for connecting algorithms.
| void essentia::streaming::connect | ( | SourceBase & | source, |
| std::vector< T > & | v | ||
| ) |
Connect a source (eg: the output of an algorithm) to a vector that will serve as storage.
References connect(), and Algorithm::input().
| void essentia::streaming::connect | ( | SourceBase & | source, |
| VectorOutput< TokenType, StorageType > & | v | ||
| ) |
References connect(), and Algorithm::input().
| void essentia::streaming::connect | ( | std::vector< T > & | v, |
| SinkBase & | sink | ||
| ) |
| void essentia::streaming::connect | ( | VectorInput< T > & | v, |
| SinkBase & | sink | ||
| ) |
| void essentia::streaming::connectSingleValue | ( | SourceBase & | source, |
| Pool & | pool, | ||
| const std::string & | descriptorName | ||
| ) |
|
inline |
|
inline |
| void essentia::streaming::disconnect | ( | SourceBase & | source, |
| DevNullConnector | devnull | ||
| ) |
Disconnect a source (eg: the output of an algorithm) from a DevNull.
Referenced by SinkBase::~SinkBase().
| void essentia::streaming::disconnect | ( | SourceBase & | source, |
| Pool & | pool, | ||
| const std::string & | descriptorName | ||
| ) |
Disconnect a source (eg: the output of an algorithm) from a Pool.
| void disconnect | ( | SourceBase & | source, |
| SinkBase & | sink | ||
| ) |
Global function used for disconnecting outputs from inputs.
| const T& essentia::streaming::lastTokenProduced | ( | const SourceBase & | source | ) |
Helper function to be able to call lastTokenProduced on an un-typed SourceBase.
References Connector::fullName(), Source< TokenType >::lastTokenProduced(), and essentia::nameOfType().
|
inline |
References attach().
|
inline |
References attach().
|
inline |
|
inline |
References connect().
|
inline |
References connect().
| void essentia::streaming::operator>> | ( | SourceBase & | source, |
| std::vector< T > & | v | ||
| ) |
References connect().
| void essentia::streaming::operator>> | ( | SourceBase & | source, |
| VectorOutput< TokenType, StorageType > & | v | ||
| ) |
References connect().
| void essentia::streaming::operator>> | ( | std::vector< T > & | v, |
| SinkBase & | sink | ||
| ) |
References connect().
| void essentia::streaming::operator>> | ( | VectorInput< T > & | v, |
| SinkBase & | sink | ||
| ) |
References connect().
| void ESSENTIA_API essentia::streaming::registerAlgorithm | ( | ) |
This function registers the algorithms in the factory. The waf build script dynamically generates the contents of the file essentia_algorithms_reg.cpp which implements this function.
|
inline |
Referenced by FileOutput< TokenType, StorageType >::write().
|
inline |