resonance 1.0.1
Loading...
Searching...
No Matches
genericcatcher.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/msgsink.h"
4#include "app/msgsource.h"
5#include "msg/message.h"
6
25class GenericCatcher : public MsgSink, public MsgSource {
26public:
32
37 virtual ~GenericCatcher();
38
46 virtual void Start();
47
55 virtual void Stop();
56
63 virtual int IsPhraseRunEmpty() = 0;
64};
virtual int IsPhraseRunEmpty()=0
Report whether no phrase run is in progress.
virtual void Start()
Start catching.
virtual void Stop()
Stop catching.
virtual ~GenericCatcher()
Receiver of engine messages.
Definition msgsink.h:37
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26