Audacity 3.2.0
Public Member Functions | List of all members
IPCServ Class Referencefinal
Inheritance diagram for IPCServ:
[legend]
Collaboration diagram for IPCServ:
[legend]

Public Member Functions

 IPCServ (const wxString &appl)
 
 ~IPCServ ()
 
wxConnectionBase * OnAcceptConnection (const wxString &topic) override
 

Detailed Description

Definition at line 822 of file AudacityApp.cpp.

Constructor & Destructor Documentation

◆ IPCServ()

IPCServ::IPCServ ( const wxString &  appl)
inline

Definition at line 825 of file AudacityApp.cpp.

826 : wxServer()
827 {
828 Create(appl);
829 };

◆ ~IPCServ()

IPCServ::~IPCServ ( )
inline

Definition at line 831 of file AudacityApp.cpp.

832 {
833 };

Member Function Documentation

◆ OnAcceptConnection()

wxConnectionBase * IPCServ::OnAcceptConnection ( const wxString &  topic)
inlineoverride

Definition at line 835 of file AudacityApp.cpp.

836 {
837 if (topic != IPC_TOPIC) {
838 return NULL;
839 }
840
841 // Trust wxWidgets framework to DELETE it
842 return safenew IPCConn();
843 };
#define IPC_TOPIC
#define safenew
Definition: MemoryX.h:9

References IPC_TOPIC, and safenew.


The documentation for this class was generated from the following file: