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 815 of file AudacityApp.cpp.

Constructor & Destructor Documentation

◆ IPCServ()

IPCServ::IPCServ ( const wxString &  appl)
inline

Definition at line 818 of file AudacityApp.cpp.

819 : wxServer()
820 {
821 Create(appl);
822 };

◆ ~IPCServ()

IPCServ::~IPCServ ( )
inline

Definition at line 824 of file AudacityApp.cpp.

825 {
826 };

Member Function Documentation

◆ OnAcceptConnection()

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

Definition at line 828 of file AudacityApp.cpp.

829 {
830 if (topic != IPC_TOPIC) {
831 return NULL;
832 }
833
834 // Trust wxWidgets framework to DELETE it
835 return safenew IPCConn();
836 };
#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: