SimOne C++ API Reference 3.7.0
SimOne 仿真平台C++接口文档
Loading...
Searching...
No Matches
SimOneControlTransAPI.h
Go to the documentation of this file.
1#pragma once
2#ifndef __CONTROL_API_C_
3#define __CONTROL_API_C_
4#ifdef WIN32
5#ifdef CONTROLTRANS
6#define CONTROL_API __declspec(dllexport)
7#else
8#define CONTROL_API __declspec(dllimport)
9#endif
10#else
11#define CONTROL_API // Leave empty on Mac
12#endif
13
14#include "SimOnePNCAPI.h"
15
16#if defined (__cplusplus)
17extern "C" {
18#endif
19 namespace SimOneAPI
20 {
33 CONTROL_API bool SetDriveEx(const char* mainVehicleId, SimOne_Data_Control_Ex *pControlEx);
34
48 }
49#if defined (__cplusplus)
50}
51#endif
52
53#endif
#define CONTROL_API
Definition SimOneControlTransAPI.h:11
Definition SimOneControlTransAPI.h:20
CONTROL_API bool SetDriveEx(const char *mainVehicleId, SimOne_Data_Control_Ex *pControlEx)
CONTROL_API bool GetDriveEx(SimOne_Data_Control_Ex *pControlEx)
Definition SimOneIOStruct.h:226