WPILibC++ 2025.0.0-alpha-1-9-ga2beb75
RecordingController.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <memory>
8#include <string>
9#include <string_view>
10
15#include <wpi/SmallVector.h>
16
18
19namespace frc::detail {
20
22 public:
24 virtual ~RecordingController() = default;
25
30
33
34 private:
35 nt::BooleanPublisher m_recordingControlEntry;
36 nt::StringPublisher m_recordingFileNameFormatEntry;
37 std::shared_ptr<nt::NetworkTable> m_eventsTable;
38};
39
40} // namespace frc::detail
This file defines the SmallVector class.
Definition: RecordingController.h:21
RecordingController(nt::NetworkTableInstance ntInstance)
virtual ~RecordingController()=default
void AddEventMarker(std::string_view name, std::string_view description, ShuffleboardEventImportance importance)
void SetRecordingFileNameFormat(std::string_view format)
NetworkTables Boolean publisher.
Definition: BooleanTopic.h:113
NetworkTables Instance.
Definition: NetworkTableInstance.h:70
NetworkTables String publisher.
Definition: StringTopic.h:162
FMT_NODISCARD FMT_INLINE auto format(format_string< T... > fmt, T &&... args) -> std::string
\rst Formats args according to specifications in fmt and returns the result as a string.
Definition: core.h:2833
basic_string_view< char > string_view
Definition: core.h:518
Definition: RecordingController.h:19
ShuffleboardEventImportance
Definition: ShuffleboardEventImportance.h:15