CTRE Phoenix Pro C++ 23.0.12
FrcUsageReport.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8#include <string>
10
11namespace ctre{
12namespace phoenix{
13namespace platform{
14
15CTREXPORT int FRC_Report(int resource, int instanceNumber, std::string const &canbus = "", int callerIdx = 0, int context = 0, const char* feature = nullptr);
16CTREXPORT int FRC_Report(std::string const &model, int instanceNumber, std::string const &canbus = "", int callerIdx = 0, int context = 0, const char* feature = nullptr);
17
28};
29
30} //namespace platform
31} //namespace phoenix
32} //namespace ctre
#define CTREXPORT
Definition: export.h:14
CTREXPORT int FRC_Report(int resource, int instanceNumber, std::string const &canbus="", int callerIdx=0, int context=0, const char *feature=nullptr)
FrcUsageType
Definition: FrcUsageReport.hpp:18
@ CANcoder
Definition: FrcUsageReport.hpp:23
@ VictorSPX
Definition: FrcUsageReport.hpp:22
@ CANdle
Definition: FrcUsageReport.hpp:25
@ TalonFX
Definition: FrcUsageReport.hpp:24
@ CANivore
Definition: FrcUsageReport.hpp:26
@ Pigeon2
Definition: FrcUsageReport.hpp:27
@ CANifier
Definition: FrcUsageReport.hpp:21
@ TalonSRX
Definition: FrcUsageReport.hpp:19
@ PigeonIMU
Definition: FrcUsageReport.hpp:20
Definition: string_util.hpp:14