23#ifndef INTERPROCESSCOMMUNICATOR_H
24#define INTERPROCESSCOMMUNICATOR_H
75 bool communicate(
const std::vector<std::string>& args,
bool exitIfClient =
false);
84 std::unique_ptr<Network::Socket> m_serverSocket;
An inter process communicator (server/client).
Definition interprocesscommunicator.h:39
bool communicate(const std::vector< std::string > &args, bool exitIfClient=false)
Communicates to the IPC server instance.
Events::Event< Events::ParamEventArgs< std::vector< std::string > > > & commandReceived()
Gets the event for when a command is received.
InterProcessCommunicator(const std::string &id)
Constructs an InterProcessCommunicator.
bool isServer() const
Gets whether or not this instance is an IPC server.
~InterProcessCommunicator()
Destructs an InterProcessCommunicator.
bool isClient() const
Gets whether or not this instance is an IPC client.
An event that can have handlers subscribe to it, which in turn will be called when the event is invok...
Definition event.h:49