SkyWay for Linux
読み取り中…
検索中…
一致する文字列を見つけられません
plugin.hpp
1//
2// plugin.hpp
3// skyway
4//
5// Created by sandabu on 2021/12/21.
6// Copyright © 2021 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_
10#define SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_
11
12#include <api/peer_connection_interface.h>
13
14#include "skyway/core/interface/channel.hpp"
15#include "skyway/core/interface/remote_member_plugin.hpp"
16
17namespace skyway {
18namespace plugin {
19namespace remote_person {
20
21using PluginInterface = core::interface::RemoteMemberPlugin;
22using RemoteMemberInterface = core::interface::RemoteMember;
23using ChannelInterface = core::interface::Channel;
24
26class Plugin : public PluginInterface {
27public:
28 Plugin(rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory);
29 std::string GetSubtype() const override;
31 std::unique_ptr<RemoteMemberInterface> Create(ChannelInterface* channel,
32 const model::Member& member_dto) const override;
34
35private:
36 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_connection_factory_;
37};
38
39} // namespace remote_person
40} // namespace plugin
41} // namespace skyway
42
43#endif /* SKYWAY_PLUGIN_REMOTE_PERSON_PLUGIN_PLUGIN_HPP_ */
Channelのインターフェース
Definition channel.hpp:28
Definition remote_member_plugin.hpp:20
RemotePersonのPlugin
Definition plugin.hpp:26
std::string GetSubtype() const override
Pluginのサブタイプ
メンバー情報
Definition domain.hpp:54