SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
remote_room_member.hpp
1//
2// © NTT DOCOMO BUSINESS, Inc. All Rights Reserved.
3//
4
5#ifndef SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP
6#define SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP
7
8#include <skyway/plugin/remote_person_plugin/remote_person.hpp>
9
10#include "skyway/room/abstract/room_member.hpp"
11#include "skyway/room/interface/remote_room_member.hpp"
12
13namespace skyway {
14namespace room {
15
18public:
19 RemoteRoomMember(std::shared_ptr<plugin::remote_person::RemotePerson> person,
20 std::shared_ptr<interface::Room> room,
21 interface::RoomDomainFactory* factory);
22 std::shared_ptr<interface::RoomSubscription> Subscribe(
23 const std::string& publication_id) override;
24 bool Unsubscribe(const std::string& subscription_id) override;
25 std::vector<std::shared_ptr<interface::RoomPublication>> Publications() override;
26
27private:
28 std::shared_ptr<plugin::remote_person::RemotePerson> RemotePerson();
29};
30
31} // namespace room
32} // namespace skyway
33
34#endif /* SKYWAY_ROOM_REMOTE_ROOM_MEMBER_HPP */
RemoteRoomMemberの操作を行うクラス
Definition remote_room_member.hpp:17
std::vector< std::shared_ptr< interface::RoomPublication > > Publications() override
このMemberのPublication一覧を取得します。
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:17
RemoteRoomMemberの操作を行うインターフェース
Definition remote_room_member.hpp:15