SkyWay for Linux
読み取り中…
検索中…
一致する文字列を見つけられません
remote_member_plugin.hpp
1
//
2
// remote_member_plugin.hpp
3
// skyway
4
//
5
// Created by sandabu on 2021/12/17.
6
// Copyright © 2021 NTT Communications. All rights reserved.
7
//
8
9
#ifndef SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_
10
#define SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_
11
12
#include "skyway/core/interface/channel.hpp"
13
#include "skyway/core/interface/remote_member.hpp"
14
#include "skyway/model/domain.hpp"
15
16
namespace
skyway {
17
namespace
core {
18
namespace
interface {
19
20
class
RemoteMemberPlugin
{
21
public
:
22
virtual
~RemoteMemberPlugin
() =
default
;
24
virtual
std::string
GetSubtype
()
const
= 0;
26
virtual
std::unique_ptr<RemoteMember> Create(
Channel
* channel,
27
const
model::Member
& dto)
const
= 0;
28
virtual
void
OnLocalPersonDisposed(
const
std::string& local_person_id) {}
30
};
31
32
}
// namespace interface
33
}
// namespace core
34
}
// namespace skyway
35
36
#endif
/* SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_ */
skyway::core::interface::Channel
Channelのインターフェース
Definition
channel.hpp:28
skyway::core::interface::RemoteMemberPlugin
Definition
remote_member_plugin.hpp:20
skyway::core::interface::RemoteMemberPlugin::GetSubtype
virtual std::string GetSubtype() const =0
Pluginのサブタイプ
skyway::model::Member
メンバー情報
Definition
domain.hpp:54
include
skyway
core
interface
remote_member_plugin.hpp
構築:
1.9.8