WPILibC++ 2023.4.3
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
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:110
NetworkTables Instance.
Definition: NetworkTableInstance.h:59
NetworkTables String publisher.
Definition: StringTopic.h:159
basic_string_view< char > string_view
Definition: core.h:520
Definition: ShuffleboardWidget.h:17
ShuffleboardEventImportance
Definition: ShuffleboardEventImportance.h:15
auto format(wformat_string< T... > fmt, T &&... args) -> std::wstring
Definition: xchar.h:87