MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / PluginEventRouter

Method PluginEventRouter

src/render/plugins/plugin_event_router.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29{
30
31 PluginEventRouter::PluginEventRouter(const std::shared_ptr<RdApplication>& app) {
32 app_ = app;
33 context_ = app->GetContext();
34 plugin_manager_ = context_->GetPluginManager();
35 stream_event_router_ = std::make_shared<PluginStreamEventRouter>(app);
36 net_event_router_ = std::make_shared<PluginNetEventRouter>(app);
37 msg_notifier_ = app_->GetContext()->GetMessageNotifier();
38 stat_ = RdStatistics::Instance();
39 }
40
41 void PluginEventRouter::ProcessPluginEvent(const std::shared_ptr<GrPluginBaseEvent>& event) {
42 // encoded video frame

Callers

nothing calls this directly

Calls 3

GetContextMethod · 0.45
GetPluginManagerMethod · 0.45
GetMessageNotifierMethod · 0.45

Tested by

no test coverage detected