WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
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
28 void SetRecordingFileNameFormat(std::string_view format);
30
31 void AddEventMarker(std::string_view name, std::string_view description,
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:127
NetworkTables Instance.
Definition NetworkTableInstance.h:68
NetworkTables String publisher.
Definition StringTopic.h:184
FMT_INLINE auto format(detail::locale_ref loc, format_string< T... > fmt, T &&... args) -> std::string
Definition format.h:4146
Definition ListenerExecutor.h:12
ShuffleboardEventImportance
Definition ShuffleboardEventImportance.h:15