template<typename MethodDetector, typename PropertyDetector, typename Encoder, uint16_t _MethodLevel, uint16_t _MethodIndex, uint16_t _PropertyLevel, uint16_t _PropertyIndex>
aes70::device::Setter struct

Template class which detects the appropriate API to use for an AES70 setter. Within libaes70 the method name is Set<PROPERTY>. When the setter is called it will try the following in order:

  • OcaStatus SetPROPERTY(const uint8_t *src, const uint8_t *src_end, const aes70::response_generator&): It will not generate a PropertyChanged event automatically.
  • void SetPROPERTY(const uint8_t *src, const uint8_t *src_end, const aes70::device::response_generator& r): SetPROPERTY has to generate the response message using the r. It will not generate a PropertyChanged event automatically.
  • OcaStatus SetPROPERTY(VAL, const aes70::response_generator&): Calls method with the new value and the response generator. Will generate a response with the returned status. This API will generate a PropertyChanged event automatically with value VAL if the returned status was OcaStatus::OK.
  • bool SetPROPERTY(VAL, const aes70::response_generator&): Calls method with the new value and the response generator. Will neither generate a response nor a PropertyChanged event.
  • void SetPROPERTY(VAL, const aes70::response_generator&): Calls method with the new value and the response generator. Will generate a response with the status OcaStatus::OK. This API will generate a PropertyChanged event automatically with VAL.
  • NEW_VAL SetPROPERTY(VAL, const aes70::response_generator&): Calls method with the new value and the response generator. Will always generate a response with status OcaStatus::OK. This API will generate a PropertyChanged event automatically with NEW_VAL. NEW_VAL.
  • OcaStatus SetPROPERTY(VAL): Calls method with the new value. Will generate a response with the returned status. This API will generate a PropertyChanged event automatically with value VAL if the returned status was OcaStatus::OK.
  • void SetPROPERTY(VAL): Calls method with the new value. Will generate a response with the status OcaStatus::OK. This API will generate a PropertyChanged event automatically with VAL.
  • NEW_VAL SetPROPERTY(VAL, const aes70::response_generator&): Calls method with the new value. Will always generate a response with status OcaStatus::OK. This API will generate a PropertyChanged event automatically with NEW_VAL.
  • If a public property with the name PROPERTY exists, calling the setter with assign that property and generate a PropertyChanged event with the new value.