20 #ifndef ESSENTIA_SINKBASE_H
21 #define ESSENTIA_SINKBASE_H
24 #include "../connector.h"
const std::string & name() const
Definition: types.h:284
Definition: streamingalgorithm.h:140
Definition: connector.h:40
std::string fullName() const
const Algorithm * parent() const
Definition: connector.h:53
Definition: sinkbase.h:52
SinkProxyBase * _sproxy
Definition: sinkbase.h:57
~SinkBase()
Definition: sinkbase.h:66
friend void detach(SinkProxyBase &proxy, SinkBase &innerSink)
Definition: sinkproxy.h:257
SourceBase * source()
Definition: sinkbase.h:76
SinkBase(const std::string &name)
Definition: sinkbase.h:63
friend void connect(SourceBase &source, SinkBase &sink)
ReaderID _id
Definition: sinkbase.h:55
virtual const void * getFirstToken() const =0
void detachProxy(SinkProxyBase *sproxy)
SourceBase * _source
Definition: sinkbase.h:54
virtual void disconnect(SourceBase &source)
virtual const void * getTokens() const =0
friend void disconnect(SourceBase &source, SinkBase &sink)
virtual void setSource(SourceBase *source)
virtual void setId(ReaderID id)
const SourceBase * source() const
Definition: sinkbase.h:75
friend void attach(SinkProxyBase &proxy, SinkBase &innerSink)
Definition: sinkproxy.h:239
virtual void connect(SourceBase &source)
void attachProxy(SinkProxyBase *sproxy)
SinkBase(Algorithm *parent=0, const std::string &name="unnamed")
Definition: sinkbase.h:60
Definition: sinkproxy.h:30
Definition: sourcebase.h:52
#define E_DEBUG(module, msg)
Definition: debugging.h:157
void detach(SinkProxyBase &proxy, SinkBase &innerSink)
Definition: sinkproxy.h:257
void disconnect(SourceBase &source, DevNullConnector devnull)
void connect(SourceBase &source, DevNullConnector devnull)
void attach(SinkProxyBase &proxy, SinkBase &innerSink)
Definition: sinkproxy.h:239
Definition: algorithm.h:28
int ReaderID
Definition: types.h:344
@ EMemory
Definition: debugging.h:48