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

Constructor & Destructor Documentation

◆ IPCServ()

IPCServ::IPCServ ( const wxString &  appl)
inline

Definition at line 836 of file AudacityApp.cpp.

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

◆ ~IPCServ()

IPCServ::~IPCServ ( )
inline

Definition at line 842 of file AudacityApp.cpp.

843 {
844 };

Member Function Documentation

◆ OnAcceptConnection()

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

Definition at line 846 of file AudacityApp.cpp.

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