78 bool initialiseFromCommandLine (
const String& commandLine,
79 const String& commandLineUniqueID,
93 virtual void handleConnectionMade();
100 virtual void handleConnectionLost();
111 std::unique_ptr<Connection> connection;
168 bool launchSlaveProcess (
const File& executableToLaunch,
169 const String& commandLineUniqueID,
171 int streamFlags = ChildProcess::wantStdOut | ChildProcess::wantStdErr);
176 void killSlaveProcess();
186 virtual void handleConnectionLost();
196 std::unique_ptr<ChildProcess> childProcess;
199 std::unique_ptr<Connection> connection;
Acts as the master in a master/slave pair of connected processes.
virtual void handleMessageFromSlave(const MemoryBlock &)=0
This will be called to deliver a message from the slave process.
Acts as the slave end of a master/slave pair of connected processes.
virtual void handleMessageFromMaster(const MemoryBlock &)=0
This will be called to deliver messages from the master process.
Represents a local file or directory.
A class to hold a resizable block of raw data.
#define JUCE_API
This macro is added to all JUCE public class declarations.