WPILibC++  2020.3.2-60-g3011ebe
frc::sim::PWMSim Class Reference

Public Member Functions

 PWMSim (int index)
std::unique_ptr< CallbackStoreRegisterInitializedCallback (NotifyCallback callback, bool initialNotify)
bool GetInitialized () const
void SetInitialized (bool initialized)
std::unique_ptr< CallbackStoreRegisterRawValueCallback (NotifyCallback callback, bool initialNotify)
int GetRawValue () const
void SetRawValue (int rawValue)
std::unique_ptr< CallbackStoreRegisterSpeedCallback (NotifyCallback callback, bool initialNotify)
double GetSpeed () const
void SetSpeed (double speed)
std::unique_ptr< CallbackStoreRegisterPositionCallback (NotifyCallback callback, bool initialNotify)
double GetPosition () const
void SetPosition (double position)
std::unique_ptr< CallbackStoreRegisterPeriodScaleCallback (NotifyCallback callback, bool initialNotify)
int GetPeriodScale () const
void SetPeriodScale (int periodScale)
std::unique_ptr< CallbackStoreRegisterZeroLatchCallback (NotifyCallback callback, bool initialNotify)
bool GetZeroLatch () const
void SetZeroLatch (bool zeroLatch)
void ResetData ()

The documentation for this class was generated from the following file: