![]() |
Audacity 3.2.0
|
Public Member Functions | |
| Impl (Impl &)=delete | |
| Impl (Impl &&)=delete | |
| Impl & | operator= (Impl &)=delete |
| Impl & | operator= (Impl &&)=delete |
| Impl (Delegate &delegate) | |
| ~Impl () override | |
| void | SetDelegate (Delegate *delegate) |
| std::chrono::system_clock::time_point | InactiveSince () const noexcept |
| void | OnConnect (IPCChannel &channel) noexcept override |
| Called when connection established. More... | |
| void | OnDisconnect () noexcept override |
| Invalidates IPCChannel passed as argument in OnConnect. More... | |
| void | OnConnectionError () noexcept override |
| Called when connection attempt fails. More... | |
| void | OnDataAvailable (const void *data, size_t size) noexcept override |
| Called when data chunk received as a result of a preceding call to IPCChannel::Send. Generally, data pointer should not be accessed outside this method, copied if necessary. More... | |
| void | Validate (const wxString &providerId, const wxString &pluginPath) |
Public Member Functions inherited from IPCChannelStatusCallback | |
| virtual | ~IPCChannelStatusCallback () |
| virtual void | OnConnectionError () noexcept=0 |
| Called when connection attempt fails. More... | |
| virtual void | OnConnect (IPCChannel &channel) noexcept=0 |
| Called when connection established. More... | |
| virtual void | OnDisconnect () noexcept=0 |
| Invalidates IPCChannel passed as argument in OnConnect. More... | |
| virtual void | OnDataAvailable (const void *data, size_t size) noexcept=0 |
| Called when data chunk received as a result of a preceding call to IPCChannel::Send. Generally, data pointer should not be accessed outside this method, copied if necessary. More... | |
Private Member Functions | |
| void | StartHost () |
| void | HandleInternalError (const wxString &msg) noexcept |
| void | HandleResult (detail::PluginValidationResult &&result) noexcept |
Private Attributes | |
| IPCChannel * | mChannel {nullptr} |
| std::optional< wxString > | mRequest |
| std::atomic< std::chrono::system_clock::duration::rep > | mLastTimeActive |
| spinlock | mSync |
| Delegate * | mDelegate {nullptr} |
| std::unique_ptr< IPCServer > | mServer |
| detail::InputMessageReader | mMessageReader |
Definition at line 31 of file AsyncPluginValidator.cpp.
|
delete |
|
delete |
|
inline |
Definition at line 138 of file AsyncPluginValidator.cpp.
|
inlineoverride |
Definition at line 140 of file AsyncPluginValidator.cpp.
|
inlineprivatenoexcept |
Definition at line 66 of file AsyncPluginValidator.cpp.
References BasicUI::CallAfter().
|
inlineprivatenoexcept |
no way to report about a problem, though shouldn't be the case...
Definition at line 82 of file AsyncPluginValidator.cpp.
References BasicUI::CallAfter(), and detail::ParseRequestString().
|
inlinenoexcept |
Definition at line 153 of file AsyncPluginValidator.cpp.
|
inlineoverridevirtualnoexcept |
Called when connection established.
| channel | Using this channel client or server can send data to the other side. |
Implements IPCChannelStatusCallback.
Definition at line 160 of file AsyncPluginValidator.cpp.
References detail::PutMessage().
|
inlineoverridevirtualnoexcept |
Called when connection attempt fails.
Implements IPCChannelStatusCallback.
Definition at line 189 of file AsyncPluginValidator.cpp.
|
inlineoverridevirtualnoexcept |
Called when data chunk received as a result of a preceding call to IPCChannel::Send. Generally, data pointer should not be accessed outside this method, copied if necessary.
| data | Pointer to the chunk |
| size | Size of the chunk |
Implements IPCChannelStatusCallback.
Definition at line 194 of file AsyncPluginValidator.cpp.
References XMLFileReader::ParseString(), and size.
|
inlineoverridevirtualnoexcept |
Invalidates IPCChannel passed as argument in OnConnect.
Implements IPCChannelStatusCallback.
Definition at line 178 of file AsyncPluginValidator.cpp.
References detail::PluginValidationResult::SetError().
|
inline |
Definition at line 148 of file AsyncPluginValidator.cpp.
|
inlineprivate |
Definition at line 57 of file AsyncPluginValidator.cpp.
References mLastTimeActive, mServer, and PluginHost::Start().
|
inline |
Definition at line 219 of file AsyncPluginValidator.cpp.
References detail::MakeRequestString(), and detail::PutMessage().
|
private |
Definition at line 37 of file AsyncPluginValidator.cpp.
|
private |
Definition at line 49 of file AsyncPluginValidator.cpp.
|
private |
Definition at line 39 of file AsyncPluginValidator.cpp.
Referenced by StartHost().
|
private |
Definition at line 54 of file AsyncPluginValidator.cpp.
|
private |
Definition at line 38 of file AsyncPluginValidator.cpp.
|
private |
Definition at line 50 of file AsyncPluginValidator.cpp.
Referenced by StartHost().
|
private |
Definition at line 45 of file AsyncPluginValidator.cpp.