13class BooleanSubscriber;
16class NetworkTableInstance;
54 std::string_view topicName);
65 std::string_view topicName);
77 std::string_view tableName, std::string_view topicName);
This class provides an easy way to link actions to active high logic signals.
Definition BooleanEvent.h:30
A declarative way to bind a set of actions to a loop and execute them when the loop is polled.
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:34
NetworkTables Boolean topic.
Definition BooleanTopic.h:235
NetworkTables Instance.
Definition NetworkTableInstance.h:68
NetworkTables (ntcore) namespace.
Definition ntcore_cpp.h:36