Definition: AnalogTrigger.h:21
Class to control a simulated analog trigger.
Definition: AnalogTriggerSim.h:20
std::unique_ptr< CallbackStore > RegisterInitializedCallback(NotifyCallback callback, bool initialNotify)
Register a callback on whether the analog trigger is initialized.
static AnalogTriggerSim CreateForChannel(int channel)
Creates an AnalogTriggerSim for an analog input channel.
AnalogTriggerSim(const AnalogTrigger &analogTrigger)
Constructs from an AnalogTrigger object.
std::unique_ptr< CallbackStore > RegisterTriggerLowerBoundCallback(NotifyCallback callback, bool initialNotify)
Register a callback on the lower bound.
void ResetData()
Reset all simulation data for this object.
double GetTriggerUpperBound() const
Get the upper bound.
static AnalogTriggerSim CreateForIndex(int index)
Creates an AnalogTriggerSim for a simulated index.
void SetInitialized(bool initialized)
Change whether this analog trigger has been initialized.
void SetTriggerUpperBound(double triggerUpperBound)
Change the upper bound.
double GetTriggerLowerBound() const
Get the lower bound.
std::unique_ptr< CallbackStore > RegisterTriggerUpperBoundCallback(NotifyCallback callback, bool initialNotify)
Register a callback on the upper bound.
bool GetInitialized() const
Check if this analog trigger has been initialized.
void SetTriggerLowerBound(double triggerLowerBound)
Change the lower bound.
std::function< void(std::string_view, const HAL_Value *)> NotifyCallback
Definition: CallbackStore.h:14
Definition: AprilTagPoseEstimator.h:15