tinykernel
Loading...
Searching...
No Matches
actor.hpp File Reference
#include "kernel.hpp"
#include <cstdint>
#include <cstddef>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

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

Namespaces

namespace  tk

Functions

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