actor_8hpp.tex 2.2 KB

12345678910111213141516171819202122232425262728
  1. \doxysection{C:/\+\+Users/\+yoneda/\+\+Documents/\+\+Pico\+\_\+\+Projects/\+tinykernel/\+tinykernel/\+include/\+tinykernel/\+actor.hpp File Reference}
  2. \hypertarget{actor_8hpp}{}\label{actor_8hpp}\index{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/include/tinykernel/actor.hpp@{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/include/tinykernel/actor.hpp}}
  3. {\ttfamily \+\#include "{}kernel.\+hpp"{}}\newline
  4. {\ttfamily \+\#include $<$cstdint$>$}\newline
  5. {\ttfamily \+\#include $<$cstddef$>$}\newline
  6. {\ttfamily \+\#include $<$type\+\_\+traits$>$}\newline
  7. {\ttfamily \+\#include $<$utility$>$}\newline
  8. \doxysubsubsection*{Classes}
  9. \begin{DoxyCompactItemize}
  10. \item
  11. struct \doxymbox{\hyperlink{structtk_1_1_message}{tk::\+\+Message}}
  12. \begin{DoxyCompactList}\small\item\em デフォルトの軽量メッセージ構造体 \end{DoxyCompactList}\item
  13. class \doxymbox{\hyperlink{classtk_1_1_event_hub}{tk::\+\+Event\+Hub$<$ Msg\+Type, Max\+Subscribers $>$}}
  14. \begin{DoxyCompactList}\small\item\em メッセージ型ごとの超軽量 Pub/\+\+Sub ディスパッチャ \end{DoxyCompactList}\item
  15. class \doxymbox{\hyperlink{classtk_1_1_actor}{tk::\+\+Actor$<$ Msg\+Type, Queue\+Size $>$}}
  16. \begin{DoxyCompactList}\small\item\em メッセージ駆動型タスク (アクター) の基底クラス \end{DoxyCompactList}\end{DoxyCompactItemize}
  17. \doxysubsubsection*{Namespaces}
  18. \begin{DoxyCompactItemize}
  19. \item
  20. namespace \doxymbox{\hyperlink{namespacetk}{tk}}
  21. \end{DoxyCompactItemize}
  22. \doxysubsubsection*{Functions}
  23. \begin{DoxyCompactItemize}
  24. \item
  25. {\footnotesize template$<$typename Msg\+Type$>$ }\\size\+\_\+t \doxymbox{\hyperlink{namespacetk_a083495c9bf857a63f6c20a20aac0ca52}{tk::\+publish}} (const Msg\+Type \&msg)
  26. \begin{DoxyCompactList}\small\item\em メッセージの型を指定して、購読しているすべての \doxylink{classtk_1_1_actor}{Actor} へ同報配信します \end{DoxyCompactList}\item
  27. size\+\_\+t \doxymbox{\hyperlink{namespacetk_a5549bec310750722a1964de1145b9fed}{tk::\+publish}} (uint32\+\_\+t id, uintptr\+\_\+t arg=0)
  28. \begin{DoxyCompactList}\small\item\em \doxylink{structtk_1_1_message}{tk::\+\+Message} 型の同報配信ショートカット \end{DoxyCompactList}\end{DoxyCompactItemize}