Go to the documentation of this file. 1 #ifndef __BITTYBUZZFUNCTIONDESCRIPTION_H_
2 #define __BITTYBUZZFUNCTIONDESCRIPTION_H_
5 #include <pheromones/FunctionDescriptionArgumentTypeDTO.h>
6 #include <pheromones/FunctionDescriptionDTO.h>
21 const std::array<std::tuple<const char*, FunctionDescriptionArgumentTypeDTO>,
22 FunctionDescriptionDTO::ARGUMENTS_MAX_SIZE>&
41 bool addArgument(
const char* argumentName, FunctionDescriptionArgumentTypeDTO argumentType);
45 std::array<std::tuple<const char*, FunctionDescriptionArgumentTypeDTO>,
46 FunctionDescriptionDTO::ARGUMENTS_MAX_SIZE>
51 #endif // __BITTYBUZZFUNCTIONDESCRIPTION_H_
const char * getFunctionName() const
get the name of the function
Definition: BittyBuzzFunctionDescription.cpp:15
std::array< std::tuple< const char *, FunctionDescriptionArgumentTypeDTO >, FunctionDescriptionDTO::ARGUMENTS_MAX_SIZE > m_argumentDescriptions
Definition: BittyBuzzFunctionDescription.h:47
uint16_t m_argumentDescriptionsLength
Definition: BittyBuzzFunctionDescription.h:48
bool addArgument(const char *argumentName, FunctionDescriptionArgumentTypeDTO argumentType)
add an argument to the list of the description
Definition: BittyBuzzFunctionDescription.cpp:17
Description for a function, used for the FunctionDescriptionRequest/Response.
Definition: BittyBuzzFunctionDescription.h:11
BittyBuzzFunctionDescription(const char *functionName)
Definition: BittyBuzzFunctionDescription.cpp:3
uint16_t getArgumentsLength() const
get the length of the array
Definition: BittyBuzzFunctionDescription.cpp:12
const char * m_functionName
Definition: BittyBuzzFunctionDescription.h:44
const std::array< std::tuple< const char *, FunctionDescriptionArgumentTypeDTO >, FunctionDescriptionDTO::ARGUMENTS_MAX_SIZE > & getArguments() const
get the array of arguments description
Definition: BittyBuzzFunctionDescription.cpp:8