CTRE Phoenix C++ 5.33.1
Platform_CCI.h
Go to the documentation of this file.
1/* Copyright (C) Cross The Road Electronics 2024 */
2#pragma once
3
5#include "ctre/phoenix/platform/Platform.hpp"
7#include <stdint.h>
8
9using namespace ctre::phoenix::platform;
10
11extern "C" {
15 CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput(DeviceType type, int id, std::string_view physicsType, double value);
16 CCIEXPORT ctre::phoenix::ErrorCode c_SimGetPhysicsValue(DeviceType type, int id, std::string_view physicsType, double &value);
18}
#define CCIEXPORT
Definition: CCI.h:10
CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput(DeviceType type, int id, std::string_view physicsType, double value)
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetLastError(DeviceType type, int id)
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetPhysicsValue(DeviceType type, int id, std::string_view physicsType, double &value)
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroyAll()
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroy(DeviceType type, int id)
CCIEXPORT ctre::phoenix::ErrorCode c_SimCreate(DeviceType type, int id)
platform namespace
Definition: SleepUs.h:13
ErrorCode
Definition: ErrorCode.h:13