WPILibC++ 2024.3.2
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
basic_string_view< char > string_view
Definition: core.h:501
Definition: RecordingController.h:19
ShuffleboardEventImportance
Definition: ShuffleboardEventImportance.h:15
auto format(wformat_string< T... > fmt, T &&... args) -> std::wstring
Definition: xchar.h:108