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
4
#include "
ctre/phoenix/cci/CCI.h
"
5
#include "ctre/phoenix/platform/Platform.hpp"
6
#include "
ctre/phoenix/ErrorCode.h
"
7
#include <stdint.h>
8
9
using namespace
ctre::phoenix::platform
;
10
11
extern
"C"
{
12
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimCreate
(DeviceType type,
int
id
);
13
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimDestroy
(DeviceType type,
int
id
);
14
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimDestroyAll
();
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);
17
CCIEXPORT
ctre::phoenix::ErrorCode
c_SimGetLastError
(DeviceType type,
int
id
);
18
}
CCI.h
CCIEXPORT
#define CCIEXPORT
Definition:
CCI.h:10
ErrorCode.h
c_SimSetPhysicsInput
CCIEXPORT ctre::phoenix::ErrorCode c_SimSetPhysicsInput(DeviceType type, int id, std::string_view physicsType, double value)
c_SimGetLastError
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetLastError(DeviceType type, int id)
c_SimGetPhysicsValue
CCIEXPORT ctre::phoenix::ErrorCode c_SimGetPhysicsValue(DeviceType type, int id, std::string_view physicsType, double &value)
c_SimDestroyAll
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroyAll()
c_SimDestroy
CCIEXPORT ctre::phoenix::ErrorCode c_SimDestroy(DeviceType type, int id)
c_SimCreate
CCIEXPORT ctre::phoenix::ErrorCode c_SimCreate(DeviceType type, int id)
ctre::phoenix::platform
platform namespace
Definition:
SleepUs.h:13
ctre::phoenix::ErrorCode
ErrorCode
Definition:
ErrorCode.h:13
ctre
phoenix
cci
Platform_CCI.h
Generated on Fri Feb 16 2024 22:57:39 for CTRE Phoenix C++ by
1.9.4