Loading [MathJax]/extensions/tex2jax.js
CTRE Phoenix C++
5.34.0-beta-4
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Enumerations
a
c
d
e
f
g
i
l
m
n
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
f
g
i
l
m
n
o
p
q
r
s
t
u
Related Functions
Files
File List
File Members
All
c
d
g
i
j
k
l
m
p
s
t
w
Functions
c
j
p
t
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Pages
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 Dec 13 2024 15:22:48 for CTRE Phoenix C++ by
1.9.4