OcaSamplingRateConverter#
This document describes the controller implementation of OcaSamplingRateConverter. This class is documented in the AES70 standard as:
Sampling rate converter. ClockMap property inherited from OcaWorker shall define the input and output clocks to be used for the conversion(s).
Overview#
- ClassID: 1.1.1.23
- Header:
aes70/controller/OcaSamplingRateConverter.hpp
- Namespace:
aes70::controller
- Inheritance: aes70::controller::OcaActuator, aes70::controller::OcaWorker, aes70::controller::OcaRoot, aes70::controller::object
Class Declaration#
namespace aes70::controller
{
class OcaSamplingRateConverter : public OcaActuator
{
public:
OcaSamplingRateConverter(std::shared_ptr<connection> connection,
uin32_t object_number);
OcaSamplingRateConverter(const OcaSamplingRateConverter &o);
// Control Methods
// Calls GetType and calls on_result or on_failure
void GetType(auto on_result, failure_callback on_failure);
// Observing Properties
// Property Changed Subscriptions
};
}
Methods#
GetType#
void GetType(auto on_result, failure_callback on_failure)
Calls the method GetType in the remote device.
Parameters:#
auto on_result
: A callable (e.g. a lambda) with the following arguments:OcaSamplingRateConverterType SrcType
failure_callback on_failure
: A callback which is called on error.