void SetEdgeConfiguration(EdgeConfiguration configuration)
Sets the configuration for the channel.
int GetCount() const
Gets the current count.
void Reset()
Resets the current count.
UpDownCounter(int channel, EdgeConfiguration configuration)
Constructs a new UpDown Counter.
UpDownCounter & operator=(UpDownCounter &&)=default
~UpDownCounter() override=default
void InitSendable(wpi::util::SendableBuilder &builder) override
Initializes this Sendable object.
UpDownCounter(UpDownCounter &&)=default
A move-only C++ wrapper around a HAL handle.
Definition Types.hpp:16
Helper class for building Sendable dashboard representations.
Definition SendableBuilder.hpp:21
A helper class for use with objects that add themselves to SendableRegistry.
Definition SendableHelper.hpp:21
Interface for Sendable objects.
Definition Sendable.hpp:16
Definition CvSource.hpp:15
EdgeConfiguration
Edge configuration.
Definition EdgeConfiguration.hpp:11