OSC seperation
This commit is contained in:
@@ -15,6 +15,7 @@ class ControlServer;
|
||||
class OpenGLComposite;
|
||||
class OscServer;
|
||||
class RuntimeHost;
|
||||
class RuntimeStore;
|
||||
|
||||
struct RuntimePollEvents
|
||||
{
|
||||
@@ -45,7 +46,7 @@ public:
|
||||
~ControlServices();
|
||||
|
||||
bool Start(OpenGLComposite& composite, RuntimeHost& runtimeHost, std::string& error);
|
||||
void BeginPolling(RuntimeHost& runtimeHost);
|
||||
void BeginPolling(RuntimeHost& runtimeHost, RuntimeStore& runtimeStore);
|
||||
void Stop();
|
||||
void BroadcastState();
|
||||
void RequestBroadcastState();
|
||||
@@ -73,9 +74,9 @@ private:
|
||||
uint64_t generation = 0;
|
||||
};
|
||||
|
||||
void StartPolling(RuntimeHost& runtimeHost);
|
||||
void StartPolling(RuntimeHost& runtimeHost, RuntimeStore& runtimeStore);
|
||||
void StopPolling();
|
||||
void PollLoop(RuntimeHost& runtimeHost);
|
||||
void PollLoop(RuntimeHost& runtimeHost, RuntimeStore& runtimeStore);
|
||||
|
||||
std::unique_ptr<ControlServer> mControlServer;
|
||||
std::unique_ptr<OscServer> mOscServer;
|
||||
|
||||
Reference in New Issue
Block a user