13class BooleanSubscriber;
16class NetworkTableInstance;
This class provides an easy way to link actions to inputs.
Definition: BooleanEvent.h:31
The loop polling BooleanEvent objects and executing the actions bound to them.
Definition: EventLoop.h:15
A Button that uses a NetworkTable boolean field.
Definition: NetworkBooleanEvent.h:25
NetworkBooleanEvent(EventLoop *loop, std::string_view tableName, std::string_view topicName)
Creates a new event with the given boolean topic determining whether it is active.
NetworkBooleanEvent(EventLoop *loop, nt::BooleanSubscriber sub)
Creates a new event with the given boolean subscriber determining whether it is active.
NetworkBooleanEvent(EventLoop *loop, std::shared_ptr< nt::NetworkTable > table, std::string_view topicName)
Creates a new event with the given boolean topic determining whether it is active.
NetworkBooleanEvent(EventLoop *loop, nt::NetworkTableInstance inst, std::string_view tableName, std::string_view topicName)
Creates a new event with the given boolean topic determining whether it is active.
NetworkBooleanEvent(EventLoop *loop, nt::BooleanTopic topic)
Creates a new event with the given boolean topic determining whether it is active.
NetworkTables Boolean subscriber.
Definition: BooleanTopic.h:29
NetworkTables Boolean topic.
Definition: BooleanTopic.h:210
NetworkTables Instance.
Definition: NetworkTableInstance.h:59
basic_string_view< char > string_view
Definition: core.h:520
Definition: AprilTagFieldLayout.h:22
NetworkTables (ntcore) namespace.
Definition: ntcore_cpp.h:35