29 [[nodiscard]]
static std::unique_ptr<CallbackStore>
53 [[nodiscard]]
static std::unique_ptr<CallbackStore>
78 [[nodiscard]]
static std::unique_ptr<CallbackStore>
103 [[nodiscard]]
static std::unique_ptr<CallbackStore>
128 [[nodiscard]]
static std::unique_ptr<CallbackStore>
153 [[nodiscard]]
static std::unique_ptr<CallbackStore>
178 [[nodiscard]]
static std::unique_ptr<CallbackStore>
203 [[nodiscard]]
static std::unique_ptr<CallbackStore>
228 [[nodiscard]]
static std::unique_ptr<CallbackStore>
253 [[nodiscard]]
static std::unique_ptr<CallbackStore>
278 [[nodiscard]]
static std::unique_ptr<CallbackStore>
303 [[nodiscard]]
static std::unique_ptr<CallbackStore>
329 [[nodiscard]]
static std::unique_ptr<CallbackStore>
355 [[nodiscard]]
static std::unique_ptr<CallbackStore>
381 [[nodiscard]]
static std::unique_ptr<CallbackStore>
405 [[nodiscard]]
static std::unique_ptr<CallbackStore>
A utility class to control a simulated RoboRIO.
Definition: RoboRioSim.h:20
static std::string GetComments()
Get the comments.
static units::ampere_t GetUserCurrent3V3()
Measure the 3.3V rail current.
static void SetSerialNumber(std::string_view serialNumber)
Set the serial number.
static std::unique_ptr< CallbackStore > RegisterUserVoltage5VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 5V rail voltage changes.
static std::unique_ptr< CallbackStore > RegisterVInCurrentCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the Vin current changes.
static void SetUserActive3V3(bool userActive3V3)
Set the 3.3V rail active state.
static void SetFPGAButton(bool fPGAButton)
Define the state of the FPGA button.
static units::volt_t GetUserVoltage3V3()
Measure the 3.3V rail voltage.
static void SetVInCurrent(units::ampere_t vInCurrent)
Define the Vin current.
static void ResetData()
Reset all simulation data.
static std::unique_ptr< CallbackStore > RegisterUserFaults3V3Callback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 3.3V rail number of faults changes.
static std::unique_ptr< CallbackStore > RegisterUserVoltage6VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 6V rail voltage changes.
static bool GetUserActive5V()
Get the 5V rail active state.
static int GetUserFaults5V()
Get the 5V rail number of faults.
static std::unique_ptr< CallbackStore > RegisterFPGAButtonCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run when the FPGA button state changes.
static void SetUserFaults6V(int userFaults6V)
Set the 6V rail number of faults.
static std::unique_ptr< CallbackStore > RegisterBrownoutVoltageCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the brownout voltage changes.
static units::ampere_t GetUserCurrent5V()
Measure the 5V rail current.
static void SetUserFaults5V(int userFaults5V)
Set the 5V rail number of faults.
static void SetUserFaults3V3(int userFaults3V3)
Set the 3.3V rail number of faults.
static void SetUserCurrent6V(units::ampere_t userCurrent6V)
Define the 6V rail current.
static bool GetUserActive3V3()
Get the 3.3V rail active state.
static units::ampere_t GetVInCurrent()
Measure the Vin current.
static units::volt_t GetUserVoltage6V()
Measure the 6V rail voltage.
static units::volt_t GetVInVoltage()
Measure the Vin voltage.
static void SetUserVoltage3V3(units::volt_t userVoltage3V3)
Define the 3.3V rail voltage.
static void SetUserActive6V(bool userActive6V)
Set the 6V rail active state.
static units::volt_t GetBrownoutVoltage()
Measure the brownout voltage.
static std::string GetSerialNumber()
Get the serial number.
static int GetUserFaults3V3()
Get the 3.3V rail number of faults.
static std::unique_ptr< CallbackStore > RegisterUserFaults5VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 5V rail number of faults changes.
static units::volt_t GetUserVoltage5V()
Measure the 5V rail voltage.
static std::unique_ptr< CallbackStore > RegisterUserVoltage3V3Callback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 3.3V rail voltage changes.
static units::ampere_t GetUserCurrent6V()
Measure the 6V rail current.
static std::unique_ptr< CallbackStore > RegisterUserActive5VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 5V rail active state changes.
static std::unique_ptr< CallbackStore > RegisterUserActive3V3Callback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 3.3V rail active state changes.
static void SetVInVoltage(units::volt_t vInVoltage)
Define the Vin voltage.
static std::unique_ptr< CallbackStore > RegisterUserActive6VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 6V rail active state changes.
static void SetUserActive5V(bool userActive5V)
Set the 5V rail active state.
static void SetUserVoltage5V(units::volt_t userVoltage5V)
Define the 5V rail voltage.
static bool GetFPGAButton()
Query the state of the FPGA button.
static void SetBrownoutVoltage(units::volt_t brownoutVoltage)
Define the brownout voltage.
static void SetUserCurrent5V(units::ampere_t userCurrent5V)
Define the 5V rail current.
static std::unique_ptr< CallbackStore > RegisterVInVoltageCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the Vin voltage changes.
static void SetComments(std::string_view comments)
Set the comments.
static void SetUserVoltage6V(units::volt_t userVoltage6V)
Define the 6V rail voltage.
static std::unique_ptr< CallbackStore > RegisterUserCurrent5VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 5V rail current changes.
static std::unique_ptr< CallbackStore > RegisterUserFaults6VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 6V rail number of faults changes.
static int GetUserFaults6V()
Get the 6V rail number of faults.
static bool GetUserActive6V()
Get the 6V rail active state.
static void SetUserCurrent3V3(units::ampere_t userCurrent3V3)
Define the 3.3V rail current.
static std::unique_ptr< CallbackStore > RegisterUserCurrent3V3Callback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 3.3V rail current changes.
static std::unique_ptr< CallbackStore > RegisterUserCurrent6VCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the 6V rail current changes.
basic_string_view< char > string_view
Definition: core.h:520
Definition: AnalogOutputSim.h:15
std::function< void(std::string_view, const HAL_Value *)> NotifyCallback
Definition: CallbackStore.h:14