-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDummy.cpp
More file actions
121 lines (88 loc) · 2.53 KB
/
Copy pathDummy.cpp
File metadata and controls
121 lines (88 loc) · 2.53 KB
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
#include "BspInclude.hpp"
namespace Bsp {
std::string GetVersion(void) {
return "5.0.0";
}
uint32_t GetSerialNumber(void) {
return 0;
}
namespace Timing {
uint32_t GetNumberOfInternalTriggers(void) {
return 0;
}
uint32_t GetNumberOfExternalTriggers(void) {
return 0;
}
void GetCurrentSystemTime(uint32_t& Seconds, uint32_t& Microseconds) {
Seconds = 0;
Microseconds = 0;
}
bool ConfigureTrigger(uint16_t ID, uint8_t Mode, uint8_t ExternalID, double Period, float TrackingFactor) {
return false;
}
bool SoftwareTrigger(uint8_t ID, uint32_t Seconds, uint32_t Microseconds) {
return false;
}
}
namespace Temperature {
uint16_t GetNumberOfTemperatureSensorsPerCamera(void) {
return 0;
}
uint16_t GetNumberOfSystemTemperatureSensors(void) {
return 0;
}
std::vector<temp_s> GetNewTemperatures(void) {
std::vector<temp_s> temps;
return temps;
}
}
namespace Pose {
std::vector<pose_report_s> GetPoseDeviceConfigurations(void) {
std::vector<pose_report_s> poseReports;
return poseReports;
}
std::vector<pose_s> GetNewPoses(void) {
std::vector<pose_s> poses;
return poses;
}
}
namespace Camera {
uint16_t GetNumberOfCameras(void) {
return 0;
}
bool SetupCamera(uint16_t Index, uint32_t Trigger) {
return false;
}
bool RegisterNUCFlagStateCallback(CameraBooleanStateCallback callbackFunction, void* UserData) {
return false;
}
bool UnregisterNUCFlagStateCallback() {
return false;
}
bool RegisterOnCameraNUCStateCallback(CameraBooleanStateCallback callbackFunction, void* UserData) {
return false;
}
bool UnregisterOnCameraNUCStateCallback() {
return false;
}
std::map<std::string, std::string> GetStatus(uint16_t Index) {
std::map<std::string, std::string> status;
return status;
}
bool SetNUCFlagState(uint16_t Index, bool Flipped) {
return false;
}
bool StartOnCameraNUC(uint16_t Index) {
return false;
}
}
namespace UdpInserter {
bool EnableStream(uint16_t CameraIndex, endpoint_s Endpoint, roi_s Roi, uint32_t SkipFrames,
uint32_t StartSeconds, uint32_t StartMicroseconds) {
return false;
}
bool DisableStream(uint32_t CameraIndex, endpoint_s Endpoint) {
return false;
}
}
}