LIBTHEMIS
公開メンバ関数 | フレンド | 全メンバ一覧
themis::Listener< E_ > クラステンプレートabstract

イベントE_をTalker<E_>から通知されて處理するクラスの基底 [詳解]

#include <listen.h>

themis::Listener< E_ > の継承関係図
Inheritance graph
[凡例]
themis::Listener< E_ > 連携図
Collaboration graph
[凡例]

公開メンバ関数

constexpr Listener () noexcept
 デフォルト構築子 [詳解]
 
virtual ~Listener ()
 解體子 [詳解]
 
virtual void update (const E_ &)=0
 更新(イベント通知) [詳解]
 

フレンド

class themis::Talker< E_ >
 

詳解

template<class E_>
class themis::Listener< E_ >

イベントE_をTalker<E_>から通知されて處理するクラスの基底

構築子と解体子

◆ Listener()

template<class E_>
constexpr themis::Listener< E_ >::Listener ( )
inlinenoexcept

デフォルト構築子

◆ ~Listener()

template<class E_>
virtual themis::Listener< E_ >::~Listener ( )
inlinevirtual

解體子

呼び出し関係図:

関数詳解

◆ update()

template<class E_>
virtual void themis::Listener< E_ >::update ( const E_ &  )
pure virtual

更新(イベント通知)

Talkerからイベントeを實引數として呼び出される。 處理内容は派生クラスで實裝する。

フレンドと関連関数の詳解

◆ themis::Talker< E_ >

template<class E_>
friend class themis::Talker< E_ >
friend

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