22class ShuffleboardContainer;
32 m_typeString(typeString),
36 void BuildInto(std::shared_ptr<nt::NetworkTable> parentTable,
37 std::shared_ptr<nt::NetworkTable> metaTable)
override {
39 if (!m_controllablePub) {
42 m_controllablePub.
Set(
false);
49 m_setter(m_entry, m_supplier());
53 std::string m_typeString;
54 std::function<T()> m_supplier;
void BuildMetadata(std::shared_ptr< nt::NetworkTable > metaTable)
Common interface for objects that can contain shuffleboard components.
Definition: ShuffleboardContainer.h:42
Definition: ShuffleboardValue.h:15
const std::string & GetTitle() const
Gets the title of this Shuffleboard value.
Definition: ShuffleboardValue.h:27
NetworkTables Boolean publisher.
Definition: BooleanTopic.h:113
void Set(ParamType value, int64_t time=0)
Publish a new value.
Definition: BooleanTopic.inc:52
NetworkTables Boolean topic.
Definition: BooleanTopic.h:213
PublisherType Publish(const PubSubOptions &options=kDefaultPubSubOptions)
Create a new publisher to the topic.
Definition: BooleanTopic.inc:93
NetworkTables generic publisher.
Definition: GenericEntry.h:193
TopicType GetTopic() const
Get the corresponding topic.
Definition: GenericEntry.inc:200
GenericPublisher GenericPublish(std::string_view typeString, const PubSubOptions &options=kDefaultPubSubOptions)
Create a new publisher to the topic.
basic_string_view< char > string_view
Definition: core.h:501
Definition: AprilTagPoseEstimator.h:15