tinykernel
読み取り中…
検索中…
一致する文字列を見つけられません
actor.hpp ファイル
#include "kernel.hpp"
#include <cstdint>
#include <cstddef>
#include <type_traits>
#include <utility>

[ソースコード]

クラス

struct  tk::Message
 デフォルトの軽量メッセージ構造体 [詳解]
class  tk::EventHub< MsgType, MaxSubscribers >
 メッセージ型ごとの超軽量 Pub/Sub ディスパッチャ [詳解]
class  tk::Actor< MsgType, QueueSize >
 メッセージ駆動型タスク (アクター) の基底クラス [詳解]

名前空間

namespace  tk

関数

template<typename MsgType>
size_t tk::publish (const MsgType &msg)
 メッセージの型を指定して、購読しているすべての Actor へ同報配信します
size_t tk::publish (uint32_t id, uintptr_t arg=0)
 tk::Message 型の同報配信ショートカット