SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
skyway::core::interface::RemoteMember クラス

このSDK以外で生成されたメンバ [詳解]

#include <remote_member.hpp>

skyway::core::interface::RemoteMember の継承関係図
skyway::core::interface::Member skyway::plugin::remote_person::RemotePerson skyway::plugin::unknown_plugin::UnknownMember

公開メンバ関数

virtual void OnPublicationSubscribed (std::shared_ptr< interface::Subscription > subscription)
 PublicationがSubscribeされた時に発生するイベント
 
virtual void OnPublicationUnsubscribed (std::shared_ptr< interface::Subscription > subscription)
 PublicationがUnsubscribeされた時に発生するイベント
 
- 基底クラス skyway::core::interface::Member に属する継承公開メンバ関数
void AddEventListener (EventListener *listener)
 イベントを購読します。
 
void RemoveEventListener (EventListener *listener)
 イベントの購読を中止します。
 
bool UpdateMetadata (const std::string &metadata)
 Metadataを更新します
 
bool Leave ()
 Channelから退室します。
 
std::string Id () const
 Idを取得します。
 
std::optional< std::string > Name () const
 Nameを取得します。
 
std::optional< std::string > Metadata () const
 Metadataを取得します。
 
model::MemberType Type () const
 MemberTypeを取得します。
 
std::string Subtype () const
 Subtypeを取得します。
 
model::Side Side () const
 Side(LocalかRemoteか)を取得します。
 
MemberState State () const
 State(Memberの入室状態)を取得します。
 
std::vector< std::shared_ptr< interface::Publication > > Publications () const
 自身が持つ全てのPublicationを取得します。
 
std::vector< std::shared_ptr< interface::Subscription > > Subscriptions () const
 自身が持つ全てのSubscriptionを取得します。
 

限定公開メンバ関数

 RemoteMember (std::shared_ptr< interface::Channel > channel, const model::Member &dto)
 
- 基底クラス skyway::core::interface::Member に属する継承限定公開メンバ関数
 Member (std::shared_ptr< interface::Channel > channel, const model::Member &initial_dto, const model::Side &side)
 

その他の継承メンバ

- 基底クラス skyway::core::interface::Member に属する継承限定公開変数類
std::weak_ptr< interface::Channelchannel_
 
model::Member initial_dto_
 
model::Side side_
 
MemberState state_
 
std::mutex listeners_mtx_
 
std::unordered_set< EventListener * > listeners_
 
std::atomic< bool > metadata_updated_
 

詳解

このSDK以外で生成されたメンバ

RemoteMemberはRemoteMemberPluginを利用して振る舞いを変更します。 MemberのSubtypeに応じて登録されているPluginを利用し、存在しない場合はUnknownPluginで初期化されます。

関数詳解

◆ OnPublicationSubscribed()

virtual void skyway::core::interface::RemoteMember::OnPublicationSubscribed ( std::shared_ptr< interface::Subscription subscription)
inlinevirtual

PublicationがSubscribeされた時に発生するイベント

引数
subscription対象のSubscription

◆ OnPublicationUnsubscribed()

virtual void skyway::core::interface::RemoteMember::OnPublicationUnsubscribed ( std::shared_ptr< interface::Subscription subscription)
inlinevirtual

PublicationがUnsubscribeされた時に発生するイベント

引数
subscription対象のSubscription

このクラス詳解は次のファイルから抽出されました: