|
std::function< CallbackT > | m_callback |
|
|
Public Types inherited from caffa::MethodHandle |
enum class | Type { READ_WRITE = 0
, READ_ONLY
} |
|
Public Member Functions inherited from caffa::MethodHandle |
std::string | keyword () const override |
|
void | setArgumentNames (const std::vector< std::string > &argumentNames) |
|
const std::vector< std::string > & | argumentNames () const |
|
Type | type () const |
|
const std::string & | documentation () const |
|
void | setDocumentation (const std::string &documentation) |
|
virtual std::string | execute (const std::string &jsonArgumentsString) const =0 |
|
virtual std::string | schema () const =0 |
|
virtual nlohmann::json | jsonSchema () const =0 |
|
MethodAccessorInterface * | accessor () const |
|
void | setAccessor (std::unique_ptr< MethodAccessorInterface > accessor) |
|
The documentation for this class was generated from the following file:
- /home/glindkvist/Projects/aru-server-app/frameworks/caffa/Core/cafMethod.h