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

Constructor & Destructor Documentation

◆ IPCServ()

IPCServ::IPCServ ( const wxString &  appl)
inline

Definition at line 828 of file AudacityApp.cpp.

829 : wxServer()
830 {
831 Create(appl);
832 };

◆ ~IPCServ()

IPCServ::~IPCServ ( )
inline

Definition at line 834 of file AudacityApp.cpp.

835 {
836 };

Member Function Documentation

◆ OnAcceptConnection()

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

Definition at line 838 of file AudacityApp.cpp.

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

References IPC_TOPIC, and safenew.


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