10#if defined(__STK_REALTIME__)
55const 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__)
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:49
Stk(void)
Default constructor.
STK thread class.
Definition Thread.h:63
The STK namespace.
Definition ADSR.h:8