class PwmConfig

Defined at line 182 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/natural_types.h

Public Methods

void PwmConfig (Storage_ storage)
void PwmConfig (bool polarity, uint32_t period_ns, float duty_cycle, ::std::vector<uint8_t> mode_config)
void PwmConfig ()

Default constructs a |PwmConfig| only if all of its members are default constructible.

Defined at line 193 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/natural_types.h

void PwmConfig (PwmConfig && )

Defined at line 196 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/natural_types.h

void PwmConfig (const PwmConfig & other)
PwmConfig & operator= (PwmConfig && )

Defined at line 197 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/natural_types.h

PwmConfig & operator= (const PwmConfig & other)
bool operator== (const PwmConfig & other)
bool operator!= (const PwmConfig & other)
bool polarity ()
bool & polarity ()
PwmConfig & polarity (bool value)

Setter for polarity.

uint32_t period_ns ()
uint32_t & period_ns ()
PwmConfig & period_ns (uint32_t value)

Setter for period_ns.

float duty_cycle ()
float & duty_cycle ()
PwmConfig & duty_cycle (float value)

Setter for duty_cycle.

const ::std::vector<uint8_t> & mode_config ()
::std::vector<uint8_t> & mode_config ()
PwmConfig & mode_config (::std::vector<uint8_t> value)

Setter for mode_config.

void PwmConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits