WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
frc::sim::EncoderSim Class Reference

Public Member Functions

 EncoderSim (int index)
 
std::unique_ptr< CallbackStoreRegisterInitializedCallback (NotifyCallback callback, bool initialNotify)
 
bool GetInitialized () const
 
void SetInitialized (bool initialized)
 
std::unique_ptr< CallbackStoreRegisterCountCallback (NotifyCallback callback, bool initialNotify)
 
int GetCount () const
 
void SetCount (int count)
 
std::unique_ptr< CallbackStoreRegisterPeriodCallback (NotifyCallback callback, bool initialNotify)
 
double GetPeriod () const
 
void SetPeriod (double period)
 
std::unique_ptr< CallbackStoreRegisterResetCallback (NotifyCallback callback, bool initialNotify)
 
bool GetReset () const
 
void SetReset (bool reset)
 
std::unique_ptr< CallbackStoreRegisterMaxPeriodCallback (NotifyCallback callback, bool initialNotify)
 
double GetMaxPeriod () const
 
void SetMaxPeriod (double maxPeriod)
 
std::unique_ptr< CallbackStoreRegisterDirectionCallback (NotifyCallback callback, bool initialNotify)
 
bool GetDirection () const
 
void SetDirection (bool direction)
 
std::unique_ptr< CallbackStoreRegisterReverseDirectionCallback (NotifyCallback callback, bool initialNotify)
 
bool GetReverseDirection () const
 
void SetReverseDirection (bool reverseDirection)
 
std::unique_ptr< CallbackStoreRegisterSamplesToAverageCallback (NotifyCallback callback, bool initialNotify)
 
int GetSamplesToAverage () const
 
void SetSamplesToAverage (int samplesToAverage)
 
std::unique_ptr< CallbackStoreRegisterDistancePerPulseCallback (NotifyCallback callback, bool initialNotify)
 
double GetDistancePerPulse () const
 
void SetDistancePerPulse (double distancePerPulse)
 
void ResetData ()
 

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