SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
remote_room_member.hpp
1//
2// remote_room_member.hpp
3// skyway
4//
5// Created by Naoto Takahashi on 2023/12/08.
6// Copyright © 2023 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP
10#define SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP
11
12#include <skyway/plugin/remote_person_plugin/remote_person.hpp>
13
14#include "skyway/room/abstract/room_member.hpp"
15#include "skyway/room/interface/remote_room_member.hpp"
16
17namespace skyway {
18namespace room {
19
22public:
23 RemoteRoomMember(std::shared_ptr<plugin::remote_person::RemotePerson> person,
24 std::shared_ptr<interface::Room> room,
25 interface::RoomDomainFactory* factory);
26 std::shared_ptr<interface::RoomSubscription> Subscribe(
27 const std::string& publication_id) override;
28 bool Unsubscribe(const std::string& subscription_id) override;
29
30private:
31 std::shared_ptr<plugin::remote_person::RemotePerson> RemotePerson();
32};
33
34} // namespace room
35} // namespace skyway
36
37#endif /* SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP */
RemoteRoomMemberの操作を行うクラス
Definition remote_room_member.hpp:21
bool Unsubscribe(const std::string &subscription_id) override
購読しているSubscriptionの購読を解除します。
std::shared_ptr< interface::RoomSubscription > Subscribe(const std::string &publication_id) override
公開されているPublicationを購読します。
RoomMemberの操作を行う抽象クラス
Definition room_member.hpp:21
RemoteRoomMemberの操作を行うインターフェース
Definition remote_room_member.hpp:19