Home
last modified time | relevance | path

Searched refs:CmdT (Results 1 – 1 of 1) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dgeneric_messages.h41 template <Protocol Proto, typename CmdT, CmdT cmd> struct Cmd {};
62 template <uint32_t proto, typename CmdT, CmdT cmd>
63 inline WriteStream write(WriteStream out, Cmd<proto, CmdT, cmd>) { in write() argument
68 volatile CmdT* cmdptr = reinterpret_cast<volatile CmdT*>(out.pos()); in write()
69 out += sizeof(CmdT); in write()
81 template <Protocol proto, typename CmdT, CmdT cmd, typename... Fields>
82 std::tuple<ReadStream, Fields...> read(Message<Cmd<proto, CmdT, cmd>, Fields...>, ReadStream in) { in read() argument
86 template <Protocol proto, typename CmdT, CmdT cmd, typename... T>
87 struct msg2tuple<Message<Cmd<proto, CmdT, cmd>, T...>> {
93 template <typename CmdT, CmdT Invalid = CmdT::Invalid>
[all …]