forked from Cascable/swift-on-windows-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathManagedCascableCoreBasicAPI.hpp
259 lines (232 loc) · 11.5 KB
/
ManagedCascableCoreBasicAPI.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
// This is an auto-generated file. Do not modify.
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <UnmanagedCascableCoreBasicAPI.hpp>
using namespace System::Collections::Generic;
namespace ManagedCascableCoreBasicAPI {
ref class BasicPropertyIdentifier;
ref class BasicCamera;
ref class BasicCameraDiscovery;
ref class BasicCameraInitiatedTransferResult;
ref class BasicCameraProperty;
ref class BasicDeviceInfo;
ref class BasicLiveViewFrame;
ref class BasicPropertyValue;
ref class BasicSimulatedCameraConfiguration;
ref class BasicSize;
public ref class BasicPropertyIdentifier {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicPropertyIdentifier *wrappedObj;
BasicPropertyIdentifier(UnmanagedCascableCoreBasicAPI::BasicPropertyIdentifier *objectToTakeOwnershipOf);
public:
~BasicPropertyIdentifier();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ initWithRawValue(unsigned int rawValue);
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ isoSpeed();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ shutterSpeed();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ aperture();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ exposureCompensation();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ batteryLevel();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ powerSource();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ afSystem();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ focusMode();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ driveMode();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ autoExposureMode();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ inCameraBracketingEnabled();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ mirrorLockupEnabled();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ mirrorLockupStage();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ dofPreviewEnabled();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ shotsAvailable();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ lensStatus();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ colorTone();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ artFilter();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ digitalZoom();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ whiteBalance();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ noiseReduction();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ imageQuality();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ lightMeterStatus();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ lightMeterReading();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ exposureMeteringMode();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ readyForCapture();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ imageDestination();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ videoRecordingFormat();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ liveViewZoomLevel();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ maxValue();
static ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ unknown();
static bool operator==(ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ lhs, ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ rhs);
bool isIsoSpeed();
bool isShutterSpeed();
bool isAperture();
bool isExposureCompensation();
bool isBatteryLevel();
bool isPowerSource();
bool isAfSystem();
bool isFocusMode();
bool isDriveMode();
bool isAutoExposureMode();
bool isInCameraBracketingEnabled();
bool isMirrorLockupEnabled();
bool isMirrorLockupStage();
bool isDofPreviewEnabled();
bool isShotsAvailable();
bool isLensStatus();
bool isColorTone();
bool isArtFilter();
bool isDigitalZoom();
bool isWhiteBalance();
bool isNoiseReduction();
bool isImageQuality();
bool isLightMeterStatus();
bool isLightMeterReading();
bool isExposureMeteringMode();
bool isReadyForCapture();
bool isImageDestination();
bool isVideoRecordingFormat();
bool isLiveViewZoomLevel();
bool isMaxValue();
bool isUnknown();
unsigned int getRawValue();
};
public ref class BasicCamera {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicCamera *wrappedObj;
BasicCamera(UnmanagedCascableCoreBasicAPI::BasicCamera *objectToTakeOwnershipOf);
public:
~BasicCamera();
System::String^ getFriendlyIdentifier();
bool getConnected();
ManagedCascableCoreBasicAPI::BasicDeviceInfo^ getDeviceInfo();
System::String^ getFriendlyDisplayName();
void connect();
void disconnect();
bool getAutoFocusEngaged();
void engageAutoFocus();
void disengageAutoFocus();
bool getShutterEngaged();
void engageShutter();
void disengageShutter();
void invokeOneShotShutterExplicitlyEngagingAutoFocus(bool triggerAutoFocus);
ManagedCascableCoreBasicAPI::BasicCameraInitiatedTransferResult^ getLastReceivedPreview();
void setLastReceivedPreview(ManagedCascableCoreBasicAPI::BasicCameraInitiatedTransferResult^ value);
bool getHandleCameraInitiatedPreviews();
void setHandleCameraInitiatedPreviews(bool newValue);
void beginLiveViewStream();
void endLiveViewStream();
bool getLiveViewStreamActive();
ManagedCascableCoreBasicAPI::BasicLiveViewFrame^ getLastLiveViewFrame();
void setLastLiveViewFrame(ManagedCascableCoreBasicAPI::BasicLiveViewFrame^ value);
List<ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^>^ getKnownPropertyIdentifiers();
ManagedCascableCoreBasicAPI::BasicCameraProperty^ property(ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ identifier);
};
public ref class BasicCameraDiscovery {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicCameraDiscovery *wrappedObj;
BasicCameraDiscovery(UnmanagedCascableCoreBasicAPI::BasicCameraDiscovery *objectToTakeOwnershipOf);
public:
~BasicCameraDiscovery();
static ManagedCascableCoreBasicAPI::BasicCameraDiscovery^ sharedInstance();
bool getDiscoveryRunning();
void setDiscoveryRunning(bool value);
List<ManagedCascableCoreBasicAPI::BasicCamera^>^ getVisibleCameras();
void startDiscovery(System::String^ clientName);
void stopDiscovery();
};
public ref class BasicCameraInitiatedTransferResult {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicCameraInitiatedTransferResult *wrappedObj;
BasicCameraInitiatedTransferResult(UnmanagedCascableCoreBasicAPI::BasicCameraInitiatedTransferResult *objectToTakeOwnershipOf);
public:
~BasicCameraInitiatedTransferResult();
double getDateProduced();
bool isOnlyDestinationForImage();
System::String^ getFileNameHint();
System::String^ getSuggestedFileNameExtensionForRepresentation();
System::String^ getUtiForRepresentation();
int getRawImageDataLength();
void copyPixelData(uint8_t * pointer);
};
public ref class BasicCameraProperty {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicCameraProperty *wrappedObj;
BasicCameraProperty(UnmanagedCascableCoreBasicAPI::BasicCameraProperty *objectToTakeOwnershipOf);
public:
~BasicCameraProperty();
ManagedCascableCoreBasicAPI::BasicPropertyIdentifier^ getIdentifier();
ManagedCascableCoreBasicAPI::BasicCamera^ getCamera();
System::String^ getLocalizedDisplayName();
ManagedCascableCoreBasicAPI::BasicPropertyValue^ getCurrentValue();
void setCurrentValue(ManagedCascableCoreBasicAPI::BasicPropertyValue^ value);
ManagedCascableCoreBasicAPI::BasicPropertyValue^ getPendingValue();
void setPendingValue(ManagedCascableCoreBasicAPI::BasicPropertyValue^ value);
List<ManagedCascableCoreBasicAPI::BasicPropertyValue^>^ getValidSettableValues();
void setValidSettableValues(List<ManagedCascableCoreBasicAPI::BasicPropertyValue^>^ value);
void setValue(ManagedCascableCoreBasicAPI::BasicPropertyValue^ newValue);
};
public ref class BasicDeviceInfo {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicDeviceInfo *wrappedObj;
BasicDeviceInfo(UnmanagedCascableCoreBasicAPI::BasicDeviceInfo *objectToTakeOwnershipOf);
public:
~BasicDeviceInfo();
System::String^ getManufacturer();
System::String^ getModel();
System::String^ getVersion();
System::String^ getSerialNumber();
};
public ref class BasicLiveViewFrame {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicLiveViewFrame *wrappedObj;
BasicLiveViewFrame(UnmanagedCascableCoreBasicAPI::BasicLiveViewFrame *objectToTakeOwnershipOf);
public:
~BasicLiveViewFrame();
double getDateProduced();
int getRawPixelDataLength();
void copyPixelData(uint8_t * pointer);
ManagedCascableCoreBasicAPI::BasicSize^ getRawPixelSize();
};
public ref class BasicPropertyValue {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicPropertyValue *wrappedObj;
BasicPropertyValue(UnmanagedCascableCoreBasicAPI::BasicPropertyValue *objectToTakeOwnershipOf);
public:
~BasicPropertyValue();
System::String^ getLocalizedDisplayValue();
System::String^ getStringValue();
};
public ref class BasicSimulatedCameraConfiguration {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicSimulatedCameraConfiguration *wrappedObj;
BasicSimulatedCameraConfiguration(UnmanagedCascableCoreBasicAPI::BasicSimulatedCameraConfiguration *objectToTakeOwnershipOf);
public:
~BasicSimulatedCameraConfiguration();
static ManagedCascableCoreBasicAPI::BasicSimulatedCameraConfiguration^ defaultConfiguration();
System::String^ getManufacturer();
void setManufacturer(System::String^ value);
System::String^ getModel();
void setModel(System::String^ value);
System::String^ getIdentifier();
void setIdentifier(System::String^ value);
System::String^ getLiveViewImageContainerPath();
void setLiveViewImageContainerPath(System::String^ value);
void apply();
};
public ref class BasicSize {
private:
internal:
UnmanagedCascableCoreBasicAPI::BasicSize *wrappedObj;
BasicSize(UnmanagedCascableCoreBasicAPI::BasicSize *objectToTakeOwnershipOf);
public:
~BasicSize();
double getWidth();
double getHeight();
};
}