WPILibC++  2018.4.1-20180730003225-1150-g0a0d924
 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 ()
 
void SetInitialized (bool initialized)
 
std::unique_ptr< CallbackStoreRegisterCountCallback (NotifyCallback callback, bool initialNotify)
 
int GetCount ()
 
void SetCount (int count)
 
std::unique_ptr< CallbackStoreRegisterPeriodCallback (NotifyCallback callback, bool initialNotify)
 
double GetPeriod ()
 
void SetPeriod (double period)
 
std::unique_ptr< CallbackStoreRegisterResetCallback (NotifyCallback callback, bool initialNotify)
 
bool GetReset ()
 
void SetReset (bool reset)
 
std::unique_ptr< CallbackStoreRegisterMaxPeriodCallback (NotifyCallback callback, bool initialNotify)
 
double GetMaxPeriod ()
 
void SetMaxPeriod (double maxPeriod)
 
std::unique_ptr< CallbackStoreRegisterDirectionCallback (NotifyCallback callback, bool initialNotify)
 
bool GetDirection ()
 
void SetDirection (bool direction)
 
std::unique_ptr< CallbackStoreRegisterReverseDirectionCallback (NotifyCallback callback, bool initialNotify)
 
bool GetReverseDirection ()
 
void SetReverseDirection (bool reverseDirection)
 
std::unique_ptr< CallbackStoreRegisterSamplesToAverageCallback (NotifyCallback callback, bool initialNotify)
 
int GetSamplesToAverage ()
 
void SetSamplesToAverage (int samplesToAverage)
 
std::unique_ptr< CallbackStoreRegisterDistancePerPulseCallback (NotifyCallback callback, bool initialNotify)
 
double GetDistancePerPulse ()
 
void SetDistancePerPulse (double distancePerPulse)
 
void ResetData ()
 

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