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