![]() |
Mema
Memory Matrix — multi-channel audio matrix monitor and router
|
Client-side TCP connection wrapper that forwards JUCE IPC events to std::function callbacks. More...
#include <InterprocessConnection.h>
Inheritance diagram for Mema::InterprocessConnectionImpl:
Collaboration diagram for Mema::InterprocessConnectionImpl:Public Member Functions | |
| InterprocessConnectionImpl (int id) | |
| virtual | ~InterprocessConnectionImpl () |
| void | connectionMade () override |
| void | connectionLost () override |
| void | messageReceived (const MemoryBlock &message) override |
| int | getId () |
Public Attributes | |
| std::function< void(int)> | onConnectionMade |
| std::function< void(int)> | onConnectionLost |
| std::function< void(int, const MemoryBlock &)> | onMessageReceived |
Client-side TCP connection wrapper that forwards JUCE IPC events to std::function callbacks.
Definition at line 31 of file InterprocessConnection.h.
| Mema::InterprocessConnectionImpl::InterprocessConnectionImpl | ( | int | id | ) |
Definition at line 27 of file InterprocessConnection.cpp.
|
virtual |
Definition at line 32 of file InterprocessConnection.cpp.
|
override |
Definition at line 43 of file InterprocessConnection.cpp.
References onConnectionLost.
|
override |
Definition at line 37 of file InterprocessConnection.cpp.
References onConnectionMade.
| int Mema::InterprocessConnectionImpl::getId | ( | ) |
Definition at line 55 of file InterprocessConnection.cpp.
|
override |
Definition at line 49 of file InterprocessConnection.cpp.
References onMessageReceived.
| std::function<void(int)> Mema::InterprocessConnectionImpl::onConnectionLost |
Definition at line 46 of file InterprocessConnection.h.
Referenced by connectionLost(), and Mema::MemaProcessor::MemaProcessor().
| std::function<void(int)> Mema::InterprocessConnectionImpl::onConnectionMade |
Definition at line 45 of file InterprocessConnection.h.
Referenced by connectionMade().
| std::function<void(int, const MemoryBlock&)> Mema::InterprocessConnectionImpl::onMessageReceived |
Definition at line 47 of file InterprocessConnection.h.
Referenced by messageReceived().