Comms CCF
This is a simple communication layer based on COBS, CBOR and FNV-1A
Loading...
Searching...
No Matches
Call< Ret, Args > Class Template Reference
Inheritance diagram for Call< Ret, Args >:
NonTemplatedCall

Public Types

using Fun = Ret (*)(Args...)
using ArgsTup = std::tuple<Args...>
using Return = Ret

Public Member Functions

 Call (const char *name_, const char *doc_, std::array< const char *, sizeof...(Args)> argNames_, Fun ptr_)
 definition (bool, schema,(self_arg(Call) Cbor::Sequence< Cbor::Major::Array > &seq))
 definition (bool, call,(self_arg(Call) std::span< uint8_t > &args, std::span< uint8_t > &ret))
Public Member Functions inherited from NonTemplatedCall
 prototype (bool, schema,(self_arg(NonTemplatedCall) Cbor::Sequence< Cbor::Major::Array > &seq))
 Encodes the schema for the function into seq.
 prototype (bool, call,(self_arg(NonTemplatedCall) std::span< uint8_t > &args, std::span< uint8_t > &ret))

The documentation for this class was generated from the following file: