template<typename Detector, typename _Arguments, typename _ReturnValues, uint16_t _Level, uint16_t _Index>
aes70::device::Method struct

Template class which detects the signature of a given mehtod, decodes the AES70 arguments, calls the methods and generates the response message.

For given AES70 _Arguments and _ReturnValues the supported calling signatures are (in order of preference):

  • OcaStatus METHOD(const uint8_t *src, const uint8_t *src_end, const aes70::response_generator&): This variant is only supported if the AES70 method has no return values.
  • void METHOD(const uint8_t *src, const uint8_t *src_end, const aes70::response_generator& r): METHOD has to generate the response message using the response_generator.
  • OcaStatus METHOD(const aes70::response_generator&): This variant is only supported if the AES70 method has no return values.
  • void METHOD(const aes70::response_generator&) METHOD has to generate the response message using the response_generator.
  • OcaStatus METHOD(args..., const aes70::response_generator&): This variant is only supported if the AES70 method has no return values. Calls method with all AES70 arguments and the response generator. Will generate a response with the returned status.
  • void METHOD(args..., const aes70::response_generator&): This variant is only supported if the AES70 method has no return values. Calls method with all AES70 arguments and the response generator. Will generate a response with the status OcaStatus::OK.
  • retval METHOD(args..., const aes70::response_generator&): Calls method with all AES70 arguments and the response generator. Will always generate a response with status OcaStatus::OK.
  • OcaStatus METHOD(args...): This variant is only supported if the AES70 method has no return values. Calls method with all AES70 arguments and the response generator. Will generate a response with the returned status.
  • void METHOD(args...): This variant is only supported if the AES70 method has no return values. Calls method with all AES70 arguments and the response generator. Will generate a response with the status OcaStatus::OK.
  • retval METHOD(args...): Calls method with all AES70 arguments and the response generator. Will always generate a response with status OcaStatus::OK.