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

Public Member Functions

 PDPSim (int index)
 
std::unique_ptr< CallbackStoreRegisterInitializedCallback (NotifyCallback callback, bool initialNotify)
 
bool GetInitialized () const
 
void SetInitialized (bool initialized)
 
std::unique_ptr< CallbackStoreRegisterTemperatureCallback (NotifyCallback callback, bool initialNotify)
 
double GetTemperature () const
 
void SetTemperature (double temperature)
 
std::unique_ptr< CallbackStoreRegisterVoltageCallback (NotifyCallback callback, bool initialNotify)
 
double GetVoltage () const
 
void SetVoltage (double voltage)
 
std::unique_ptr< CallbackStoreRegisterCurrentCallback (int channel, NotifyCallback callback, bool initialNotify)
 
double GetCurrent (int channel) const
 
void SetCurrent (int channel, double current)
 
void GetAllCurrents (double *currents)
 
void SetAllCurrents (const double *currents)
 
void ResetData ()
 

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