10 #if defined(__STK_REALTIME__)
14 #include "TcpServer.h"
55 const int DEFAULT_QUEUE_LIMIT = 200;
65 std::queue<Skini::Message> queue;
66 unsigned int queueLimit;
69 #if defined(__STK_REALTIME__)
79 :queueLimit(0), sources(0) {}
111 #if defined(__STK_REALTIME__)
159 #if defined(__STK_REALTIME__)
STK input control message parser.
Definition: Messager.h:58
bool startStdInput()
Initiate the "realtime" retreival from stdin of control messages into the queue.
bool setScoreFile(const char *filename)
Specify a SKINI formatted scorefile from which messages should be read.
bool startSocketInput(int port=2001)
Start a socket server, accept connections, and read "realtime" control messages into the message queu...
void popMessage(Skini::Message &message)
Pop the next message from the queue and write it to the referenced message structure.
bool startMidiInput(int port=0)
Start MIDI input, with optional device and port identifiers.
~Messager()
Class destructor.
Messager()
Default constructor.
void pushMessage(Skini::Message &message)
Push the referenced message onto the message stack.
STK mutex class.
Definition: Mutex.h:51
STK base class.
Definition: Stk.h:144
STK thread class.
Definition: Thread.h:63
The STK namespace.
Definition: ADSR.h:8