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

Constructor & Destructor Documentation

◆ IPCServ()

IPCServ::IPCServ ( const wxString &  appl)
inline

Definition at line 837 of file AudacityApp.cpp.

838 : wxServer()
839 {
840 Create(appl);
841 };

◆ ~IPCServ()

IPCServ::~IPCServ ( )
inline

Definition at line 843 of file AudacityApp.cpp.

844 {
845 };

Member Function Documentation

◆ OnAcceptConnection()

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

Definition at line 847 of file AudacityApp.cpp.

848 {
849 if (topic != IPC_TOPIC) {
850 return NULL;
851 }
852
853 // Trust wxWidgets framework to DELETE it
854 return safenew IPCConn();
855 };
#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: