From a1528d5581c9459ed8ac623fa25f39b87631acce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 21:53:39 +0000 Subject: [PATCH] Publish MMDevice/latest --- _debayer_8h_source.html | 175 +- _device_base_8h_source.html | 4544 +++++++++-------- _device_threads_8h_source.html | 399 +- _device_utils_8h_source.html | 129 +- _image_metadata_8h_source.html | 1023 ++-- _img_buffer_8h_source.html | 175 +- _m_m_device_8h_source.html | 1715 ++++--- _m_m_device_constants_8h_source.html | 561 +- _module_interface_8h_source.html | 221 +- _property_8h_source.html | 927 ++-- annotated.html | 113 +- bc_sd.png | Bin 0 -> 635 bytes bdwn.png | Bin 147 -> 0 bytes class_c_auto_focus_base-members.html | 177 +- class_c_auto_focus_base.html | 261 +- class_c_auto_focus_base.png | Bin 1227 -> 1255 bytes class_c_camera_base-members.html | 235 +- class_c_camera_base.html | 888 +++- class_c_camera_base.png | Bin 1202 -> 1229 bytes ...base_1_1_base_sequence_thread-members.html | 45 +- ..._camera_base_1_1_base_sequence_thread.html | 67 +- ...c_camera_base_1_1_base_sequence_thread.png | Bin 810 -> 830 bytes ...se_1_1_capture_restart_helper-members.html | 27 +- ...amera_base_1_1_capture_restart_helper.html | 31 +- class_c_device_base-members.html | 119 +- class_c_device_base.html | 551 +- class_c_device_base.png | Bin 458 -> 473 bytes ...1_m_m_1_1_device_00_01_u_01_4-members.html | 25 +- ...base_3_01_m_m_1_1_device_00_01_u_01_4.html | 25 +- class_c_device_utils-members.html | 35 +- class_c_device_utils.html | 85 +- class_c_galvo_base-members.html | 175 +- class_c_galvo_base.html | 273 +- class_c_galvo_base.png | Bin 1146 -> 1171 bytes class_c_generic_base-members.html | 159 +- class_c_generic_base.html | 243 +- class_c_generic_base.png | Bin 1206 -> 1234 bytes class_c_image_processor_base-members.html | 165 +- class_c_image_processor_base.html | 245 +- class_c_image_processor_base.png | Bin 1401 -> 1432 bytes class_c_magnifier_base-members.html | 163 +- class_c_magnifier_base.html | 245 +- class_c_magnifier_base.png | Bin 1287 -> 1317 bytes class_c_s_l_m_base-members.html | 179 +- class_c_s_l_m_base.html | 267 +- class_c_s_l_m_base.png | Bin 1104 -> 1129 bytes class_c_serial_base-members.html | 169 +- class_c_serial_base.html | 255 +- class_c_serial_base.png | Bin 1140 -> 1164 bytes class_c_shutter_base-members.html | 167 +- class_c_shutter_base.html | 249 +- class_c_shutter_base.png | Bin 1216 -> 1242 bytes class_c_signal_i_o_base-members.html | 169 +- class_c_signal_i_o_base.html | 255 +- class_c_signal_i_o_base.png | Bin 1267 -> 1293 bytes class_c_stage_base-members.html | 173 +- class_c_stage_base.html | 255 +- class_c_stage_base.png | Bin 1203 -> 1230 bytes class_c_state_device_base-members.html | 181 +- class_c_state_device_base.html | 344 +- class_c_state_device_base.png | Bin 1178 -> 1201 bytes class_c_x_y_stage_base-members.html | 195 +- class_c_x_y_stage_base.html | 549 +- class_c_x_y_stage_base.png | Bin 1273 -> 1306 bytes class_debayer-members.html | 33 +- class_debayer.html | 47 +- class_hub_base-members.html | 173 +- class_hub_base.html | 279 +- class_hub_base.png | Bin 1079 -> 1101 bytes class_img_buffer-members.html | 45 +- class_img_buffer.html | 71 +- class_m_m_1_1_action-members.html | 29 +- class_m_m_1_1_action.html | 79 +- class_m_m_1_1_action.png | Bin 523 -> 539 bytes class_m_m_1_1_action_ex-members.html | 29 +- class_m_m_1_1_action_ex.html | 79 +- class_m_m_1_1_action_ex.png | Bin 546 -> 559 bytes class_m_m_1_1_action_functor-members.html | 27 +- class_m_m_1_1_action_functor.html | 29 +- class_m_m_1_1_action_functor.png | Bin 913 -> 930 bytes class_m_m_1_1_action_lambda-members.html | 27 +- class_m_m_1_1_action_lambda.html | 73 +- class_m_m_1_1_action_lambda.png | Bin 543 -> 556 bytes class_m_m_1_1_auto_focus-members.html | 81 +- class_m_m_1_1_auto_focus.html | 191 +- class_m_m_1_1_auto_focus.png | Bin 1242 -> 1270 bytes class_m_m_1_1_camera-members.html | 115 +- class_m_m_1_1_camera.html | 390 +- class_m_m_1_1_camera.png | Bin 1217 -> 1242 bytes class_m_m_1_1_core-members.html | 77 +- class_m_m_1_1_core.html | 197 +- class_m_m_1_1_device-members.html | 69 +- class_m_m_1_1_device.html | 933 +++- class_m_m_1_1_device.png | Bin 4659 -> 4707 bytes class_m_m_1_1_float_property-members.html | 79 +- class_m_m_1_1_float_property.html | 391 +- class_m_m_1_1_float_property.png | Bin 769 -> 785 bytes class_m_m_1_1_galvo-members.html | 89 +- class_m_m_1_1_galvo.html | 270 +- class_m_m_1_1_galvo.png | Bin 1158 -> 1187 bytes class_m_m_1_1_generic-members.html | 69 +- class_m_m_1_1_generic.html | 171 +- class_m_m_1_1_generic.png | Bin 1212 -> 1243 bytes class_m_m_1_1_hub-members.html | 77 +- class_m_m_1_1_hub.html | 198 +- class_m_m_1_1_hub.png | Bin 1085 -> 1111 bytes class_m_m_1_1_image_processor-members.html | 73 +- class_m_m_1_1_image_processor.html | 173 +- class_m_m_1_1_image_processor.png | Bin 1411 -> 1446 bytes class_m_m_1_1_integer_property-members.html | 79 +- class_m_m_1_1_integer_property.html | 351 +- class_m_m_1_1_integer_property.png | Bin 758 -> 769 bytes class_m_m_1_1_m_m_time-members.html | 41 +- class_m_m_1_1_m_m_time.html | 61 +- class_m_m_1_1_magnifier-members.html | 73 +- class_m_m_1_1_magnifier.html | 173 +- class_m_m_1_1_magnifier.png | Bin 1296 -> 1329 bytes class_m_m_1_1_property-members.html | 77 +- class_m_m_1_1_property.html | 457 +- class_m_m_1_1_property.png | Bin 1487 -> 1518 bytes class_m_m_1_1_property_base-members.html | 43 +- class_m_m_1_1_property_base.html | 65 +- class_m_m_1_1_property_base.png | Bin 1492 -> 1513 bytes ...s_m_m_1_1_property_collection-members.html | 45 +- class_m_m_1_1_property_collection.html | 65 +- class_m_m_1_1_s_l_m-members.html | 91 +- class_m_m_1_1_s_l_m.html | 282 +- class_m_m_1_1_s_l_m.png | Bin 1115 -> 1142 bytes class_m_m_1_1_serial-members.html | 77 +- class_m_m_1_1_serial.html | 183 +- class_m_m_1_1_serial.png | Bin 1147 -> 1179 bytes class_m_m_1_1_shutter-members.html | 75 +- class_m_m_1_1_shutter.html | 178 +- class_m_m_1_1_shutter.png | Bin 1224 -> 1255 bytes class_m_m_1_1_signal_i_o-members.html | 83 +- class_m_m_1_1_signal_i_o.html | 223 +- class_m_m_1_1_signal_i_o.png | Bin 1275 -> 1306 bytes class_m_m_1_1_stage-members.html | 93 +- class_m_m_1_1_stage.html | 242 +- class_m_m_1_1_stage.png | Bin 1216 -> 1246 bytes class_m_m_1_1_state-members.html | 81 +- class_m_m_1_1_state.html | 453 +- class_m_m_1_1_state.png | Bin 1185 -> 1212 bytes class_m_m_1_1_string_property-members.html | 79 +- class_m_m_1_1_string_property.html | 389 +- class_m_m_1_1_string_property.png | Bin 792 -> 812 bytes class_m_m_1_1_timeout_ms-members.html | 27 +- class_m_m_1_1_timeout_ms.html | 33 +- class_m_m_1_1_x_y_stage-members.html | 95 +- class_m_m_1_1_x_y_stage.html | 361 +- class_m_m_1_1_x_y_stage.png | Bin 1285 -> 1314 bytes class_m_m_device_thread_base-members.html | 29 +- class_m_m_device_thread_base.html | 33 +- class_m_m_device_thread_base.png | Bin 816 -> 839 bytes class_m_m_thread_guard-members.html | 29 +- class_m_m_thread_guard.html | 33 +- class_m_m_thread_lock-members.html | 29 +- class_m_m_thread_lock.html | 31 +- class_metadata-members.html | 43 +- class_metadata.html | 65 +- class_metadata_array_tag-members.html | 51 +- class_metadata_array_tag.html | 205 +- class_metadata_array_tag.png | Bin 551 -> 560 bytes class_metadata_error-members.html | 27 +- class_metadata_error.html | 31 +- class_metadata_error.png | Bin 708 -> 723 bytes class_metadata_index_error-members.html | 29 +- class_metadata_index_error.html | 31 +- class_metadata_index_error.png | Bin 527 -> 541 bytes class_metadata_key_error-members.html | 29 +- class_metadata_key_error.html | 31 +- class_metadata_key_error.png | Bin 541 -> 553 bytes class_metadata_single_tag-members.html | 49 +- class_metadata_single_tag.html | 199 +- class_metadata_single_tag.png | Bin 554 -> 565 bytes class_metadata_tag-members.html | 43 +- class_metadata_tag.html | 87 +- class_metadata_tag.png | Bin 799 -> 825 bytes classes.html | 51 +- deprecated.html | 27 +- dir_7a1f3eb64b438b3ad34f72aec195a0a6.html | 29 +- dir_e3101bba6c8169cd28ecb54e6a1d0a69.html | 49 +- doc.png | Bin 746 -> 0 bytes doc.svg | 12 + docd.svg | 12 + doxygen.css | 1082 ++-- doxygen.svg | 4 +- dynsections.js | 71 + files.html | 49 +- folderclosed.png | Bin 616 -> 0 bytes folderclosed.svg | 11 + folderclosedd.svg | 11 + folderopen.png | Bin 597 -> 0 bytes folderopen.svg | 17 + folderopend.svg | 12 + functions.html | 67 +- functions_c.html | 91 +- functions_d.html | 37 +- functions_e.html | 28 +- functions_f.html | 28 +- functions_func.html | 69 +- functions_func_c.html | 93 +- functions_func_d.html | 39 +- functions_func_e.html | 30 +- functions_func_f.html | 30 +- functions_func_g.html | 289 +- functions_func_h.html | 30 +- functions_func_i.html | 80 +- functions_func_l.html | 43 +- functions_func_m.html | 30 +- functions_func_n.html | 30 +- functions_func_o.html | 63 +- functions_func_p.html | 39 +- functions_func_r.html | 43 +- functions_func_s.html | 221 +- functions_func_t.html | 40 +- functions_func_u.html | 38 +- functions_func_w.html | 30 +- functions_g.html | 287 +- functions_h.html | 28 +- functions_i.html | 78 +- functions_l.html | 41 +- functions_m.html | 28 +- functions_n.html | 28 +- functions_o.html | 61 +- functions_p.html | 37 +- functions_r.html | 41 +- functions_s.html | 219 +- functions_t.html | 38 +- functions_u.html | 36 +- functions_w.html | 28 +- hierarchy.html | 99 +- index.html | 25 +- jquery.js | 11 +- menu.js | 97 +- minus.svg | 8 + minusd.svg | 8 + nav_fd.png | Bin 0 -> 169 bytes nav_hd.png | Bin 0 -> 114 bytes pages.html | 25 +- plus.svg | 9 + plusd.svg | 9 + splitbard.png | Bin 0 -> 282 bytes tab_ad.png | Bin 0 -> 135 bytes tab_bd.png | Bin 0 -> 173 bytes tab_hd.png | Bin 0 -> 180 bytes tab_sd.png | Bin 0 -> 188 bytes tabs.css | 2 +- 248 files changed, 17386 insertions(+), 14752 deletions(-) create mode 100644 bc_sd.png delete mode 100644 bdwn.png delete mode 100644 doc.png create mode 100644 doc.svg create mode 100644 docd.svg delete mode 100644 folderclosed.png create mode 100644 folderclosed.svg create mode 100644 folderclosedd.svg delete mode 100644 folderopen.png create mode 100644 folderopen.svg create mode 100644 folderopend.svg create mode 100644 minus.svg create mode 100644 minusd.svg create mode 100644 nav_fd.png create mode 100644 nav_hd.png create mode 100644 plus.svg create mode 100644 plusd.svg create mode 100644 splitbard.png create mode 100644 tab_ad.png create mode 100644 tab_bd.png create mode 100644 tab_hd.png create mode 100644 tab_sd.png diff --git a/_debayer_8h_source.html b/_debayer_8h_source.html index 9e675d5..d65bd91 100644 --- a/_debayer_8h_source.html +++ b/_debayer_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Debayer.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,101 +26,109 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
Debayer.h
+
Debayer.h
-
1 // MODULE: Debayer.h
-
3 // SYSTEM: ImageBase subsystem
-
4 // AUTHOR: Jennifer West, jennifer_west@umanitoba.ca,
-
5 // Nenad Amodaj, nenad@amodaj.com
-
6 //
-
7 // DESCRIPTION: Debayer algorithms, adapted from:
-
8 // http://www.umanitoba.ca/faculties/science/astronomy/jwest/plugins.html
-
9 //
-
10 //
-
11 // COPYRIGHT: Jennifer West (University of Manitoba),
-
12 // Exploratorium http://www.exploratorium.edu
-
13 //
-
14 // LICENSE: This file is free for use, modification and distribution and
-
15 // is distributed under terms specified in the BSD license
-
16 // This file is distributed in the hope that it will be useful,
-
17 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
18 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
19 //
-
20 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
21 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
22 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
23 //
-
24 
-
25 #pragma once
-
26 
-
27 #include "ImgBuffer.h"
-
28 
-
29 #include <string>
-
30 #include <vector>
-
31 
-
36 class Debayer
-
37 {
-
38 public:
-
39  Debayer();
-
40  ~Debayer();
-
41 
-
42  int Process(ImgBuffer& out, const ImgBuffer& in, int bitDepth);
-
43  int Process(ImgBuffer& out, const unsigned char* in, int width, int height, int bitDepth);
-
44  int Process(ImgBuffer& out, const unsigned short* in, int width, int height, int bitDepth);
-
45 
-
46  const std::vector<std::string> GetOrders() const {return orders;}
-
47  const std::vector<std::string> GetAlgorithms() const {return algorithms;}
-
48 
-
49  void SetOrderIndex(int idx) {orderIndex = idx;}
-
50  void SetAlgorithmIndex(int idx) {algoIndex = idx;}
-
51 
-
52 private:
-
53  template <typename T>
-
54  int ProcessT(ImgBuffer& out, const T* in, int width, int height, int bitDepth);
-
55  template<typename T>
-
56  void ReplicateDecode(const T* input, int* out, int width, int height, int bitDepth, int rowOrder);
-
57  template <typename T>
-
58  void SmoothDecode(const T* input, int* output, int width, int height, int bitDepth, int rowOrder);
-
59  template<typename T>
-
60  int Convert(const T* input, int* output, int width, int height, int bitDepth, int rowOrder, int algorithm);
-
61  unsigned short GetPixel(const unsigned short* v, int x, int y, int width, int height);
-
62  void SetPixel(std::vector<unsigned short>& v, unsigned short val, int x, int y, int width, int height);
-
63  unsigned short GetPixel(const unsigned char* v, int x, int y, int width, int height);
-
64 
-
65  std::vector<unsigned short> r; // red scratch buffer
-
66  std::vector<unsigned short> g; // green scratch buffer
-
67  std::vector<unsigned short> b; // blue scratch buffer
-
68 
-
69  std::vector<std::string> orders;
-
70  std::vector<std::string> algorithms;
-
71 
-
72  int orderIndex;
-
73  int algoIndex;
-
74 };
-
Definition: Debayer.h:37
-
Definition: ImgBuffer.h:36
+
1
+
2// MODULE: Debayer.h
+
3// SYSTEM: ImageBase subsystem
+
4// AUTHOR: Jennifer West, jennifer_west@umanitoba.ca,
+
5// Nenad Amodaj, nenad@amodaj.com
+
6//
+
7// DESCRIPTION: Debayer algorithms, adapted from:
+
8// http://www.umanitoba.ca/faculties/science/astronomy/jwest/plugins.html
+
9//
+
10//
+
11// COPYRIGHT: Jennifer West (University of Manitoba),
+
12// Exploratorium http://www.exploratorium.edu
+
13//
+
14// LICENSE: This file is free for use, modification and distribution and
+
15// is distributed under terms specified in the BSD license
+
16// This file is distributed in the hope that it will be useful,
+
17// but WITHOUT ANY WARRANTY; without even the implied warranty
+
18// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
19//
+
20// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
21// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
22// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
23//
+
24
+
25#pragma once
+
26
+
27#include "ImgBuffer.h"
+
28
+
29#include <string>
+
30#include <vector>
+
31
+
+ +
37{
+
38public:
+
39 Debayer();
+
40 ~Debayer();
+
41
+
42 int Process(ImgBuffer& out, const ImgBuffer& in, int bitDepth);
+
43 int Process(ImgBuffer& out, const unsigned char* in, int width, int height, int bitDepth);
+
44 int Process(ImgBuffer& out, const unsigned short* in, int width, int height, int bitDepth);
+
45
+
46 const std::vector<std::string> GetOrders() const {return orders;}
+
47 const std::vector<std::string> GetAlgorithms() const {return algorithms;}
+
48
+
49 void SetOrderIndex(int idx) {orderIndex = idx;}
+
50 void SetAlgorithmIndex(int idx) {algoIndex = idx;}
+
51
+
52private:
+
53 template <typename T>
+
54 int ProcessT(ImgBuffer& out, const T* in, int width, int height, int bitDepth);
+
55 template<typename T>
+
56 void ReplicateDecode(const T* input, int* out, int width, int height, int bitDepth, int rowOrder);
+
57 template <typename T>
+
58 void SmoothDecode(const T* input, int* output, int width, int height, int bitDepth, int rowOrder);
+
59 template<typename T>
+
60 int Convert(const T* input, int* output, int width, int height, int bitDepth, int rowOrder, int algorithm);
+
61 unsigned short GetPixel(const unsigned short* v, int x, int y, int width, int height);
+
62 void SetPixel(std::vector<unsigned short>& v, unsigned short val, int x, int y, int width, int height);
+
63 unsigned short GetPixel(const unsigned char* v, int x, int y, int width, int height);
+
64
+
65 std::vector<unsigned short> r; // red scratch buffer
+
66 std::vector<unsigned short> g; // green scratch buffer
+
67 std::vector<unsigned short> b; // blue scratch buffer
+
68
+
69 std::vector<std::string> orders;
+
70 std::vector<std::string> algorithms;
+
71
+
72 int orderIndex;
+
73 int algoIndex;
+
74};
+
+
Definition Debayer.h:37
+
Definition ImgBuffer.h:36
diff --git a/_device_base_8h_source.html b/_device_base_8h_source.html index a1347ae..166c95d 100644 --- a/_device_base_8h_source.html +++ b/_device_base_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: DeviceBase.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,2182 +26,2423 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
DeviceBase.h
+
DeviceBase.h
-
1 // FILE: DeviceBase.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: Generic functionality for implementing device adapters
-
7 //
-
8 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/18/2005
-
9 //
-
10 // COPYRIGHT: University of California, San Francisco, 2006
-
11 //
-
12 // LICENSE: This file is distributed under the BSD license.
-
13 // License text is included with the source distribution.
-
14 //
-
15 // This file is distributed in the hope that it will be useful,
-
16 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
17 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
18 //
-
19 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
20 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
21 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
22 //
-
23 
-
24 #pragma once
-
25 
-
26 #include "MMDevice.h"
-
27 #include "MMDeviceConstants.h"
-
28 #include "Property.h"
-
29 #include "DeviceUtils.h"
-
30 #include "ModuleInterface.h"
-
31 #include "DeviceThreads.h"
-
32 
-
33 #include <math.h>
-
34 #include <assert.h>
-
35 
-
36 #include <string>
-
37 #include <vector>
-
38 #include <iomanip>
-
39 #include <map>
-
40 #include <sstream>
-
41 
-
42 // common error messages
-
43 const char* const g_Msg_ERR = "Unknown error in the device";
-
44 const char* const g_Msg_INVALID_PROPERTY = "Invalid property name encountered";
-
45 const char* const g_Msg_INVALID_PROPERTY_VALUE = "Invalid property value";
-
46 const char* const g_Msg_DUPLICATE_PROPERTY = "Duplicate property names are not allowed";
-
47 const char* const g_Msg_INVALID_PROPERTY_TYPE = "Invalid property type";
-
48 const char* const g_Msg_NATIVE_MODULE_FAILED = "Native module failed to load";
-
49 const char* const g_Msg_UNSUPPORTED_DATA_FORMAT = "Unsupported data format encountered";
-
50 const char* const g_Msg_INTERNAL_INCONSISTENCY = "Device adapter inconsistent with the actual device";
-
51 const char* const g_Msg_NOT_SUPPORTED = "Device not supported by the adapter";
-
52 const char* const g_Msg_UNKNOWN_LABEL = "Label not defined";
-
53 const char* const g_Msg_UNSUPPORTED_COMMAND = "Unsupported device command";
-
54 const char* const g_Msg_UNKNOWN_POSITION = "Invalid state (position) requested";
-
55 const char* const g_Msg_NO_CALLBACK_REGISTERED = "No callback registered";
-
56 const char* const g_Msg_SERIAL_BUFFER_OVERRUN = "Serial buffer overrun.";
-
57 const char* const g_Msg_SERIAL_INVALID_RESPONSE = "Unexpected response from serial port. Is the device connected to the correct serial port?";
-
58 const char* const g_Msg_SERIAL_TIMEOUT = "Serial timeout occurred.";
-
59 const char* const g_Msg_SELF_REFERENCE = "Self reference error.";
-
60 const char* const g_Msg_NO_PROPERTY_DATA = "No property data error.";
-
61 const char* const g_Msg_DEVICE_DUPLICATE_LABEL = "Position label already in use";
-
62 const char* const g_Msg_INVALID_INPUT_PARAM = "Invalid input parameter.";
-
63 const char* const g_Msg_BUFFER_OVERFLOW = "Buffer Overflow.";
-
64 const char* const g_Msg_SERIAL_COMMAND_FAILED = "Serial command failed. Is the device connected to the serial port?";
-
65 const char* const g_Msg_DEVICE_NONEXISTENT_CHANNEL = "Requested channel is not defined.";
-
66 const char* const g_Msg_DEVICE_INVALID_PROPERTY_LIMTS = "Specified property limits are not valid."
-
67 " Either the property already has a set of discrete values, or the range is invalid";
-
68 const char* const g_Msg_EXCEPTION_IN_THREAD = "Exception in the thread function.";
-
69 const char* const g_Msg_EXCEPTION_IN_ON_THREAD_EXITING = "Exception in the OnThreadExiting function.";
-
70 const char* const g_Msg_SEQUENCE_ACQUISITION_THREAD_EXITING="Sequence thread exiting";
-
71 const char* const g_Msg_DEVICE_CAMERA_BUSY_ACQUIRING="Camera is busy acquiring images. Stop camera activity before changing this property";
-
72 const char* const g_Msg_DEVICE_CAN_NOT_SET_PROPERTY="The device can not set this property at this moment";
-
73 const char* const g_Msg_DEVICE_NOT_CONNECTED="Unable to communicate with the device.";
-
74 const char* const g_Msg_DEVICE_COMM_HUB_MISSING= "Parent module (Hub) is not available or defined for this device!";
-
75 const char* const g_Msg_DEVICE_DUPLICATE_LIBRARY="Duplicate Device Library Name";
-
76 const char* const g_Msg_DEVICE_PROPERTY_NOT_SEQUENCEABLE="This property is not sequenceable";
-
77 const char* const g_Msg_DEVICE_SEQUENCE_TOO_LARGE="Sequence is too large for this device";
-
78 const char* const g_Msg_DEVICE_NOT_YET_IMPLEMENTED="This command has not yet been implemented for this device.";
-
79 
-
80 inline long nint( double value )
-
81 {
-
82  return (long)floor( 0.5 + value);
-
83 };
-
84 
-
91 template <class T, class U>
-
92 class CDeviceBase : public T
-
93 {
-
94 public:
-
95 
- - -
98 
-
102  virtual HDEVMODULE GetModuleHandle() const {return module_;}
-
103 
-
107  virtual void SetModuleName(const char* name)
-
108  {
-
109  moduleName_ = name;
-
110  }
-
111 
-
115  virtual void GetModuleName(char* name) const
-
116  {
-
117  CDeviceUtils::CopyLimitedString(name, moduleName_.c_str());
-
118  }
-
119 
-
123  virtual void SetDescription(const char* descr)
-
124  {
-
125  description_ = descr;
-
126  }
-
127 
-
131  virtual void GetDescription(char* name) const
-
132  {
-
133  CDeviceUtils::CopyLimitedString(name, description_.c_str());
-
134  }
-
135 
-
139  virtual void SetModuleHandle(HDEVMODULE hModule) {module_ = hModule;}
-
140 
-
146  virtual void SetLabel(const char* label)
-
147  {
-
148  label_ = label;
-
149  }
-
150 
-
156  virtual void GetLabel(char* name) const
-
157  {
-
158  CDeviceUtils::CopyLimitedString(name, label_.c_str());
-
159  }
-
160 
-
166  virtual double GetDelayMs() const {return delayMs_;}
-
167 
-
173  virtual void SetDelayMs(double delay) {delayMs_ = delay;}
-
174 
-
178  virtual void SetCallback(MM::Core* cbk) {callback_ = cbk;}
-
179 
-
184  virtual bool UsesDelay() {return usesDelay_;}
-
185 
-
189  virtual unsigned GetNumberOfProperties() const {return (unsigned)properties_.GetSize();}
-
190 
-
196  virtual int GetProperty(const char* name, char* value) const
-
197  {
-
198  std::string strVal;
-
199  // additional information for reporting invalid properties.
-
200  SetMorePropertyErrorInfo(name);
-
201  int nRet = properties_.Get(name, strVal);
-
202  if (nRet == DEVICE_OK)
-
203  CDeviceUtils::CopyLimitedString(value, strVal.c_str());
-
204  return nRet;
-
205  }
-
206 
-
212  int GetProperty(const char* name, double& val)
-
213  {
-
214  std::string strVal;
-
215  int nRet = properties_.Get(name, strVal);
-
216  if (nRet == DEVICE_OK)
-
217  val = atof(strVal.c_str());
-
218  return nRet;
-
219  }
-
220 
-
226  int GetProperty(const char* name, long& val)
-
227  {
-
228  std::string strVal;
-
229  int nRet = properties_.Get(name, strVal);
-
230  if (nRet == DEVICE_OK)
-
231  val = atol(strVal.c_str());
-
232  return nRet;
-
233  }
-
234 
-
241  bool IsPropertyEqualTo(const char* name, const char* val) const
-
242  {
-
243  std::string strVal;
-
244  int nRet = properties_.Get(name, strVal);
-
245  if (nRet == DEVICE_OK)
-
246  return strcmp(val, strVal.c_str()) == 0;
-
247  else
-
248  return false;
-
249  }
-
250 
-
256  virtual int GetPropertyReadOnly(const char* name, bool& readOnly) const
-
257  {
-
258  MM::Property* pProp = properties_.Find(name);
-
259  if (!pProp)
-
260  {
-
261  // additional information for reporting invalid properties.
-
262  SetMorePropertyErrorInfo(name);
-
263  return DEVICE_INVALID_PROPERTY;
-
264  }
-
265  readOnly = pProp->GetReadOnly();
-
266 
-
267  return DEVICE_OK;
-
268  }
-
269 
-
275  virtual int GetPropertyInitStatus(const char* name, bool& preInit) const
-
276  {
-
277  MM::Property* pProp = properties_.Find(name);
-
278  if (!pProp)
-
279  {
-
280  // additional information for reporting invalid properties.
-
281  SetMorePropertyErrorInfo(name);
-
282  return DEVICE_INVALID_PROPERTY;
-
283  }
-
284  preInit = pProp->GetInitStatus();
-
285 
-
286  return DEVICE_OK;
-
287  }
-
288 
-
289  virtual int HasPropertyLimits(const char* name, bool& hasLimits) const
-
290  {
-
291  MM::Property* pProp = properties_.Find(name);
-
292  if (!pProp)
-
293  {
-
294  // additional information for reporting invalid properties.
-
295  SetMorePropertyErrorInfo(name);
-
296  return DEVICE_INVALID_PROPERTY;
-
297  }
-
298  hasLimits = pProp->HasLimits();
-
299  return DEVICE_OK;
-
300  }
-
301 
-
307  virtual int GetPropertyLowerLimit(const char* name, double& lowLimit) const
-
308  {
-
309  MM::Property* pProp = properties_.Find(name);
-
310  if (!pProp)
-
311  {
-
312  // additional information for reporting invalid properties.
-
313  SetMorePropertyErrorInfo(name);
-
314  return DEVICE_INVALID_PROPERTY;
-
315  }
-
316  lowLimit = pProp->GetLowerLimit();
-
317  return DEVICE_OK;
-
318  }
-
319 
-
325  virtual int GetPropertyUpperLimit(const char* name, double& hiLimit) const
-
326  {
-
327  MM::Property* pProp = properties_.Find(name);
-
328  if (!pProp)
-
329  {
-
330  // additional information for reporting invalid properties.
-
331  SetMorePropertyErrorInfo(name);
-
332  return DEVICE_INVALID_PROPERTY;
-
333  }
-
334  hiLimit = pProp->GetUpperLimit();
-
335  return DEVICE_OK;
-
336  }
-
337 
-
343  virtual int IsPropertySequenceable(const char* name, bool& sequenceable) const
-
344  {
-
345  MM::Property* pProp = properties_.Find(name);
-
346  if (!pProp)
-
347  {
-
348  // additional information for reporting invalid properties.
-
349  SetMorePropertyErrorInfo(name);
-
350  return DEVICE_INVALID_PROPERTY;
-
351  }
-
352  sequenceable = pProp->IsSequenceable();
-
353 
-
354  return DEVICE_OK;
-
355  }
-
356 
-
362  virtual int GetPropertySequenceMaxLength(const char* name, long& nrEvents) const
-
363  {
-
364  MM::Property* pProp = properties_.Find(name);
-
365  if (!pProp)
-
366  {
-
367  // additional information for reporting invalid properties.
-
368  SetMorePropertyErrorInfo(name);
-
369  return DEVICE_INVALID_PROPERTY;
-
370  }
-
371  bool sequenceable;
-
372  int ret = IsPropertySequenceable(name, sequenceable);
-
373  if (ret != DEVICE_OK)
-
374  return ret;
-
375  if (!sequenceable) {
-
376  SetMorePropertyErrorInfo(name);
-
377  return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
-
378  }
-
379 
-
380  nrEvents = pProp->GetSequenceMaxSize();
-
381 
-
382  return DEVICE_OK;
-
383  }
-
384 
-
390  virtual int StartPropertySequence(const char* name)
-
391  {
-
392  MM::Property* pProp = properties_.Find(name);
-
393  if (!pProp)
-
394  {
-
395  // additional information for reporting invalid properties.
-
396  SetMorePropertyErrorInfo(name);
-
397  return DEVICE_INVALID_PROPERTY;
-
398  }
-
399  bool sequenceable;
-
400  int ret = IsPropertySequenceable(name, sequenceable);
-
401  if (ret != DEVICE_OK)
-
402  return ret;
-
403  if (!sequenceable) {
-
404  SetMorePropertyErrorInfo(name);
-
405  return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
-
406  }
-
407 
-
408  return pProp->StartSequence();
-
409  }
-
410 
-
416  virtual int StopPropertySequence(const char* name)
-
417  {
-
418  MM::Property* pProp = properties_.Find(name);
-
419  if (!pProp)
-
420  {
-
421  SetMorePropertyErrorInfo(name);
-
422  return DEVICE_INVALID_PROPERTY;
-
423  }
-
424  bool sequenceable;
-
425  int ret = IsPropertySequenceable(name, sequenceable);
-
426  if (ret != DEVICE_OK)
-
427  return ret;
-
428  if (!sequenceable) {
-
429  SetMorePropertyErrorInfo(name);
-
430  return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
-
431  }
-
432 
-
433  return pProp->StopSequence();
-
434  }
-
435 
-
440  virtual int ClearPropertySequence(const char* name)
-
441  {
-
442  MM::Property* pProp;
-
443  int ret = GetSequenceableProperty(&pProp, name);
-
444  if (ret != DEVICE_OK)
-
445  return ret;
-
446 
-
447  return pProp->ClearSequence();
-
448  }
-
449 
-
454  virtual int AddToPropertySequence(const char* name, const char* value)
-
455  {
-
456  MM::Property* pProp;
-
457  int ret = GetSequenceableProperty(&pProp, name);
-
458  if (ret != DEVICE_OK)
-
459  return ret;
-
460 
-
461  return pProp->AddToSequence(value);
-
462  }
-
463 
-
469  virtual int SendPropertySequence(const char* name)
-
470  {
-
471  MM::Property* pProp;
-
472  int ret = GetSequenceableProperty(&pProp, name);
-
473  if (ret != DEVICE_OK)
-
474  return ret;
-
475 
-
476  return pProp->SendSequence();
-
477  }
-
478 
-
485  virtual bool GetPropertyName(unsigned uIdx, char* name) const
-
486  {
-
487  std::string strName;
-
488  if (!properties_.GetName(uIdx, strName))
-
489  return false;
-
490 
-
491  CDeviceUtils::CopyLimitedString(name, strName.c_str());
-
492  return true;
-
493  }
-
494 
-
498  virtual int GetPropertyType(const char* name, MM::PropertyType& pt) const
-
499  {
-
500  MM::Property* pProp = properties_.Find(name);
-
501  if (!pProp)
-
502  return DEVICE_INVALID_PROPERTY;
-
503 
-
504  pt = pProp->GetType();
-
505  return DEVICE_OK;
-
506  }
-
507 
-
513  virtual int SetProperty(const char* name, const char* value)
-
514  {
-
515  int ret = properties_.Set(name, value);
-
516  if( DEVICE_OK != ret)
-
517  {
-
518  // additional information for reporting invalid properties.
-
519  SetMorePropertyErrorInfo(name);
-
520 
-
521  }
-
522  return ret;
-
523  }
-
524 
-
528  virtual bool HasProperty(const char* name) const
-
529  {
-
530  MM::Property* pProp = properties_.Find(name);
-
531  if (pProp)
-
532  return true;
-
533  else
-
534  return false;
-
535  }
-
536 
-
542  virtual unsigned GetNumberOfPropertyValues(const char* propertyName) const
-
543  {
-
544  MM::Property* pProp = properties_.Find(propertyName);
-
545  if (!pProp)
-
546  return 0;
-
547 
-
548  return (unsigned)pProp->GetAllowedValues().size();
-
549  }
-
550 
-
558  virtual bool GetPropertyValueAt(const char* propertyName, unsigned index, char* value) const
-
559  {
-
560  MM::Property* pProp = properties_.Find(propertyName);
-
561  if (!pProp)
-
562  return false;
-
563 
-
564  std::vector<std::string> values = pProp->GetAllowedValues();
-
565  if (values.size() < index)
-
566  return false;
-
567 
-
568  CDeviceUtils::CopyLimitedString(value, values[index].c_str());
-
569  return true;
-
570  }
-
571 
-
582  int CreateProperty(const char* name, const char* value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor* pAct=0, bool isPreInitProperty=false)
-
583  {
-
584  return properties_.CreateProperty(name, value, eType, readOnly, pAct, isPreInitProperty);
-
585  }
-
586 
-
597  int CreatePropertyWithHandler(const char* name, const char* value, MM::PropertyType eType, bool readOnly,
-
598  int(U::*memberFunction)(MM::PropertyBase* pProp, MM::ActionType eAct), bool isPreInitProperty=false) {
-
599  CPropertyAction* pAct = new CPropertyAction((U*) this, memberFunction);
-
600  return CreateProperty(name, value, eType, readOnly, pAct, isPreInitProperty);
-
601  }
-
602 
-
606  int CreateIntegerProperty(const char* name, long value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
-
607  {
-
608  // Note: in theory, we can avoid converting to string and back. At this
-
609  // moment, it is not worth the trouble.
-
610  std::ostringstream oss;
-
611  oss << value;
-
612  return CreateProperty(name, oss.str().c_str(), MM::Integer, readOnly, pAct, isPreInitProperty);
-
613  }
-
614 
-
618  int CreateFloatProperty(const char* name, double value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
-
619  {
-
620  // Note: in theory, we can avoid converting to string and back. At this
-
621  // moment, it is not worth the trouble.
-
622  //
-
623  // However, note the following assumption being made here: the default
-
624  // settings of std::ostream will return strings with a decimal precision
-
625  // of 6 digits. When this eventually gets passed to
-
626  // MM::FloatProperty::Set(double), it gets truncated to 4 digits before
-
627  // being stored. Thus, we do not loose any information.
-
628  std::ostringstream oss;
-
629  oss << value;
-
630  return CreateProperty(name, oss.str().c_str(), MM::Float, readOnly, pAct, isPreInitProperty);
-
631  }
-
632 
-
636  int CreateStringProperty(const char* name, const char* value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
-
637  {
-
638  return CreateProperty(name, value, MM::String, readOnly, pAct, isPreInitProperty);
-
639  }
-
640 
-
644  int SetPropertyLimits(const char* name, double low, double high)
-
645  {
-
646  MM::Property* pProp = properties_.Find(name);
-
647  if (!pProp)
-
648  {
-
649  SetMorePropertyErrorInfo(name);
-
650  return DEVICE_INVALID_PROPERTY;
-
651  }
-
652  if (pProp->SetLimits(low, high))
-
653  return DEVICE_OK;
-
654  else {
-
655  std::ostringstream os;
-
656  os << "Device adapter requests invalid values ( " << low << ", ";
-
657  os << high << ") for property: " << name;
-
658  LogMessage(os.str().c_str(), false);
-
659  return DEVICE_INVALID_PROPERTY_LIMTS;
-
660  }
-
661  }
-
662 
-
666  int SetAllowedValues(const char* name, std::vector<std::string>& values)
-
667  {
-
668  return properties_.SetAllowedValues(name, values);
-
669  }
-
670 
-
674  int ClearAllowedValues(const char* name)
-
675  {
-
676  return properties_.ClearAllowedValues(name);
-
677  }
-
678 
-
682  int AddAllowedValue(const char* name, const char* value)
-
683  {
-
684  return properties_.AddAllowedValue(name, value);
-
685  }
-
686 
-
690  int AddAllowedValue(const char* name, const char* value, long data)
-
691  {
-
692  return properties_.AddAllowedValue(name, value, data);
-
693  }
-
694 
-
698  int GetPropertyData(const char* name, const char* value, long& data)
-
699  {
-
700  int ret = properties_.GetPropertyData(name, value, data);
-
701  if( DEVICE_OK != ret)
-
702  // additional information for reporting invalid properties.
-
703  SetMorePropertyErrorInfo(name);
-
704 
-
705  return ret;
-
706  }
-
707 
-
711  int GetCurrentPropertyData(const char* name, long& data)
-
712  {
-
713  int ret = properties_.GetCurrentPropertyData(name, data);
-
714  if( DEVICE_OK != ret)
-
715  // additional information for reporting invalid properties.
-
716  SetMorePropertyErrorInfo(name);
-
717 
-
718  return ret;
-
719  }
-
720 
- -
726  {
-
727  return properties_.UpdateAll();
-
728  }
-
729 
-
733  int UpdateProperty(const char* name)
-
734  {
-
735  return properties_.Update(name);
-
736  }
-
737 
-
738 
-
742  int ApplyProperty(const char* name)
-
743  {
-
744  return properties_.Apply(name);
-
745  }
-
746 
-
750  virtual bool GetErrorText(int errorCode, char* text) const
-
751  {
-
752  std::map<int, std::string>::const_iterator it;
-
753  it = messages_.find(errorCode);
-
754  if (it == messages_.end())
-
755  {
-
756  // generic message
-
757  std::ostringstream osTxt;
-
758  osTxt << "Error code " << errorCode << " (" << std::setbase(16) << errorCode << " hex)";
-
759  CDeviceUtils::CopyLimitedString(text, osTxt.str().c_str());
-
760  return false; // message text not found
-
761  }
-
762  else
-
763  {
-
764  std::ostringstream stringStreamMessage;
-
765  stringStreamMessage << it->second.c_str();
-
766  // add the additional 'property' error info.
-
767  if( 2<=errorCode && errorCode<=5 )
-
768  {
-
769  stringStreamMessage << ": " << GetMorePropertyErrorInfo();
-
770  }
-
771  SetMorePropertyErrorInfo("");
-
772  // native message
-
773  CDeviceUtils::CopyLimitedString(text, stringStreamMessage.str().c_str());
-
774  return true; // message found
-
775  }
-
776  }
-
777 
-
778  // device discovery (auto-configuration)
-
779  virtual bool SupportsDeviceDetection(void) {
-
780  return false;
-
781  }
-
782  virtual MM::DeviceDetectionStatus DetectDevice(void){
-
783  return MM::Unimplemented;
-
784  };
-
785 
-
786  // hub - peripheral relationship
-
787  virtual void SetParentID(const char* parentId)
-
788  {
-
789  parentID_ = parentId;
-
790 
-
791  // truncate if necessary
-
792  if (parentID_.size() >= (unsigned) MM::MaxStrLength)
-
793  parentID_ = parentID_.substr(MM::MaxStrLength-1);
-
794 
-
795  if (this->HasProperty(MM::g_Keyword_HubID))
-
796  {
-
797  this->SetProperty(MM::g_Keyword_HubID, parentID_.c_str());
-
798  }
-
799  }
-
800 
-
801  virtual void GetParentID(char* parentID) const
-
802  {
-
803  CDeviceUtils::CopyLimitedString(parentID, parentID_.c_str());
-
804  }
-
805 
-
807  // Protected methods, for internal use by the device adapters
-
809 
-
810 protected:
-
811 
-
812  CDeviceBase() : module_(0), delayMs_(0), usesDelay_(false), callback_(0)
-
813  {
- -
815  }
-
816  virtual ~CDeviceBase() {}
-
817 
-
821  void SetErrorText(int errorCode, const char* text)
-
822  {
-
823  messages_[errorCode] = text;
-
824  }
-
825 
-
826  const char* GetMorePropertyErrorInfo(void) const
-
827  {
-
828  return morePropertyErrorInfo_.c_str();
-
829  }
-
830 
-
831  void SetMorePropertyErrorInfo( const char* ptext) const
-
832  {
-
833  morePropertyErrorInfo_ = ptext;
-
834  }
-
835 
-
841  int LogMessage(const char* msg, bool debugOnly = false) const
-
842  {
-
843  if (callback_)
-
844  return callback_->LogMessage(this, msg, debugOnly);
-
845  return DEVICE_NO_CALLBACK_REGISTERED;
-
846  }
-
847 
-
853  int LogMessage(const std::string& msg, bool debugOnly = false) const
-
854  {
-
855  if (callback_)
-
856  return callback_->LogMessage(this, msg.c_str(), debugOnly);
-
857  return DEVICE_NO_CALLBACK_REGISTERED;
-
858  }
-
859 
-
865  int LogMessageCode(const int errorCode, bool debugOnly = false) const
-
866  {
-
867  if (callback_)
-
868  {
-
869  char text[MM::MaxStrLength];
-
870  GetErrorText(errorCode, text);
-
871  return callback_->LogMessage(this, text, debugOnly);
-
872  }
-
873  return DEVICE_NO_CALLBACK_REGISTERED;
-
874  }
-
875 
-
876 
-
885  int LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string& message, bool debugOnly = false) const
-
886  {
-
887  std::ostringstream os;
-
888  MM::MMTime t = end-start;
-
889  os << message << t.toString() << " seconds";
-
890  if (callback_)
-
891  return callback_->LogMessage(this, os.str().c_str(), debugOnly);
-
892  return DEVICE_NO_CALLBACK_REGISTERED;
-
893  }
-
894 
-
902  int LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly = false) const
-
903  {
-
904  return LogTimeDiff(start, end, "Process took: " , debugOnly);
-
905  }
-
906 
- -
911  {
-
912  // initialize error codes
-
913  SetErrorText(DEVICE_ERR, g_Msg_ERR);
-
914  SetErrorText(DEVICE_INVALID_PROPERTY, g_Msg_INVALID_PROPERTY);
-
915  SetErrorText(DEVICE_INVALID_PROPERTY_VALUE, g_Msg_INVALID_PROPERTY_VALUE);
-
916  SetErrorText(DEVICE_DUPLICATE_PROPERTY, g_Msg_DUPLICATE_PROPERTY);
-
917  SetErrorText(DEVICE_INVALID_PROPERTY_TYPE, g_Msg_INVALID_PROPERTY_TYPE);
-
918  SetErrorText(DEVICE_NATIVE_MODULE_FAILED, g_Msg_NATIVE_MODULE_FAILED);
-
919  SetErrorText(DEVICE_UNSUPPORTED_DATA_FORMAT, g_Msg_UNSUPPORTED_DATA_FORMAT);
-
920  SetErrorText(DEVICE_INTERNAL_INCONSISTENCY, g_Msg_INTERNAL_INCONSISTENCY);
-
921  SetErrorText(DEVICE_NOT_SUPPORTED, g_Msg_NOT_SUPPORTED);
-
922  SetErrorText(DEVICE_UNKNOWN_LABEL, g_Msg_UNKNOWN_LABEL);
-
923  SetErrorText(DEVICE_UNSUPPORTED_COMMAND, g_Msg_UNSUPPORTED_COMMAND);
-
924  SetErrorText(DEVICE_UNKNOWN_POSITION, g_Msg_UNKNOWN_POSITION);
-
925  SetErrorText(DEVICE_NO_CALLBACK_REGISTERED, g_Msg_NO_CALLBACK_REGISTERED);
-
926  SetErrorText(DEVICE_SERIAL_COMMAND_FAILED, g_Msg_SERIAL_COMMAND_FAILED);
-
927  SetErrorText(DEVICE_SERIAL_BUFFER_OVERRUN, g_Msg_SERIAL_BUFFER_OVERRUN);
-
928  SetErrorText(DEVICE_SERIAL_INVALID_RESPONSE, g_Msg_SERIAL_INVALID_RESPONSE);
-
929  SetErrorText(DEVICE_SERIAL_TIMEOUT, g_Msg_SERIAL_TIMEOUT);
-
930  SetErrorText(DEVICE_SELF_REFERENCE, g_Msg_SELF_REFERENCE);
-
931  SetErrorText(DEVICE_NO_PROPERTY_DATA, g_Msg_NO_PROPERTY_DATA);
-
932  SetErrorText(DEVICE_DUPLICATE_LABEL, g_Msg_DEVICE_DUPLICATE_LABEL);
-
933  SetErrorText(DEVICE_INVALID_INPUT_PARAM, g_Msg_INVALID_INPUT_PARAM);
-
934  SetErrorText(DEVICE_BUFFER_OVERFLOW, g_Msg_BUFFER_OVERFLOW);
-
935  SetErrorText(DEVICE_NONEXISTENT_CHANNEL, g_Msg_DEVICE_NONEXISTENT_CHANNEL);
-
936  SetErrorText(DEVICE_INVALID_PROPERTY_LIMTS, g_Msg_DEVICE_INVALID_PROPERTY_LIMTS);
-
937  SetErrorText(DEVICE_CAMERA_BUSY_ACQUIRING, g_Msg_DEVICE_CAMERA_BUSY_ACQUIRING);
-
938  SetErrorText(DEVICE_CAN_NOT_SET_PROPERTY, g_Msg_DEVICE_CAN_NOT_SET_PROPERTY);
-
939  SetErrorText(DEVICE_LOCALLY_DEFINED_ERROR, "t.b.d.");
-
940  SetErrorText(DEVICE_NOT_CONNECTED, g_Msg_DEVICE_NOT_CONNECTED);
-
941  SetErrorText(DEVICE_COMM_HUB_MISSING, g_Msg_DEVICE_COMM_HUB_MISSING);
-
942  SetErrorText(DEVICE_DUPLICATE_LIBRARY, g_Msg_DEVICE_DUPLICATE_LIBRARY);
-
943  SetErrorText(DEVICE_PROPERTY_NOT_SEQUENCEABLE, g_Msg_DEVICE_PROPERTY_NOT_SEQUENCEABLE);
-
944  SetErrorText(DEVICE_SEQUENCE_TOO_LARGE, g_Msg_DEVICE_SEQUENCE_TOO_LARGE);
-
945  SetErrorText(DEVICE_NOT_YET_IMPLEMENTED, g_Msg_DEVICE_NOT_YET_IMPLEMENTED);
-
946  }
-
947 
-
953  MM::Device* GetDevice(const char* deviceLabel) const
-
954  {
-
955  if (callback_)
-
956  return callback_->GetDevice(this, deviceLabel);
-
957  return 0;
-
958  }
-
959 
-
969  // Microsoft compiler has trouble generating code to transport stl objects across DLL boundary
-
970  // so we use char*. Other compilers could conceivably have similar trouble, if for example,
-
971  // a dynamic library is linked with a different CRT than its client.
-
972  void GetLoadedDeviceOfType(MM::DeviceType devType, char* deviceName, const unsigned int deviceIterator )
-
973  {
-
974  deviceName[0] = 0;
-
975  if (callback_)
-
976  {
-
977  callback_->GetLoadedDeviceOfType( this, devType, deviceName, deviceIterator);
-
978  }
-
979  }
-
980 
-
981 
-
985  int WriteToComPort(const char* portLabel, const unsigned char* buf, unsigned bufLength)
-
986  {
-
987  if (callback_)
-
988  return callback_->WriteToSerial(this, portLabel, buf, bufLength);
-
989 
-
990  return DEVICE_NO_CALLBACK_REGISTERED;
-
991  }
-
992 
-
999  int SendSerialCommand(const char* portName, const char* command, const char* term)
-
1000  {
-
1001  if (callback_)
-
1002  return callback_->SetSerialCommand(this, portName, command, term);
-
1003 
-
1004  return DEVICE_NO_CALLBACK_REGISTERED;
-
1005  }
-
1006 
-
1014  int GetSerialAnswer (const char* portName, const char* term, std::string& ans)
-
1015  {
-
1016  const unsigned long MAX_BUFLEN = 2000;
-
1017  char buf[MAX_BUFLEN];
-
1018  if (callback_)
-
1019  {
-
1020  int ret = callback_->GetSerialAnswer(this, portName, MAX_BUFLEN, buf, term);
-
1021  if (ret != DEVICE_OK)
-
1022  return ret;
-
1023  ans = buf;
-
1024  return DEVICE_OK;
-
1025  }
-
1026 
-
1027  return DEVICE_NO_CALLBACK_REGISTERED;
-
1028  }
-
1029 
-
1033  int ReadFromComPort(const char* portLabel, unsigned char* buf, unsigned bufLength, unsigned long& read)
-
1034  {
-
1035  if (callback_)
-
1036  return callback_->ReadFromSerial(this, portLabel, buf, bufLength, read);
-
1037  return DEVICE_NO_CALLBACK_REGISTERED;
-
1038  }
-
1039 
-
1043  int PurgeComPort(const char* portLabel)
-
1044  {
-
1045  if (callback_)
-
1046  return callback_->PurgeSerial(this, portLabel);
-
1047  return DEVICE_NO_CALLBACK_REGISTERED;
-
1048  }
-
1049 
-
1053  MM::PortType GetSerialPortType(const char* portLabel)
-
1054  {
-
1055  if (callback_)
-
1056  return callback_->GetSerialPortType(portLabel);
-
1057  return MM::InvalidPort;
-
1058  }
-
1059 
- -
1068  {
-
1069  if (callback_)
-
1070  return callback_->OnPropertiesChanged(this);
-
1071  return DEVICE_NO_CALLBACK_REGISTERED;
-
1072  }
-
1073 
-
1077  int OnPropertyChanged(const char* propName, const char* propValue)
-
1078  {
-
1079  if (callback_)
-
1080  return callback_->OnPropertyChanged(this, propName, propValue);
-
1081  return DEVICE_NO_CALLBACK_REGISTERED;
-
1082  }
-
1083 
-
1084  /*
-
1085  * Signals that the stage has arrived at a new position
-
1086  */
-
1087  int OnStagePositionChanged(double pos)
-
1088  {
-
1089  if (callback_)
-
1090  return callback_->OnStagePositionChanged(this, pos);
-
1091  return DEVICE_NO_CALLBACK_REGISTERED;
-
1092  }
-
1093 
-
1094  /*
-
1095  */
-
1096  int OnXYStagePositionChanged(double xPos, double yPos)
-
1097  {
-
1098  if (callback_)
-
1099  return callback_->OnXYStagePositionChanged(this, xPos, yPos);
-
1100  return DEVICE_NO_CALLBACK_REGISTERED;
-
1101  }
-
1102 
-
1103  /*
-
1104  */
-
1105  int OnExposureChanged(double exposure)
-
1106  {
-
1107  if (callback_)
-
1108  return callback_->OnExposureChanged(this, exposure);
-
1109  return DEVICE_NO_CALLBACK_REGISTERED;
-
1110  }
-
1111 
-
1112  /*
-
1113  */
-
1114  int OnSLMExposureChanged(double exposure)
-
1115  {
-
1116  if (callback_)
-
1117  return callback_->OnSLMExposureChanged(this, exposure);
-
1118  return DEVICE_NO_CALLBACK_REGISTERED;
-
1119  }
-
1120 
-
1123  int OnMagnifierChanged()
-
1124  {
-
1125  if (callback_)
-
1126  return callback_->OnMagnifierChanged(this);
-
1127  return DEVICE_NO_CALLBACK_REGISTERED;
-
1128  }
-
1129 
-
1134  unsigned long GetClockTicksUs()
-
1135  {
-
1136  if (callback_)
-
1137  return callback_->GetClockTicksUs(this);
-
1138 
-
1139  return 0;
-
1140  }
-
1141 
- -
1146  {
-
1147  if (callback_)
-
1148  return callback_->GetCurrentMMTime();
-
1149 
-
1150  return MM::MMTime(0.0);
-
1151  }
-
1152 
- -
1157  {
-
1158  return callback_ == 0 ? false : true;
-
1159  }
-
1160 
- -
1165  {
-
1166  return callback_;
-
1167  }
-
1168 
-
1172  void EnableDelay(bool state = true)
-
1173  {
-
1174  usesDelay_ = state;
-
1175  }
-
1176 
- -
1184  {
-
1185  char pid[MM::MaxStrLength];
-
1186  this->GetParentID(pid);
-
1187  this->CreateProperty(MM::g_Keyword_HubID, pid, MM::String, true);
-
1188  }
-
1189 
- -
1197  {
-
1198  if (IsCallbackRegistered())
-
1199  return GetCoreCallback()->GetParentHub(this);
-
1200 
-
1201  return 0;
-
1202  }
-
1203 
-
1208  template<class T_HUB>
-
1209  T_HUB* AssignToHub() {
-
1210  T_HUB* hub = static_cast<T_HUB*>(GetParentHub());
-
1211  if (hub == NULL) {
-
1212  LogMessage("Parent hub not defined.");
-
1213  } else {
-
1214  char hubLabel[MM::MaxStrLength];
-
1215  hub->GetLabel(hubLabel);
-
1216  SetParentID(hubLabel); // for backward comp.
-
1217  }
-
1218  return hub;
-
1219  }
-
1220 
-
1221 private:
-
1222  bool PropertyDefined(const char* propName) const
-
1223  {
-
1224  return properties_.Find(propName) != 0;
-
1225  }
-
1226 
-
1234  int GetSequenceableProperty(MM::Property** pProp, const char* name) const
-
1235  {
-
1236  *pProp = properties_.Find(name);
-
1237  if (!*pProp)
-
1238  {
-
1239  SetMorePropertyErrorInfo(name);
-
1240  return DEVICE_INVALID_PROPERTY;
-
1241  }
-
1242 
-
1243  bool sequenceable = (*pProp)->IsSequenceable();
-
1244  if (!sequenceable) {
-
1245  SetMorePropertyErrorInfo(name);
-
1246  return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
-
1247  }
-
1248  return DEVICE_OK;
-
1249  }
-
1250 
-
1251 
-
1252  MM::PropertyCollection properties_;
-
1253  HDEVMODULE module_;
-
1254  std::string label_;
-
1255  std::string moduleName_;
-
1256  std::string description_;
-
1257  std::map<int, std::string> messages_;
-
1258  double delayMs_;
-
1259  bool usesDelay_;
-
1260  MM::Core* callback_;
-
1261  // specific information about the errant property, etc.
-
1262  mutable std::string morePropertyErrorInfo_;
-
1263  std::string parentID_;
-
1264 };
-
1265 
-
1266 // Forbid instantiation of CDeviceBase<MM::Device, U>
-
1267 // (It was abused in the past.)
-
1268 template <class U>
-
1269 class CDeviceBase<MM::Device, U>
-
1270 {
-
1271  CDeviceBase(); // private; construction disallowed
-
1272 };
-
1273 
-
1277 template <class U>
-
1278 class CGenericBase : public CDeviceBase<MM::Generic, U>
-
1279 {
-
1280 };
-
1281 
-
1287 template <class U>
-
1288 class CCameraBase : public CDeviceBase<MM::Camera, U>
-
1289 {
-
1290 public:
- - - - - - -
1297  virtual const unsigned char* GetImageBuffer() = 0;
-
1298  virtual unsigned GetImageWidth() const = 0;
-
1299  virtual unsigned GetImageHeight() const = 0;
-
1300  virtual unsigned GetImageBytesPerPixel() const = 0;
-
1301  virtual int SnapImage() = 0;
-
1302 
-
1303  CCameraBase() : busy_(false), stopWhenCBOverflows_(false), thd_(0)
-
1304  {
-
1305  // create and initialize common transpose properties
-
1306  std::vector<std::string> allowedValues;
-
1307  allowedValues.push_back("0");
-
1308  allowedValues.push_back("1");
-
1309  CreateProperty(MM::g_Keyword_Transpose_SwapXY, "0", MM::Integer, false);
-
1310  SetAllowedValues(MM::g_Keyword_Transpose_SwapXY, allowedValues);
-
1311  CreateProperty(MM::g_Keyword_Transpose_MirrorX, "0", MM::Integer, false);
-
1312  SetAllowedValues(MM::g_Keyword_Transpose_MirrorX, allowedValues);
-
1313  CreateProperty(MM::g_Keyword_Transpose_MirrorY, "0", MM::Integer, false);
-
1314  SetAllowedValues(MM::g_Keyword_Transpose_MirrorY, allowedValues);
-
1315  CreateProperty(MM::g_Keyword_Transpose_Correction, "0", MM::Integer, false);
-
1316  SetAllowedValues(MM::g_Keyword_Transpose_Correction, allowedValues);
-
1317 
-
1318  thd_ = new BaseSequenceThread(this);
-
1319  }
-
1320 
-
1321  virtual ~CCameraBase()
-
1322  {
-
1323  if (!thd_->IsStopped()) {
-
1324  thd_->Stop();
-
1325  thd_->wait();
-
1326  }
-
1327  delete thd_;
-
1328  }
-
1329 
-
1330  virtual bool Busy() {return busy_;}
-
1331 
-
1336  virtual int StartSequenceAcquisition(double interval)
-
1337  {
-
1338  return StartSequenceAcquisition(LONG_MAX, interval, false);
-
1339  }
-
1340 
- -
1345  {
-
1346  if (!thd_->IsStopped()) {
-
1347  thd_->Stop();
-
1348  thd_->wait();
-
1349  }
-
1350 
-
1351  return DEVICE_OK;
-
1352  }
-
1353 
-
1357  virtual double GetPixelSizeUm() const {return GetBinning();}
-
1358 
-
1359  virtual unsigned GetNumberOfComponents() const
-
1360  {
-
1361  return 1;
-
1362  }
-
1363 
-
1364  virtual int GetComponentName(unsigned channel, char* name)
-
1365  {
-
1366  if (channel > 0)
-
1367  return DEVICE_NONEXISTENT_CHANNEL;
-
1368 
-
1369  CDeviceUtils::CopyLimitedString(name, "Grayscale");
-
1370  return DEVICE_OK;
-
1371  }
-
1372 
-
1377  virtual unsigned GetNumberOfChannels() const
-
1378  {
-
1379  return 1;
-
1380  }
-
1381 
-
1386  virtual int GetChannelName(unsigned /* channel */, char* name)
-
1387  {
- -
1389  return DEVICE_OK;
-
1390  }
-
1391 
-
1396  virtual const unsigned char* GetImageBuffer(unsigned /* channelNr */)
-
1397  {
-
1398  if (GetNumberOfChannels() == 1)
-
1399  return GetImageBuffer();
-
1400  return 0;
-
1401  }
-
1402 
-
1403  virtual const unsigned int* GetImageBufferAsRGB32()
-
1404  {
-
1405  return 0;
-
1406  }
-
1407 
-
1408  /*
-
1409  * Fills serializedMetadata with the device's metadata tags.
-
1410  */
-
1411  virtual void GetTags(char* serializedMetadata)
-
1412  {
-
1413  std::string data = metadata_.Serialize();
-
1414  data.copy(serializedMetadata, data.size(), 0);
-
1415  }
-
1416 
-
1417  // temporary debug methods
-
1418  virtual int PrepareSequenceAcqusition() {return DEVICE_OK;}
-
1419 
-
1423  virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)
-
1424  {
-
1425  if (IsCapturing())
-
1426  return DEVICE_CAMERA_BUSY_ACQUIRING;
-
1427 
-
1428  int ret = GetCoreCallback()->PrepareForAcq(this);
-
1429  if (ret != DEVICE_OK)
-
1430  return ret;
-
1431  thd_->Start(numImages,interval_ms);
-
1432  stopWhenCBOverflows_ = stopOnOverflow;
-
1433  return DEVICE_OK;
-
1434  }
-
1435 
-
1436  virtual int GetExposureSequenceMaxLength(long& /*nrEvents*/) const
-
1437  {
-
1438  return DEVICE_UNSUPPORTED_COMMAND;
-
1439  }
-
1440 
-
1441  virtual int StartExposureSequence()
-
1442  {
-
1443  return DEVICE_UNSUPPORTED_COMMAND;
-
1444  }
-
1445 
-
1446  virtual int StopExposureSequence()
-
1447  {
-
1448  return DEVICE_UNSUPPORTED_COMMAND;
-
1449  }
-
1450 
-
1451  virtual int ClearExposureSequence()
-
1452  {
-
1453  return DEVICE_UNSUPPORTED_COMMAND;
-
1454  }
-
1455 
-
1456  virtual int AddToExposureSequence(double /*exposureTime_ms*/)
-
1457  {
-
1458  return DEVICE_UNSUPPORTED_COMMAND;
-
1459  }
-
1460 
-
1461  virtual int SendExposureSequence() const
-
1462  {
-
1463  return DEVICE_UNSUPPORTED_COMMAND;
-
1464  }
-
1465 
-
1466  virtual bool IsCapturing(){return !thd_->IsStopped();}
-
1467 
-
1468  virtual void AddTag(const char* key, const char* deviceLabel, const char* value)
-
1469  {
-
1470  metadata_.PutTag(key, deviceLabel, value);
-
1471  }
-
1472 
-
1473 
-
1474  virtual void RemoveTag(const char* key)
-
1475  {
-
1476  metadata_.RemoveTag(key);
-
1477  }
-
1478 
-
1479  virtual bool SupportsMultiROI()
-
1480  {
-
1481  return false;
-
1482  }
-
1483 
-
1484  virtual bool IsMultiROISet()
-
1485  {
-
1486  return false;
-
1487  }
-
1488 
-
1489  virtual int GetMultiROICount(unsigned& /* count */)
-
1490  {
-
1491  return DEVICE_UNSUPPORTED_COMMAND;
-
1492  }
-
1493 
-
1494  virtual int SetMultiROI(const unsigned* /* xs */, const unsigned* /* ys */,
-
1495  const unsigned* /* widths */, const unsigned* /* heights */,
-
1496  unsigned /* numROIs */)
-
1497  {
-
1498  return DEVICE_UNSUPPORTED_COMMAND;
-
1499  }
-
1500 
-
1501  virtual int GetMultiROI(unsigned* /* xs */, unsigned* /* ys */,
-
1502  unsigned* /* widths */, unsigned* /* heights */, unsigned* /* length */)
-
1503  {
-
1504  return DEVICE_UNSUPPORTED_COMMAND;
-
1505  }
-
1506 
-
1507 protected:
-
1509  // utility methods for use by derived classes
-
1510  // //////////////////////////////////////////
-
1511 
-
1512  virtual std::vector<std::string> GetTagKeys()
-
1513  {
-
1514  return metadata_.GetKeys();
-
1515  }
-
1516 
-
1517  virtual std::string GetTagValue(const char* key)
-
1518  {
-
1519  return metadata_.GetSingleTag(key).GetValue();
-
1520  }
-
1521 
-
1522  // Do actual capturing
-
1523  // Called from inside the thread
-
1524  virtual int ThreadRun (void)
-
1525  {
-
1526  int ret=DEVICE_ERR;
-
1527  ret = SnapImage();
-
1528  if (ret != DEVICE_OK)
-
1529  {
-
1530  return ret;
-
1531  }
-
1532  ret = InsertImage();
-
1533  if (ret != DEVICE_OK)
-
1534  {
-
1535  return ret;
-
1536  }
-
1537  return ret;
-
1538  };
-
1539 
-
1540  virtual int InsertImage()
-
1541  {
-
1542  char label[MM::MaxStrLength];
-
1543  this->GetLabel(label);
-
1544  Metadata md;
-
1545  md.put(MM::g_Keyword_Metadata_CameraLabel, label);
-
1546  int ret = GetCoreCallback()->InsertImage(this, GetImageBuffer(), GetImageWidth(),
- -
1548  md.Serialize().c_str());
-
1549  if (!stopWhenCBOverflows_ && ret == DEVICE_BUFFER_OVERFLOW)
-
1550  {
-
1551  // do not stop on overflow - just reset the buffer
-
1552  GetCoreCallback()->ClearImageBuffer(this);
-
1553  return GetCoreCallback()->InsertImage(this, GetImageBuffer(), GetImageWidth(),
- -
1555  md.Serialize().c_str());
-
1556  } else
-
1557  return ret;
-
1558  }
-
1559 
-
1560  virtual double GetIntervalMs() {return thd_->GetIntervalMs();}
-
1561  virtual long GetImageCounter() {return thd_->GetImageCounter();}
-
1562  virtual long GetNumberOfImages() {return thd_->GetNumberOfImages();}
-
1563 
-
1564  // called from the thread function before exit
-
1565  virtual void OnThreadExiting()
-
1566  {
-
1567  try
-
1568  {
-
1569  LogMessage(g_Msg_SEQUENCE_ACQUISITION_THREAD_EXITING);
-
1570  GetCoreCallback()?GetCoreCallback()->AcqFinished(this,0):DEVICE_OK;
-
1571  }
-
1572  catch(...)
-
1573  {
-
1574  LogMessage(g_Msg_EXCEPTION_IN_ON_THREAD_EXITING, false);
-
1575  }
-
1576  }
-
1577 
-
1578  virtual bool isStopOnOverflow() {return stopWhenCBOverflows_;}
-
1579  virtual void setStopOnOverflow(bool stop) {stopWhenCBOverflows_ = stop;}
-
1580 
-
1582  // Helper Class
- -
1584  {
-
1585  bool restart_;
-
1586  CCameraBase* pCam_;
-
1587 
-
1588  public:
- -
1590  :pCam_(pCam)
-
1591  {
-
1592  restart_=pCam_->IsCapturing();
-
1593  }
-
1594  operator bool()
-
1595  {
-
1596  return restart_;
-
1597  }
-
1598  };
-
1600 
-
1601  // Nested class for live streaming
- -
1604  {
-
1605  friend class CCameraBase;
-
1606  enum { default_numImages=1, default_intervalMS = 100 };
-
1607  public:
- -
1609  :intervalMs_(default_intervalMS)
-
1610  ,numImages_(default_numImages)
-
1611  ,imageCounter_(0)
-
1612  ,stop_(true)
-
1613  ,suspend_(false)
-
1614  ,camera_(pCam)
-
1615  ,startTime_(0)
-
1616  ,actualDuration_(0)
-
1617  ,lastFrameTime_(0)
-
1618  {};
-
1619 
-
1620  ~BaseSequenceThread() {}
-
1621 
-
1622  void Stop() {
-
1623  MMThreadGuard g(this->stopLock_);
-
1624  stop_=true;
-
1625  }
-
1626 
-
1627  void Start(long numImages, double intervalMs)
-
1628  {
-
1629  MMThreadGuard g1(this->stopLock_);
-
1630  MMThreadGuard g2(this->suspendLock_);
-
1631  numImages_=numImages;
-
1632  intervalMs_=intervalMs;
-
1633  imageCounter_=0;
-
1634  stop_ = false;
-
1635  suspend_=false;
-
1636  activate();
-
1637  actualDuration_ = MM::MMTime{};
-
1638  startTime_= camera_->GetCurrentMMTime();
-
1639  lastFrameTime_ = MM::MMTime{};
-
1640  }
-
1641  bool IsStopped(){
-
1642  MMThreadGuard g(this->stopLock_);
-
1643  return stop_;
-
1644  }
-
1645  void Suspend() {
-
1646  MMThreadGuard g(this->suspendLock_);
-
1647  suspend_ = true;
-
1648  }
-
1649  bool IsSuspended() {
-
1650  MMThreadGuard g(this->suspendLock_);
-
1651  return suspend_;
-
1652  }
-
1653  void Resume() {
-
1654  MMThreadGuard g(this->suspendLock_);
-
1655  suspend_ = false;
-
1656  }
-
1657  double GetIntervalMs(){return intervalMs_;}
-
1658  void SetLength(long images) {numImages_ = images;}
-
1659  //long GetLength() const {return numImages_;}
-
1660 
-
1661  long GetImageCounter(){return imageCounter_;}
-
1662  MM::MMTime GetStartTime(){return startTime_;}
-
1663  MM::MMTime GetActualDuration(){return actualDuration_;}
-
1664 
-
1665  CCameraBase* GetCamera() {return camera_;}
-
1666  long GetNumberOfImages() {return numImages_;}
-
1667 
-
1668  void UpdateActualDuration() {actualDuration_ = camera_->GetCurrentMMTime() - startTime_;}
-
1669 
-
1670  private:
-
1671  virtual int svc()
-
1672  {
-
1673  int ret=DEVICE_ERR;
-
1674  try
-
1675  {
-
1676  do
-
1677  {
-
1678  ret=camera_->ThreadRun();
-
1679  } while (DEVICE_OK == ret && !IsStopped() && imageCounter_++ < numImages_-1);
-
1680  if (IsStopped())
-
1681  camera_->LogMessage("SeqAcquisition interrupted by the user\n");
-
1682 
-
1683  }catch(...){
-
1684  camera_->LogMessage(g_Msg_EXCEPTION_IN_THREAD, false);
-
1685  }
-
1686  stop_=true;
-
1687  UpdateActualDuration();
-
1688  camera_->OnThreadExiting();
-
1689  return ret;
-
1690  }
-
1691  private:
-
1692  double intervalMs_;
-
1693  long numImages_;
-
1694  long imageCounter_;
-
1695  bool stop_;
-
1696  bool suspend_;
-
1697  CCameraBase* camera_;
-
1698  MM::MMTime startTime_;
-
1699  MM::MMTime actualDuration_;
-
1700  MM::MMTime lastFrameTime_;
-
1701  MMThreadLock stopLock_;
-
1702  MMThreadLock suspendLock_;
-
1703  };
-
1705 
-
1706 
-
1707 private:
-
1708 
-
1709  bool busy_;
-
1710  bool stopWhenCBOverflows_;
-
1711  Metadata metadata_;
-
1712 
-
1713  BaseSequenceThread * thd_;
-
1714  friend class BaseSequenceThread;
-
1715 };
-
1716 
-
1717 
-
1721 template <class U>
-
1722 class CStageBase : public CDeviceBase<MM::Stage, U>
-
1723 {
-
1724  virtual int GetPositionUm(double& pos) = 0;
-
1725  virtual int SetPositionUm(double pos) = 0;
-
1726 
-
1730  virtual int SetRelativePositionUm(double d)
-
1731  {
-
1732  double pos;
-
1733  int ret = GetPositionUm(pos);
-
1734  if (ret != DEVICE_OK)
-
1735  return ret;
-
1736  return SetPositionUm(pos + d);
-
1737  }
-
1738 
-
1739  virtual int SetAdapterOriginUm(double /*d*/)
-
1740  {
-
1741  return DEVICE_UNSUPPORTED_COMMAND;
-
1742  }
-
1743 
-
1744  virtual int Move(double /*velocity*/)
-
1745  {
-
1746  return DEVICE_UNSUPPORTED_COMMAND;
-
1747  }
-
1748 
-
1749  virtual int Stop()
-
1750  {
-
1751  // Historically, Move() has been in this interface longer than Stop(), so
-
1752  // there is a chance that a stage implements Move() but not Stop(). In
-
1753  // which case zero velocity is the best thing to do.
-
1754  return Move(0.0);
-
1755  }
-
1756 
-
1757  virtual int Home()
-
1758  {
-
1759  return DEVICE_UNSUPPORTED_COMMAND;
-
1760  }
-
1761 
-
1762  virtual int GetFocusDirection(MM::FocusDirection& direction)
-
1763  {
-
1764  // FocusDirectionUnknown is a safe default for all stages. Override this
-
1765  // only if direction is known for sure (i.e. does not depend on how the
-
1766  // hardware is installed).
-
1767  direction = MM::FocusDirectionUnknown;
-
1768  return DEVICE_OK;
-
1769  }
-
1770 
-
1771  virtual int IsStageLinearSequenceable(bool& isSequenceable) const
-
1772  {
-
1773  isSequenceable = false;
-
1774  return DEVICE_OK;
-
1775  }
-
1776 
-
1777  virtual int GetStageSequenceMaxLength(long& /*nrEvents*/) const
-
1778  {
-
1779  return DEVICE_UNSUPPORTED_COMMAND;
-
1780  }
-
1781 
-
1782  virtual int StartStageSequence()
-
1783  {
-
1784  return DEVICE_UNSUPPORTED_COMMAND;
-
1785  }
-
1786 
-
1787  virtual int StopStageSequence()
-
1788  {
-
1789  return DEVICE_UNSUPPORTED_COMMAND;
-
1790  }
-
1791 
-
1792  virtual int ClearStageSequence()
-
1793  {
-
1794  return DEVICE_UNSUPPORTED_COMMAND;
-
1795  }
-
1796 
-
1797  virtual int AddToStageSequence(double /*position*/)
-
1798  {
-
1799  return DEVICE_UNSUPPORTED_COMMAND;
-
1800  }
-
1801 
-
1802  virtual int SendStageSequence()
-
1803  {
-
1804  return DEVICE_UNSUPPORTED_COMMAND;
-
1805  }
-
1806 
-
1807  virtual int SetStageLinearSequence(double, long)
-
1808  {
-
1809  return DEVICE_UNSUPPORTED_COMMAND;
-
1810  }
-
1811 };
-
1812 
-
1818 template <class U>
-
1819 class CXYStageBase : public CDeviceBase<MM::XYStage, U>
-
1820 {
-
1821 public:
-
1822  CXYStageBase() : originXSteps_(0), originYSteps_(0), xPos_(0), yPos_(0)
-
1823  {
-
1824  // set-up directionality properties
-
1825  this->CreateProperty(MM::g_Keyword_Transpose_MirrorX, "0", MM::Integer, false);
-
1826  this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorX, "0");
-
1827  this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorX, "1");
-
1828 
-
1829  this->CreateProperty(MM::g_Keyword_Transpose_MirrorY, "0", MM::Integer, false);
-
1830  this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorY, "0");
-
1831  this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorY, "1");
-
1832  }
-
1833 
-
1834 
-
1835  virtual int SetPositionUm(double x, double y)
-
1836  {
-
1837  bool mirrorX, mirrorY;
-
1838  GetOrientation(mirrorX, mirrorY);
-
1839  double xPos = x;
-
1840  double yPos = y;
-
1841 
-
1842  long xSteps = 0;
-
1843  long ySteps = 0;
-
1844 
-
1845  if (mirrorX)
-
1846  xSteps = originXSteps_ - nint (x / this->GetStepSizeXUm());
-
1847  else
-
1848  xSteps = originXSteps_ + nint (x / this->GetStepSizeXUm());
-
1849  if (mirrorY)
-
1850  ySteps = originYSteps_ - nint (y / this->GetStepSizeYUm());
-
1851  else
-
1852  ySteps = originYSteps_ + nint (y / this->GetStepSizeYUm());
-
1853 
-
1854  int ret = this->SetPositionSteps(xSteps, ySteps);
-
1855  if (ret == DEVICE_OK) {
-
1856  xPos_ = xPos;
-
1857  yPos_ = yPos;
-
1858  this->OnXYStagePositionChanged(xPos_, yPos_);
-
1859  }
-
1860  return ret;
-
1861  }
-
1862 
-
1866  virtual int SetRelativePositionUm(double dx, double dy)
-
1867  {
-
1868  bool mirrorX, mirrorY;
-
1869  GetOrientation(mirrorX, mirrorY);
-
1870  double xPos = xPos_ + dx;
-
1871  double yPos = yPos_ + dy;
-
1872 
-
1873  if (mirrorX)
-
1874  dx = -dx;
-
1875  if (mirrorY)
-
1876  dy = -dy;
-
1877 
-
1878  int ret = SetRelativePositionSteps(nint(dx / this->GetStepSizeXUm()), nint(dy / this->GetStepSizeYUm()));
-
1879  if (ret == DEVICE_OK) {
-
1880  xPos_ = xPos;
-
1881  yPos_ = yPos;
-
1882  this->OnXYStagePositionChanged(xPos_, yPos_);
-
1883  }
-
1884  return ret;
-
1885  }
-
1886 
-
1894  virtual int SetAdapterOriginUm(double newXUm, double newYUm)
-
1895  {
-
1896  bool mirrorX, mirrorY;
-
1897  GetOrientation(mirrorX, mirrorY);
-
1898 
-
1899  long xStep, yStep;
-
1900  int ret = this->GetPositionSteps(xStep, yStep);
-
1901  if (ret != DEVICE_OK)
-
1902  return ret;
-
1903 
-
1904  if (mirrorX)
-
1905  originXSteps_ = xStep + nint(newXUm / this->GetStepSizeXUm());
-
1906  else
-
1907  originXSteps_ = xStep - nint(newXUm / this->GetStepSizeXUm());
-
1908  if (mirrorY)
-
1909  originYSteps_ = yStep + nint(newYUm / this->GetStepSizeYUm());
-
1910  else
-
1911  originYSteps_ = yStep - nint(newYUm / this->GetStepSizeYUm());
-
1912 
-
1913  return DEVICE_OK;
-
1914  }
-
1915 
-
1916  virtual int GetPositionUm(double& x, double& y)
-
1917  {
-
1918  bool mirrorX, mirrorY;
-
1919  GetOrientation(mirrorX, mirrorY);
-
1920 
-
1921  long xSteps, ySteps;
-
1922  int ret = this->GetPositionSteps(xSteps, ySteps);
-
1923  if (ret != DEVICE_OK)
-
1924  return ret;
-
1925 
-
1926  if (mirrorX)
-
1927  x = (originXSteps_ - xSteps) * this->GetStepSizeXUm();
-
1928  else
-
1929  x = - ((originXSteps_ - xSteps) * this->GetStepSizeXUm());
-
1930 
-
1931  if (mirrorY)
-
1932  y = (originYSteps_ - ySteps) * this->GetStepSizeYUm();
-
1933  else
-
1934  y = - ((originYSteps_ - ySteps) * this->GetStepSizeYUm());
-
1935 
-
1936  xPos_ = x;
-
1937  yPos_ = y;
-
1938 
-
1939  return DEVICE_OK;
-
1940  }
-
1941 
-
1947  virtual int SetRelativePositionSteps(long x, long y)
-
1948  {
-
1949  long xSteps, ySteps;
-
1950  int ret = this->GetPositionSteps(xSteps, ySteps);
-
1951  if (ret != DEVICE_OK)
-
1952  return ret;
-
1953 
-
1954  return this->SetPositionSteps(xSteps+x, ySteps+y);
-
1955  }
-
1956 
-
1957  virtual int Move(double /*vx*/, double /*vy*/)
-
1958  {
-
1959  return DEVICE_UNSUPPORTED_COMMAND;
-
1960  }
-
1961 
-
1962  virtual int SetXOrigin()
-
1963  {
-
1964  return DEVICE_UNSUPPORTED_COMMAND;
-
1965  }
-
1966 
-
1967  virtual int SetYOrigin()
-
1968  {
-
1969  return DEVICE_UNSUPPORTED_COMMAND;
-
1970  }
-
1971 
-
1972  virtual int GetXYStageSequenceMaxLength(long& /*nrEvents*/) const
-
1973  {
-
1974  return DEVICE_UNSUPPORTED_COMMAND;
-
1975  }
-
1976 
-
1977  virtual int StartXYStageSequence()
-
1978  {
-
1979  return DEVICE_UNSUPPORTED_COMMAND;
-
1980  }
-
1981 
-
1982  virtual int StopXYStageSequence()
-
1983  {
-
1984  return DEVICE_UNSUPPORTED_COMMAND;
-
1985  }
-
1986 
-
1987  virtual int ClearXYStageSequence()
-
1988  {
-
1989  return DEVICE_UNSUPPORTED_COMMAND;
-
1990  }
-
1991 
-
1992  virtual int AddToXYStageSequence(double /*positionX*/, double /*positionY*/)
-
1993  {
-
1994  return DEVICE_UNSUPPORTED_COMMAND;
-
1995  }
-
1996 
-
1997  virtual int SendXYStageSequence()
-
1998  {
-
1999  return DEVICE_UNSUPPORTED_COMMAND;
-
2000  }
-
2001 
-
2002 protected:
-
2003 
-
2011  double GetCachedXUm() {return xPos_;}
-
2012  double GetCachedYUm() {return yPos_;}
-
2013 
-
2014 private:
-
2015 
-
2016  void GetOrientation(bool& mirrorX, bool& mirrorY)
-
2017  {
-
2018  char val[MM::MaxStrLength];
-
2019  int ret = this->GetProperty(MM::g_Keyword_Transpose_MirrorX, val);
-
2020  assert(ret == DEVICE_OK);
-
2021  mirrorX = strcmp(val, "1") == 0 ? true : false;
-
2022 
-
2023  ret = this->GetProperty(MM::g_Keyword_Transpose_MirrorY, val);
-
2024  assert(ret == DEVICE_OK);
-
2025  mirrorY = strcmp(val, "1") == 0 ? true : false;
-
2026  }
-
2027 
-
2028 
-
2029  // absolute coordinate translation data
-
2030  long originXSteps_;
-
2031  long originYSteps_;
-
2032  double xPos_;
-
2033  double yPos_;
-
2034 };
-
2035 
-
2039 template <class U>
-
2040 class CShutterBase : public CDeviceBase<MM::Shutter, U>
-
2041 {
-
2042 };
-
2043 
-
2047 template <class U>
-
2048 class CSerialBase : public CDeviceBase<MM::Serial, U>
-
2049 {
-
2050 };
-
2051 
-
2055 template <class U>
-
2056 class CAutoFocusBase : public CDeviceBase<MM::AutoFocus, U>
-
2057 {
-
2058  virtual int AutoSetParameters() {return DEVICE_UNSUPPORTED_COMMAND;}
-
2059 };
-
2060 
-
2064 template <class U>
-
2065 class CImageProcessorBase : public CDeviceBase<MM::ImageProcessor, U>
-
2066 {
-
2067 };
-
2068 
-
2072 template <class U>
-
2073 class CSignalIOBase : public CDeviceBase<MM::SignalIO, U>
-
2074 {
-
2075  virtual int GetDASequenceMaxLength(long& /*nrEvents*/) const
-
2076  {
-
2077  return DEVICE_UNSUPPORTED_COMMAND;
-
2078  }
-
2079 
-
2080  virtual int StartDASequence()
-
2081  {
-
2082  return DEVICE_UNSUPPORTED_COMMAND;
-
2083  }
-
2084 
-
2085  virtual int StopDASequence() {
-
2086  return DEVICE_UNSUPPORTED_COMMAND;
-
2087  }
-
2088 
-
2089  virtual int ClearDASequence() {
-
2090  return DEVICE_UNSUPPORTED_COMMAND;
-
2091  }
-
2092 
-
2093  virtual int AddToDASequence(double /*voltage*/)
-
2094  {
-
2095  return DEVICE_UNSUPPORTED_COMMAND;
-
2096  }
-
2097 
-
2098  virtual int SendDASequence() {
-
2099  return DEVICE_UNSUPPORTED_COMMAND;
-
2100  }
-
2101 };
-
2102 
-
2106 template <class U>
-
2107 class CMagnifierBase : public CDeviceBase<MM::Magnifier, U>
-
2108 {
-
2109 };
-
2110 
-
2114 template <class U>
-
2115 class CSLMBase : public CDeviceBase<MM::SLM, U>
-
2116 {
-
2117  virtual int GetSLMSequenceMaxLength(long& /*nrEvents*/) const
-
2118  {
-
2119  return DEVICE_UNSUPPORTED_COMMAND;
-
2120  }
-
2121 
-
2122  virtual int StartSLMSequence()
-
2123  {
-
2124  return DEVICE_UNSUPPORTED_COMMAND;
-
2125  }
-
2126 
-
2127  virtual int StopSLMSequence() {
-
2128  return DEVICE_UNSUPPORTED_COMMAND;
-
2129  }
-
2130 
-
2131  virtual int ClearSLMSequence() {
-
2132  return DEVICE_UNSUPPORTED_COMMAND;
-
2133  }
-
2134 
-
2135  virtual int AddToSLMSequence(const unsigned char * const /*image*/)
-
2136  {
-
2137  return DEVICE_UNSUPPORTED_COMMAND;
-
2138  }
-
2139 
-
2140  virtual int AddToSLMSequence(const unsigned int * const /*image*/)
-
2141  {
-
2142  return DEVICE_UNSUPPORTED_COMMAND;
-
2143  }
-
2144 
-
2145  virtual int SendSLMSequence() {
-
2146  return DEVICE_UNSUPPORTED_COMMAND;
-
2147  }
-
2148 };
-
2149 
-
2153 template <class U>
-
2154 class CGalvoBase : public CDeviceBase<MM::Galvo, U>
-
2155 {
-
2156  double GetXMinimum() { return 0.0;};
-
2157  double GetYMinimum() { return 0.0;};
-
2158 };
-
2159 
-
2163 template <class U>
-
2164 class HubBase : public CDeviceBase<MM::Hub, U>
-
2165 {
-
2166 public:
-
2167  HubBase() {}
-
2168  virtual ~HubBase() {}
-
2169 
-
2177  virtual int DetectInstalledDevices() {return DEVICE_OK;}
-
2178 
-
2183  virtual unsigned GetNumberOfInstalledDevices() {return (unsigned)installedDevices.size();}
-
2184 
-
2189  virtual MM::Device* GetInstalledDevice(int devIdx) {return installedDevices[devIdx];}
-
2190 
-
2195  virtual void ClearInstalledDevices()
-
2196  {
-
2197  for (unsigned i=0; i<installedDevices.size(); i++)
-
2198  delete installedDevices[i];
-
2199  installedDevices.clear();
-
2200  }
-
2201 
-
2202 protected:
-
2203  void AddInstalledDevice(MM::Device* pdev) {installedDevices.push_back(pdev);}
-
2204 
-
2205 private:
-
2206  std::vector<MM::Device*> installedDevices;
-
2207 
-
2208 };
-
2209 
-
2214 template <class U>
-
2215 class CStateDeviceBase : public CDeviceBase<MM::State, U>
-
2216 {
-
2217 public:
-
2218 
- -
2220 
-
2221  CStateDeviceBase(): gateOpen_(true)
-
2222  {
-
2223  // set-up Position to move to when the state device's gate is closed
-
2224  // Allowed values should be set in the state device adapter
-
2225  // this->CreateProperty(MM::g_Keyword_Closed_Position, "0", MM::String, false);
-
2226  }
-
2227 
-
2232  virtual int SetPosition(long pos)
-
2233  {
-
2234  return this->SetProperty(MM::g_Keyword_State, CDeviceUtils::ConvertToString(pos));
-
2235  }
-
2236 
-
2241  virtual int SetPosition(const char* label)
-
2242  {
-
2243  std::map<std::string, long>::const_iterator it;
-
2244  it = labels_.find(label);
-
2245  if (it == labels_.end())
-
2246  return DEVICE_UNKNOWN_LABEL;
-
2247 
-
2248  return SetPosition(it->second);
-
2249  }
-
2250 
-
2251 
-
2257  virtual int SetGateOpen(bool open)
-
2258  {
-
2259  if (gateOpen_ != open) {
-
2260  gateOpen_ = open;
-
2261  long position;
-
2262  int ret = GetPosition(position);
-
2263  if (ret != DEVICE_OK)
-
2264  return ret;
-
2265  return SetPosition(position);
-
2266  }
-
2267  return DEVICE_OK;
-
2268  }
-
2269 
-
2270  virtual int GetGateOpen(bool& open)
-
2271  {
-
2272  open = gateOpen_;
-
2273  return DEVICE_OK;
-
2274  }
-
2275 
-
2280  virtual int GetPosition(long& pos) const
-
2281  {
-
2282  char buf[MM::MaxStrLength];
-
2283  assert(this->HasProperty(MM::g_Keyword_State));
-
2284  int ret = this->GetProperty(MM::g_Keyword_State, buf);
-
2285  if (ret == DEVICE_OK)
-
2286  {
-
2287  pos = atol(buf);
-
2288  return DEVICE_OK;
-
2289  }
-
2290  else
-
2291  return ret;
-
2292  }
-
2293 
-
2298  virtual int GetPosition(char* label) const
-
2299  {
-
2300  long pos;
-
2301  int ret = GetPosition(pos);
-
2302  if (ret == DEVICE_OK)
-
2303  return GetPositionLabel(pos, label);
-
2304  else
-
2305  return ret;
-
2306  }
-
2307 
-
2311  virtual int GetPositionLabel(long pos, char* label) const
-
2312  {
-
2313  std::map<std::string, long>::const_iterator it;
-
2314  for (it=labels_.begin(); it!=labels_.end(); it++)
-
2315  {
-
2316  //string devLabel = it->first;
-
2317  //long devPosition = it->second;
-
2318  if (it->second == pos)
-
2319  {
-
2320  CDeviceUtils::CopyLimitedString(label, it->first.c_str());
-
2321  return DEVICE_OK;
-
2322  }
-
2323  }
-
2324 
-
2325  // label not found
-
2326  return DEVICE_UNKNOWN_POSITION;
-
2327  }
-
2328 
-
2332  virtual int SetPositionLabel(long pos, const char* label)
-
2333  {
-
2334  // first test if the label already exists with different position defined
-
2335  std::map<std::string, long>::iterator it;
-
2336  it = labels_.find(label);
-
2337  if (it != labels_.end() && it->second != pos)
-
2338  {
-
2339  // remove the existing one
-
2340  labels_.erase(it);
-
2341  }
-
2342 
-
2343  // then test if the given position already has a label
-
2344  for (it=labels_.begin(); it!=labels_.end(); it++)
-
2345  if (it->second == pos)
-
2346  {
-
2347  labels_.erase(it);
-
2348  break;
-
2349  }
-
2350 
-
2351  // finally we can add the new label-position mapping
-
2352  labels_[label] = pos;
-
2353 
-
2354  // attempt to define allowed values for label property (if it exists),
-
2355  // and don't make any fuss if the operation fails
-
2356  std::string strLabel(label);
-
2357  std::vector<std::string> values;
-
2358  for (it=labels_.begin(); it!=labels_.end(); it++)
-
2359  values.push_back(it->first);
-
2360  this->SetAllowedValues(MM::g_Keyword_Label, values);
-
2361 
-
2362  return DEVICE_OK;
-
2363  }
-
2364 
-
2368  virtual int GetLabelPosition(const char* label, long& pos) const
-
2369  {
-
2370  std::map<std::string, long>::const_iterator it;
-
2371  it = labels_.find(label);
-
2372  if (it == labels_.end())
-
2373  return DEVICE_UNKNOWN_LABEL;
-
2374 
-
2375  pos = it->second;
-
2376  return DEVICE_OK;
-
2377  }
-
2378 
-
2382  int OnLabel(MM::PropertyBase* pProp, MM::ActionType eAct)
-
2383  {
-
2384  if (eAct == MM::BeforeGet)
-
2385  {
-
2386  char buf[MM::MaxStrLength];
-
2387  int ret = GetPosition(buf);
-
2388  if (ret != DEVICE_OK)
-
2389  return ret;
-
2390  pProp->Set(buf);
-
2391  }
-
2392  else if (eAct == MM::AfterSet)
-
2393  {
-
2394  std::string label;
-
2395  pProp->Get(label);
-
2396  int ret = SetPosition(label.c_str());
-
2397  if (ret != DEVICE_OK)
-
2398  return ret;
-
2399  }
-
2400  else if (eAct == MM::IsSequenceable)
-
2401  {
-
2402  assert(this->HasProperty(MM::g_Keyword_State));
-
2403  bool sequenceable;
-
2404  int ret = this->IsPropertySequenceable(MM::g_Keyword_State, sequenceable);
-
2405  if (ret != DEVICE_OK)
-
2406  return ret;
-
2407 
-
2408  long nrEvents = 0;
-
2409  if (sequenceable) {
-
2410  ret = this->GetPropertySequenceMaxLength(MM::g_Keyword_State, nrEvents);
-
2411  if (ret != DEVICE_OK)
-
2412  return ret;
-
2413  }
-
2414  pProp->SetSequenceable(nrEvents);
-
2415  }
-
2416  else if (eAct == MM::AfterLoadSequence) {
-
2417  assert(this->HasProperty(MM::g_Keyword_State));
-
2418  std::vector<std::string> sequence = pProp->GetSequence();
-
2419  for (std::vector<std::string>::iterator it = sequence.begin(); it != sequence.end(); ++it) {
-
2420  long pos;
-
2421  int ret = GetLabelPosition((*it).c_str(), pos);
-
2422  if (ret != DEVICE_OK)
-
2423  return ret;
-
2424  std::stringstream s;
-
2425  s << pos;
-
2426  s >> *it;
-
2427  }
-
2428 
-
2429  int ret = this->ClearPropertySequence(MM::g_Keyword_State);
-
2430  if (ret != DEVICE_OK)
-
2431  return ret;
-
2432 
-
2433  std::vector<std::string>::iterator it;
-
2434  for ( it=sequence.begin() ; it < sequence.end(); it++ )
-
2435  {
-
2436  ret = this->AddToPropertySequence(MM::g_Keyword_State, (*it).c_str());
-
2437  if (ret != DEVICE_OK)
-
2438  return ret;
-
2439  }
-
2440 
-
2441  ret = this->SendPropertySequence(MM::g_Keyword_State);
-
2442  if (ret != DEVICE_OK)
-
2443  return ret;
-
2444 
-
2445  //this->LoadPropertySequence(MM::g_Keyword_State, sequence);
-
2446  }
-
2447  else if (eAct == MM::StartSequence) {
-
2448  assert(this->HasProperty(MM::g_Keyword_State));
-
2449  return this->StartPropertySequence(MM::g_Keyword_State);
-
2450  }
-
2451  else if (eAct == MM::StopSequence) {
-
2452  assert(this->HasProperty(MM::g_Keyword_State));
-
2453  return this->StopPropertySequence(MM::g_Keyword_State);
-
2454  }
-
2455 
-
2456  return DEVICE_OK;
-
2457  }
-
2458 
-
2463  int OnStateChanged(long position) {
-
2464  int ret;
-
2465  ret = this->OnPropertyChanged(MM::g_Keyword_State,CDeviceUtils::ConvertToString(position));
-
2466  if (ret != DEVICE_OK) {
-
2467  return ret;
-
2468  }
-
2469 
-
2470  char label[MM::MaxStrLength];
-
2471  GetPositionLabel(position, label);
-
2472  ret = this->OnPropertyChanged(MM::g_Keyword_Label, label);
-
2473  return ret;
-
2474  }
-
2475 
-
2476 private:
-
2477  bool gateOpen_;
-
2478 
-
2479 private:
-
2480  std::map<std::string, long> labels_;
-
2481 };
-
2482 
-
2483 
-
2484 // _t, a macro for timing single lines.
-
2485 // This macros logs the text of the line, x, measures
-
2486 // the time it takes, and then logs that time.
-
2487 // Usage example:
-
2488 // _t( ex = GetExposure(); )
-
2489 
-
2490 
-
2491 #define _t(x) \
-
2492  { \
-
2493  LogMessage(#x, true); \
-
2494  _start_time = GetCurrentMMTime(); \
-
2495  x; \
-
2496  _end_time = GetCurrentMMTime(); \
-
2497  LogTimeDiff(_start_time,_end_time, true); \
-
2498  }
-
Definition: DeviceBase.h:2057
-
Definition: DeviceBase.h:1604
-
Definition: DeviceBase.h:1584
-
Definition: DeviceBase.h:1289
-
virtual int StartSequenceAcquisition(double interval)
Definition: DeviceBase.h:1336
-
virtual const unsigned char * GetImageBuffer()=0
-
virtual const unsigned char * GetImageBuffer(unsigned)
Definition: DeviceBase.h:1396
-
virtual int PrepareSequenceAcqusition()
Definition: DeviceBase.h:1418
+
1
+
2// FILE: DeviceBase.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: Generic functionality for implementing device adapters
+
7//
+
8// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/18/2005
+
9//
+
10// COPYRIGHT: University of California, San Francisco, 2006
+
11//
+
12// LICENSE: This file is distributed under the BSD license.
+
13// License text is included with the source distribution.
+
14//
+
15// This file is distributed in the hope that it will be useful,
+
16// but WITHOUT ANY WARRANTY; without even the implied warranty
+
17// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
18//
+
19// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
20// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
21// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
22//
+
23
+
24#pragma once
+
25
+
26#include "MMDevice.h"
+
27#include "MMDeviceConstants.h"
+
28#include "Property.h"
+
29#include "DeviceUtils.h"
+
30#include "ModuleInterface.h"
+
31#include "DeviceThreads.h"
+
32
+
33#include <math.h>
+
34#include <assert.h>
+
35
+
36#include <string>
+
37#include <vector>
+
38#include <iomanip>
+
39#include <map>
+
40#include <sstream>
+
41
+
42// common error messages
+
43const char* const g_Msg_ERR = "Unknown error in the device";
+
44const char* const g_Msg_INVALID_PROPERTY = "Invalid property name encountered";
+
45const char* const g_Msg_INVALID_PROPERTY_VALUE = "Invalid property value";
+
46const char* const g_Msg_DUPLICATE_PROPERTY = "Duplicate property names are not allowed";
+
47const char* const g_Msg_INVALID_PROPERTY_TYPE = "Invalid property type";
+
48const char* const g_Msg_NATIVE_MODULE_FAILED = "Native module failed to load";
+
49const char* const g_Msg_UNSUPPORTED_DATA_FORMAT = "Unsupported data format encountered";
+
50const char* const g_Msg_INTERNAL_INCONSISTENCY = "Device adapter inconsistent with the actual device";
+
51const char* const g_Msg_NOT_SUPPORTED = "Device not supported by the adapter";
+
52const char* const g_Msg_UNKNOWN_LABEL = "Label not defined";
+
53const char* const g_Msg_UNSUPPORTED_COMMAND = "Unsupported device command";
+
54const char* const g_Msg_UNKNOWN_POSITION = "Invalid state (position) requested";
+
55const char* const g_Msg_NO_CALLBACK_REGISTERED = "No callback registered";
+
56const char* const g_Msg_SERIAL_BUFFER_OVERRUN = "Serial buffer overrun.";
+
57const char* const g_Msg_SERIAL_INVALID_RESPONSE = "Unexpected response from serial port. Is the device connected to the correct serial port?";
+
58const char* const g_Msg_SERIAL_TIMEOUT = "Serial timeout occurred.";
+
59const char* const g_Msg_SELF_REFERENCE = "Self reference error.";
+
60const char* const g_Msg_NO_PROPERTY_DATA = "No property data error.";
+
61const char* const g_Msg_DEVICE_DUPLICATE_LABEL = "Position label already in use";
+
62const char* const g_Msg_INVALID_INPUT_PARAM = "Invalid input parameter.";
+
63const char* const g_Msg_BUFFER_OVERFLOW = "Buffer Overflow.";
+
64const char* const g_Msg_SERIAL_COMMAND_FAILED = "Serial command failed. Is the device connected to the serial port?";
+
65const char* const g_Msg_DEVICE_NONEXISTENT_CHANNEL = "Requested channel is not defined.";
+
66const char* const g_Msg_DEVICE_INVALID_PROPERTY_LIMTS = "Specified property limits are not valid."
+
67" Either the property already has a set of discrete values, or the range is invalid";
+
68const char* const g_Msg_EXCEPTION_IN_THREAD = "Exception in the thread function.";
+
69const char* const g_Msg_EXCEPTION_IN_ON_THREAD_EXITING = "Exception in the OnThreadExiting function.";
+
70const char* const g_Msg_SEQUENCE_ACQUISITION_THREAD_EXITING="Sequence thread exiting";
+
71const char* const g_Msg_DEVICE_CAMERA_BUSY_ACQUIRING="Camera is busy acquiring images. Stop camera activity before changing this property";
+
72const char* const g_Msg_DEVICE_CAN_NOT_SET_PROPERTY="The device can not set this property at this moment";
+
73const char* const g_Msg_DEVICE_NOT_CONNECTED="Unable to communicate with the device.";
+
74const char* const g_Msg_DEVICE_COMM_HUB_MISSING= "Parent module (Hub) is not available or defined for this device!";
+
75const char* const g_Msg_DEVICE_DUPLICATE_LIBRARY="Duplicate Device Library Name";
+
76const char* const g_Msg_DEVICE_PROPERTY_NOT_SEQUENCEABLE="This property is not sequenceable";
+
77const char* const g_Msg_DEVICE_SEQUENCE_TOO_LARGE="Sequence is too large for this device";
+
78const char* const g_Msg_DEVICE_NOT_YET_IMPLEMENTED="This command has not yet been implemented for this device.";
+
79
+
80inline long nint( double value )
+
81{
+
82 return (long)floor( 0.5 + value);
+
83};
+
84
+
91template <class T, class U>
+
+
92class CDeviceBase : public T
+
93{
+
94public:
+
95
+ + +
98
+
102 virtual HDEVMODULE GetModuleHandle() const {return module_;}
+
103
+
+
107 virtual void SetModuleName(const char* name)
+
108 {
+
109 moduleName_ = name;
+
110 }
+
+
111
+
+
115 virtual void GetModuleName(char* name) const
+
116 {
+
117 CDeviceUtils::CopyLimitedString(name, moduleName_.c_str());
+
118 }
+
+
119
+
+
123 virtual void SetDescription(const char* descr)
+
124 {
+
125 description_ = descr;
+
126 }
+
+
127
+
+
131 virtual void GetDescription(char* name) const
+
132 {
+
133 CDeviceUtils::CopyLimitedString(name, description_.c_str());
+
134 }
+
+
135
+
139 virtual void SetModuleHandle(HDEVMODULE hModule) {module_ = hModule;}
+
140
+
+
146 virtual void SetLabel(const char* label)
+
147 {
+
148 label_ = label;
+
149 }
+
+
150
+
+
156 virtual void GetLabel(char* name) const
+
157 {
+
158 CDeviceUtils::CopyLimitedString(name, label_.c_str());
+
159 }
+
+
160
+
166 virtual double GetDelayMs() const {return delayMs_;}
+
167
+
173 virtual void SetDelayMs(double delay) {delayMs_ = delay;}
+
174
+
178 virtual void SetCallback(MM::Core* cbk) {callback_ = cbk;}
+
179
+
184 virtual bool UsesDelay() {return usesDelay_;}
+
185
+
189 virtual unsigned GetNumberOfProperties() const {return (unsigned)properties_.GetSize();}
+
190
+
+
196 virtual int GetProperty(const char* name, char* value) const
+
197 {
+
198 std::string strVal;
+
199 // additional information for reporting invalid properties.
+
200 SetMorePropertyErrorInfo(name);
+
201 int nRet = properties_.Get(name, strVal);
+
202 if (nRet == DEVICE_OK)
+
203 CDeviceUtils::CopyLimitedString(value, strVal.c_str());
+
204 return nRet;
+
205 }
+
+
206
+
+
212 int GetProperty(const char* name, double& val)
+
213 {
+
214 std::string strVal;
+
215 int nRet = properties_.Get(name, strVal);
+
216 if (nRet == DEVICE_OK)
+
217 val = atof(strVal.c_str());
+
218 return nRet;
+
219 }
+
+
220
+
+
226 int GetProperty(const char* name, long& val)
+
227 {
+
228 std::string strVal;
+
229 int nRet = properties_.Get(name, strVal);
+
230 if (nRet == DEVICE_OK)
+
231 val = atol(strVal.c_str());
+
232 return nRet;
+
233 }
+
+
234
+
+
241 bool IsPropertyEqualTo(const char* name, const char* val) const
+
242 {
+
243 std::string strVal;
+
244 int nRet = properties_.Get(name, strVal);
+
245 if (nRet == DEVICE_OK)
+
246 return strcmp(val, strVal.c_str()) == 0;
+
247 else
+
248 return false;
+
249 }
+
+
250
+
+
256 virtual int GetPropertyReadOnly(const char* name, bool& readOnly) const
+
257 {
+
258 MM::Property* pProp = properties_.Find(name);
+
259 if (!pProp)
+
260 {
+
261 // additional information for reporting invalid properties.
+
262 SetMorePropertyErrorInfo(name);
+
263 return DEVICE_INVALID_PROPERTY;
+
264 }
+
265 readOnly = pProp->GetReadOnly();
+
266
+
267 return DEVICE_OK;
+
268 }
+
+
269
+
+
275 virtual int GetPropertyInitStatus(const char* name, bool& preInit) const
+
276 {
+
277 MM::Property* pProp = properties_.Find(name);
+
278 if (!pProp)
+
279 {
+
280 // additional information for reporting invalid properties.
+
281 SetMorePropertyErrorInfo(name);
+
282 return DEVICE_INVALID_PROPERTY;
+
283 }
+
284 preInit = pProp->GetInitStatus();
+
285
+
286 return DEVICE_OK;
+
287 }
+
+
288
+
289 virtual int HasPropertyLimits(const char* name, bool& hasLimits) const
+
290 {
+
291 MM::Property* pProp = properties_.Find(name);
+
292 if (!pProp)
+
293 {
+
294 // additional information for reporting invalid properties.
+
295 SetMorePropertyErrorInfo(name);
+
296 return DEVICE_INVALID_PROPERTY;
+
297 }
+
298 hasLimits = pProp->HasLimits();
+
299 return DEVICE_OK;
+
300 }
+
301
+
+
307 virtual int GetPropertyLowerLimit(const char* name, double& lowLimit) const
+
308 {
+
309 MM::Property* pProp = properties_.Find(name);
+
310 if (!pProp)
+
311 {
+
312 // additional information for reporting invalid properties.
+
313 SetMorePropertyErrorInfo(name);
+
314 return DEVICE_INVALID_PROPERTY;
+
315 }
+
316 lowLimit = pProp->GetLowerLimit();
+
317 return DEVICE_OK;
+
318 }
+
+
319
+
+
325 virtual int GetPropertyUpperLimit(const char* name, double& hiLimit) const
+
326 {
+
327 MM::Property* pProp = properties_.Find(name);
+
328 if (!pProp)
+
329 {
+
330 // additional information for reporting invalid properties.
+
331 SetMorePropertyErrorInfo(name);
+
332 return DEVICE_INVALID_PROPERTY;
+
333 }
+
334 hiLimit = pProp->GetUpperLimit();
+
335 return DEVICE_OK;
+
336 }
+
+
337
+
+
343 virtual int IsPropertySequenceable(const char* name, bool& sequenceable) const
+
344 {
+
345 MM::Property* pProp = properties_.Find(name);
+
346 if (!pProp)
+
347 {
+
348 // additional information for reporting invalid properties.
+
349 SetMorePropertyErrorInfo(name);
+
350 return DEVICE_INVALID_PROPERTY;
+
351 }
+
352 sequenceable = pProp->IsSequenceable();
+
353
+
354 return DEVICE_OK;
+
355 }
+
+
356
+
+
362 virtual int GetPropertySequenceMaxLength(const char* name, long& nrEvents) const
+
363 {
+
364 MM::Property* pProp = properties_.Find(name);
+
365 if (!pProp)
+
366 {
+
367 // additional information for reporting invalid properties.
+
368 SetMorePropertyErrorInfo(name);
+
369 return DEVICE_INVALID_PROPERTY;
+
370 }
+
371 bool sequenceable;
+
372 int ret = IsPropertySequenceable(name, sequenceable);
+
373 if (ret != DEVICE_OK)
+
374 return ret;
+
375 if (!sequenceable) {
+
376 SetMorePropertyErrorInfo(name);
+
377 return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
+
378 }
+
379
+
380 nrEvents = pProp->GetSequenceMaxSize();
+
381
+
382 return DEVICE_OK;
+
383 }
+
+
384
+
+
390 virtual int StartPropertySequence(const char* name)
+
391 {
+
392 MM::Property* pProp = properties_.Find(name);
+
393 if (!pProp)
+
394 {
+
395 // additional information for reporting invalid properties.
+
396 SetMorePropertyErrorInfo(name);
+
397 return DEVICE_INVALID_PROPERTY;
+
398 }
+
399 bool sequenceable;
+
400 int ret = IsPropertySequenceable(name, sequenceable);
+
401 if (ret != DEVICE_OK)
+
402 return ret;
+
403 if (!sequenceable) {
+
404 SetMorePropertyErrorInfo(name);
+
405 return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
+
406 }
+
407
+
408 return pProp->StartSequence();
+
409 }
+
+
410
+
+
416 virtual int StopPropertySequence(const char* name)
+
417 {
+
418 MM::Property* pProp = properties_.Find(name);
+
419 if (!pProp)
+
420 {
+
421 SetMorePropertyErrorInfo(name);
+
422 return DEVICE_INVALID_PROPERTY;
+
423 }
+
424 bool sequenceable;
+
425 int ret = IsPropertySequenceable(name, sequenceable);
+
426 if (ret != DEVICE_OK)
+
427 return ret;
+
428 if (!sequenceable) {
+
429 SetMorePropertyErrorInfo(name);
+
430 return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
+
431 }
+
432
+
433 return pProp->StopSequence();
+
434 }
+
+
435
+
+
440 virtual int ClearPropertySequence(const char* name)
+
441 {
+
442 MM::Property* pProp;
+
443 int ret = GetSequenceableProperty(&pProp, name);
+
444 if (ret != DEVICE_OK)
+
445 return ret;
+
446
+
447 return pProp->ClearSequence();
+
448 }
+
+
449
+
+
454 virtual int AddToPropertySequence(const char* name, const char* value)
+
455 {
+
456 MM::Property* pProp;
+
457 int ret = GetSequenceableProperty(&pProp, name);
+
458 if (ret != DEVICE_OK)
+
459 return ret;
+
460
+
461 return pProp->AddToSequence(value);
+
462 }
+
+
463
+
+
469 virtual int SendPropertySequence(const char* name)
+
470 {
+
471 MM::Property* pProp;
+
472 int ret = GetSequenceableProperty(&pProp, name);
+
473 if (ret != DEVICE_OK)
+
474 return ret;
+
475
+
476 return pProp->SendSequence();
+
477 }
+
+
478
+
+
485 virtual bool GetPropertyName(unsigned uIdx, char* name) const
+
486 {
+
487 std::string strName;
+
488 if (!properties_.GetName(uIdx, strName))
+
489 return false;
+
490
+
491 CDeviceUtils::CopyLimitedString(name, strName.c_str());
+
492 return true;
+
493 }
+
+
494
+
+
498 virtual int GetPropertyType(const char* name, MM::PropertyType& pt) const
+
499 {
+
500 MM::Property* pProp = properties_.Find(name);
+
501 if (!pProp)
+
502 return DEVICE_INVALID_PROPERTY;
+
503
+
504 pt = pProp->GetType();
+
505 return DEVICE_OK;
+
506 }
+
+
507
+
+
513 virtual int SetProperty(const char* name, const char* value)
+
514 {
+
515 int ret = properties_.Set(name, value);
+
516 if( DEVICE_OK != ret)
+
517 {
+
518 // additional information for reporting invalid properties.
+
519 SetMorePropertyErrorInfo(name);
+
520
+
521 }
+
522 return ret;
+
523 }
+
+
524
+
+
528 virtual bool HasProperty(const char* name) const
+
529 {
+
530 MM::Property* pProp = properties_.Find(name);
+
531 if (pProp)
+
532 return true;
+
533 else
+
534 return false;
+
535 }
+
+
536
+
+
542 virtual unsigned GetNumberOfPropertyValues(const char* propertyName) const
+
543 {
+
544 MM::Property* pProp = properties_.Find(propertyName);
+
545 if (!pProp)
+
546 return 0;
+
547
+
548 return (unsigned)pProp->GetAllowedValues().size();
+
549 }
+
+
550
+
+
558 virtual bool GetPropertyValueAt(const char* propertyName, unsigned index, char* value) const
+
559 {
+
560 MM::Property* pProp = properties_.Find(propertyName);
+
561 if (!pProp)
+
562 return false;
+
563
+
564 std::vector<std::string> values = pProp->GetAllowedValues();
+
565 if (values.size() < index)
+
566 return false;
+
567
+
568 CDeviceUtils::CopyLimitedString(value, values[index].c_str());
+
569 return true;
+
570 }
+
+
571
+
+
582 int CreateProperty(const char* name, const char* value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor* pAct=0, bool isPreInitProperty=false)
+
583 {
+
584 return properties_.CreateProperty(name, value, eType, readOnly, pAct, isPreInitProperty);
+
585 }
+
+
586
+
+
597 int CreatePropertyWithHandler(const char* name, const char* value, MM::PropertyType eType, bool readOnly,
+
598 int(U::*memberFunction)(MM::PropertyBase* pProp, MM::ActionType eAct), bool isPreInitProperty=false) {
+
599 CPropertyAction* pAct = new CPropertyAction((U*) this, memberFunction);
+
600 return CreateProperty(name, value, eType, readOnly, pAct, isPreInitProperty);
+
601 }
+
+
602
+
+
606 int CreateIntegerProperty(const char* name, long value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
+
607 {
+
608 // Note: in theory, we can avoid converting to string and back. At this
+
609 // moment, it is not worth the trouble.
+
610 std::ostringstream oss;
+
611 oss << value;
+
612 return CreateProperty(name, oss.str().c_str(), MM::Integer, readOnly, pAct, isPreInitProperty);
+
613 }
+
+
614
+
+
618 int CreateFloatProperty(const char* name, double value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
+
619 {
+
620 // Note: in theory, we can avoid converting to string and back. At this
+
621 // moment, it is not worth the trouble.
+
622 //
+
623 // However, note the following assumption being made here: the default
+
624 // settings of std::ostream will return strings with a decimal precision
+
625 // of 6 digits. When this eventually gets passed to
+
626 // MM::FloatProperty::Set(double), it gets truncated to 4 digits before
+
627 // being stored. Thus, we do not loose any information.
+
628 std::ostringstream oss;
+
629 oss << value;
+
630 return CreateProperty(name, oss.str().c_str(), MM::Float, readOnly, pAct, isPreInitProperty);
+
631 }
+
+
632
+
+
636 int CreateStringProperty(const char* name, const char* value, bool readOnly, MM::ActionFunctor* pAct = 0, bool isPreInitProperty = false)
+
637 {
+
638 return CreateProperty(name, value, MM::String, readOnly, pAct, isPreInitProperty);
+
639 }
+
+
640
+
+
644 int SetPropertyLimits(const char* name, double low, double high)
+
645 {
+
646 MM::Property* pProp = properties_.Find(name);
+
647 if (!pProp)
+
648 {
+
649 SetMorePropertyErrorInfo(name);
+
650 return DEVICE_INVALID_PROPERTY;
+
651 }
+
652 if (pProp->SetLimits(low, high))
+
653 return DEVICE_OK;
+
654 else {
+
655 std::ostringstream os;
+
656 os << "Device adapter requests invalid values ( " << low << ", ";
+
657 os << high << ") for property: " << name;
+
658 LogMessage(os.str().c_str(), false);
+
659 return DEVICE_INVALID_PROPERTY_LIMTS;
+
660 }
+
661 }
+
+
662
+
+
666 int SetAllowedValues(const char* name, std::vector<std::string>& values)
+
667 {
+
668 return properties_.SetAllowedValues(name, values);
+
669 }
+
+
670
+
+
674 int ClearAllowedValues(const char* name)
+
675 {
+
676 return properties_.ClearAllowedValues(name);
+
677 }
+
+
678
+
+
682 int AddAllowedValue(const char* name, const char* value)
+
683 {
+
684 return properties_.AddAllowedValue(name, value);
+
685 }
+
+
686
+
+
690 int AddAllowedValue(const char* name, const char* value, long data)
+
691 {
+
692 return properties_.AddAllowedValue(name, value, data);
+
693 }
+
+
694
+
+
698 int GetPropertyData(const char* name, const char* value, long& data)
+
699 {
+
700 int ret = properties_.GetPropertyData(name, value, data);
+
701 if( DEVICE_OK != ret)
+
702 // additional information for reporting invalid properties.
+
703 SetMorePropertyErrorInfo(name);
+
704
+
705 return ret;
+
706 }
+
+
707
+
+
711 int GetCurrentPropertyData(const char* name, long& data)
+
712 {
+
713 int ret = properties_.GetCurrentPropertyData(name, data);
+
714 if( DEVICE_OK != ret)
+
715 // additional information for reporting invalid properties.
+
716 SetMorePropertyErrorInfo(name);
+
717
+
718 return ret;
+
719 }
+
+
720
+
+ +
726 {
+
727 return properties_.UpdateAll();
+
728 }
+
+
729
+
+
733 int UpdateProperty(const char* name)
+
734 {
+
735 return properties_.Update(name);
+
736 }
+
+
737
+
738
+
+
742 int ApplyProperty(const char* name)
+
743 {
+
744 return properties_.Apply(name);
+
745 }
+
+
746
+
+
750 virtual bool GetErrorText(int errorCode, char* text) const
+
751 {
+
752 std::map<int, std::string>::const_iterator it;
+
753 it = messages_.find(errorCode);
+
754 if (it == messages_.end())
+
755 {
+
756 // generic message
+
757 std::ostringstream osTxt;
+
758 osTxt << "Error code " << errorCode << " (" << std::setbase(16) << errorCode << " hex)";
+
759 CDeviceUtils::CopyLimitedString(text, osTxt.str().c_str());
+
760 return false; // message text not found
+
761 }
+
762 else
+
763 {
+
764 std::ostringstream stringStreamMessage;
+
765 stringStreamMessage << it->second.c_str();
+
766 // add the additional 'property' error info.
+
767 if( 2<=errorCode && errorCode<=5 )
+
768 {
+
769 stringStreamMessage << ": " << GetMorePropertyErrorInfo();
+
770 }
+
771 SetMorePropertyErrorInfo("");
+
772 // native message
+
773 CDeviceUtils::CopyLimitedString(text, stringStreamMessage.str().c_str());
+
774 return true; // message found
+
775 }
+
776 }
+
+
777
+
778 // device discovery (auto-configuration)
+
779 virtual bool SupportsDeviceDetection(void) {
+
780 return false;
+
781 }
+
782 virtual MM::DeviceDetectionStatus DetectDevice(void){
+
783 return MM::Unimplemented;
+
784 };
+
785
+
786 // hub - peripheral relationship
+
787 virtual void SetParentID(const char* parentId)
+
788 {
+
789 parentID_ = parentId;
+
790
+
791 // truncate if necessary
+
792 if (parentID_.size() >= (unsigned) MM::MaxStrLength)
+
793 parentID_ = parentID_.substr(MM::MaxStrLength-1);
+
794
+
795 if (this->HasProperty(MM::g_Keyword_HubID))
+
796 {
+
797 this->SetProperty(MM::g_Keyword_HubID, parentID_.c_str());
+
798 }
+
799 }
+
800
+
801 virtual void GetParentID(char* parentID) const
+
802 {
+
803 CDeviceUtils::CopyLimitedString(parentID, parentID_.c_str());
+
804 }
+
805
+
807 // Protected methods, for internal use by the device adapters
+
809
+
810protected:
+
811
+
812 CDeviceBase() : module_(0), delayMs_(0), usesDelay_(false), callback_(0)
+
813 {
+ +
815 }
+
816 virtual ~CDeviceBase() {}
+
817
+
+
821 void SetErrorText(int errorCode, const char* text)
+
822 {
+
823 messages_[errorCode] = text;
+
824 }
+
+
825
+
826 const char* GetMorePropertyErrorInfo(void) const
+
827 {
+
828 return morePropertyErrorInfo_.c_str();
+
829 }
+
830
+
831 void SetMorePropertyErrorInfo( const char* ptext) const
+
832 {
+
833 morePropertyErrorInfo_ = ptext;
+
834 }
+
835
+
+
841 int LogMessage(const char* msg, bool debugOnly = false) const
+
842 {
+
843 if (callback_)
+
844 return callback_->LogMessage(this, msg, debugOnly);
+
845 return DEVICE_NO_CALLBACK_REGISTERED;
+
846 }
+
+
847
+
+
853 int LogMessage(const std::string& msg, bool debugOnly = false) const
+
854 {
+
855 if (callback_)
+
856 return callback_->LogMessage(this, msg.c_str(), debugOnly);
+
857 return DEVICE_NO_CALLBACK_REGISTERED;
+
858 }
+
+
859
+
+
865 int LogMessageCode(const int errorCode, bool debugOnly = false) const
+
866 {
+
867 if (callback_)
+
868 {
+
869 char text[MM::MaxStrLength];
+
870 GetErrorText(errorCode, text);
+
871 return callback_->LogMessage(this, text, debugOnly);
+
872 }
+
873 return DEVICE_NO_CALLBACK_REGISTERED;
+
874 }
+
+
875
+
876
+
+
885 int LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string& message, bool debugOnly = false) const
+
886 {
+
887 std::ostringstream os;
+
888 MM::MMTime t = end-start;
+
889 os << message << t.toString() << " seconds";
+
890 if (callback_)
+
891 return callback_->LogMessage(this, os.str().c_str(), debugOnly);
+
892 return DEVICE_NO_CALLBACK_REGISTERED;
+
893 }
+
+
894
+
+
902 int LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly = false) const
+
903 {
+
904 return LogTimeDiff(start, end, "Process took: " , debugOnly);
+
905 }
+
+
906
+
+ +
911 {
+
912 // initialize error codes
+
913 SetErrorText(DEVICE_ERR, g_Msg_ERR);
+
914 SetErrorText(DEVICE_INVALID_PROPERTY, g_Msg_INVALID_PROPERTY);
+
915 SetErrorText(DEVICE_INVALID_PROPERTY_VALUE, g_Msg_INVALID_PROPERTY_VALUE);
+
916 SetErrorText(DEVICE_DUPLICATE_PROPERTY, g_Msg_DUPLICATE_PROPERTY);
+
917 SetErrorText(DEVICE_INVALID_PROPERTY_TYPE, g_Msg_INVALID_PROPERTY_TYPE);
+
918 SetErrorText(DEVICE_NATIVE_MODULE_FAILED, g_Msg_NATIVE_MODULE_FAILED);
+
919 SetErrorText(DEVICE_UNSUPPORTED_DATA_FORMAT, g_Msg_UNSUPPORTED_DATA_FORMAT);
+
920 SetErrorText(DEVICE_INTERNAL_INCONSISTENCY, g_Msg_INTERNAL_INCONSISTENCY);
+
921 SetErrorText(DEVICE_NOT_SUPPORTED, g_Msg_NOT_SUPPORTED);
+
922 SetErrorText(DEVICE_UNKNOWN_LABEL, g_Msg_UNKNOWN_LABEL);
+
923 SetErrorText(DEVICE_UNSUPPORTED_COMMAND, g_Msg_UNSUPPORTED_COMMAND);
+
924 SetErrorText(DEVICE_UNKNOWN_POSITION, g_Msg_UNKNOWN_POSITION);
+
925 SetErrorText(DEVICE_NO_CALLBACK_REGISTERED, g_Msg_NO_CALLBACK_REGISTERED);
+
926 SetErrorText(DEVICE_SERIAL_COMMAND_FAILED, g_Msg_SERIAL_COMMAND_FAILED);
+
927 SetErrorText(DEVICE_SERIAL_BUFFER_OVERRUN, g_Msg_SERIAL_BUFFER_OVERRUN);
+
928 SetErrorText(DEVICE_SERIAL_INVALID_RESPONSE, g_Msg_SERIAL_INVALID_RESPONSE);
+
929 SetErrorText(DEVICE_SERIAL_TIMEOUT, g_Msg_SERIAL_TIMEOUT);
+
930 SetErrorText(DEVICE_SELF_REFERENCE, g_Msg_SELF_REFERENCE);
+
931 SetErrorText(DEVICE_NO_PROPERTY_DATA, g_Msg_NO_PROPERTY_DATA);
+
932 SetErrorText(DEVICE_DUPLICATE_LABEL, g_Msg_DEVICE_DUPLICATE_LABEL);
+
933 SetErrorText(DEVICE_INVALID_INPUT_PARAM, g_Msg_INVALID_INPUT_PARAM);
+
934 SetErrorText(DEVICE_BUFFER_OVERFLOW, g_Msg_BUFFER_OVERFLOW);
+
935 SetErrorText(DEVICE_NONEXISTENT_CHANNEL, g_Msg_DEVICE_NONEXISTENT_CHANNEL);
+
936 SetErrorText(DEVICE_INVALID_PROPERTY_LIMTS, g_Msg_DEVICE_INVALID_PROPERTY_LIMTS);
+
937 SetErrorText(DEVICE_CAMERA_BUSY_ACQUIRING, g_Msg_DEVICE_CAMERA_BUSY_ACQUIRING);
+
938 SetErrorText(DEVICE_CAN_NOT_SET_PROPERTY, g_Msg_DEVICE_CAN_NOT_SET_PROPERTY);
+
939 SetErrorText(DEVICE_LOCALLY_DEFINED_ERROR, "t.b.d.");
+
940 SetErrorText(DEVICE_NOT_CONNECTED, g_Msg_DEVICE_NOT_CONNECTED);
+
941 SetErrorText(DEVICE_COMM_HUB_MISSING, g_Msg_DEVICE_COMM_HUB_MISSING);
+
942 SetErrorText(DEVICE_DUPLICATE_LIBRARY, g_Msg_DEVICE_DUPLICATE_LIBRARY);
+
943 SetErrorText(DEVICE_PROPERTY_NOT_SEQUENCEABLE, g_Msg_DEVICE_PROPERTY_NOT_SEQUENCEABLE);
+
944 SetErrorText(DEVICE_SEQUENCE_TOO_LARGE, g_Msg_DEVICE_SEQUENCE_TOO_LARGE);
+
945 SetErrorText(DEVICE_NOT_YET_IMPLEMENTED, g_Msg_DEVICE_NOT_YET_IMPLEMENTED);
+
946 }
+
+
947
+
+
953 MM::Device* GetDevice(const char* deviceLabel) const
+
954 {
+
955 if (callback_)
+
956 return callback_->GetDevice(this, deviceLabel);
+
957 return 0;
+
958 }
+
+
959
+
969 // Microsoft compiler has trouble generating code to transport stl objects across DLL boundary
+
970 // so we use char*. Other compilers could conceivably have similar trouble, if for example,
+
971 // a dynamic library is linked with a different CRT than its client.
+
+
972 void GetLoadedDeviceOfType(MM::DeviceType devType, char* deviceName, const unsigned int deviceIterator )
+
973 {
+
974 deviceName[0] = 0;
+
975 if (callback_)
+
976 {
+
977 callback_->GetLoadedDeviceOfType( this, devType, deviceName, deviceIterator);
+
978 }
+
979 }
+
+
980
+
981
+
+
985 int WriteToComPort(const char* portLabel, const unsigned char* buf, unsigned bufLength)
+
986 {
+
987 if (callback_)
+
988 return callback_->WriteToSerial(this, portLabel, buf, bufLength);
+
989
+
990 return DEVICE_NO_CALLBACK_REGISTERED;
+
991 }
+
+
992
+
+
999 int SendSerialCommand(const char* portName, const char* command, const char* term)
+
1000 {
+
1001 if (callback_)
+
1002 return callback_->SetSerialCommand(this, portName, command, term);
+
1003
+
1004 return DEVICE_NO_CALLBACK_REGISTERED;
+
1005 }
+
+
1006
+
+
1014 int GetSerialAnswer (const char* portName, const char* term, std::string& ans)
+
1015 {
+
1016 const unsigned long MAX_BUFLEN = 2000;
+
1017 char buf[MAX_BUFLEN];
+
1018 if (callback_)
+
1019 {
+
1020 int ret = callback_->GetSerialAnswer(this, portName, MAX_BUFLEN, buf, term);
+
1021 if (ret != DEVICE_OK)
+
1022 return ret;
+
1023 ans = buf;
+
1024 return DEVICE_OK;
+
1025 }
+
1026
+
1027 return DEVICE_NO_CALLBACK_REGISTERED;
+
1028 }
+
+
1029
+
+
1033 int ReadFromComPort(const char* portLabel, unsigned char* buf, unsigned bufLength, unsigned long& read)
+
1034 {
+
1035 if (callback_)
+
1036 return callback_->ReadFromSerial(this, portLabel, buf, bufLength, read);
+
1037 return DEVICE_NO_CALLBACK_REGISTERED;
+
1038 }
+
+
1039
+
+
1043 int PurgeComPort(const char* portLabel)
+
1044 {
+
1045 if (callback_)
+
1046 return callback_->PurgeSerial(this, portLabel);
+
1047 return DEVICE_NO_CALLBACK_REGISTERED;
+
1048 }
+
+
1049
+
+
1053 MM::PortType GetSerialPortType(const char* portLabel)
+
1054 {
+
1055 if (callback_)
+
1056 return callback_->GetSerialPortType(portLabel);
+
1057 return MM::InvalidPort;
+
1058 }
+
+
1059
+
+ +
1068 {
+
1069 if (callback_)
+
1070 return callback_->OnPropertiesChanged(this);
+
1071 return DEVICE_NO_CALLBACK_REGISTERED;
+
1072 }
+
+
1073
+
+
1077 int OnPropertyChanged(const char* propName, const char* propValue)
+
1078 {
+
1079 if (callback_)
+
1080 return callback_->OnPropertyChanged(this, propName, propValue);
+
1081 return DEVICE_NO_CALLBACK_REGISTERED;
+
1082 }
+
+
1083
+
1084 /*
+
1085 * Signals that the stage has arrived at a new position
+
1086 */
+
1087 int OnStagePositionChanged(double pos)
+
1088 {
+
1089 if (callback_)
+
1090 return callback_->OnStagePositionChanged(this, pos);
+
1091 return DEVICE_NO_CALLBACK_REGISTERED;
+
1092 }
+
1093
+
1094 /*
+
1095 */
+
1096 int OnXYStagePositionChanged(double xPos, double yPos)
+
1097 {
+
1098 if (callback_)
+
1099 return callback_->OnXYStagePositionChanged(this, xPos, yPos);
+
1100 return DEVICE_NO_CALLBACK_REGISTERED;
+
1101 }
+
1102
+
1103 /*
+
1104 */
+
1105 int OnExposureChanged(double exposure)
+
1106 {
+
1107 if (callback_)
+
1108 return callback_->OnExposureChanged(this, exposure);
+
1109 return DEVICE_NO_CALLBACK_REGISTERED;
+
1110 }
+
1111
+
1112 /*
+
1113 */
+
1114 int OnSLMExposureChanged(double exposure)
+
1115 {
+
1116 if (callback_)
+
1117 return callback_->OnSLMExposureChanged(this, exposure);
+
1118 return DEVICE_NO_CALLBACK_REGISTERED;
+
1119 }
+
1120
+
1123 int OnMagnifierChanged()
+
1124 {
+
1125 if (callback_)
+
1126 return callback_->OnMagnifierChanged(this);
+
1127 return DEVICE_NO_CALLBACK_REGISTERED;
+
1128 }
+
1129
+
+
1134 unsigned long GetClockTicksUs()
+
1135 {
+
1136 if (callback_)
+
1137 return callback_->GetClockTicksUs(this);
+
1138
+
1139 return 0;
+
1140 }
+
+
1141
+
+ +
1146 {
+
1147 if (callback_)
+
1148 return callback_->GetCurrentMMTime();
+
1149
+
1150 return MM::MMTime(0.0);
+
1151 }
+
+
1152
+
+ +
1157 {
+
1158 return callback_ == 0 ? false : true;
+
1159 }
+
+
1160
+
+ +
1165 {
+
1166 return callback_;
+
1167 }
+
+
1168
+
+
1172 void EnableDelay(bool state = true)
+
1173 {
+
1174 usesDelay_ = state;
+
1175 }
+
+
1176
+
+ +
1184 {
+
1185 char pid[MM::MaxStrLength];
+
1186 this->GetParentID(pid);
+
1187 this->CreateProperty(MM::g_Keyword_HubID, pid, MM::String, true);
+
1188 }
+
+
1189
+
+ +
1197 {
+ +
1199 return GetCoreCallback()->GetParentHub(this);
+
1200
+
1201 return 0;
+
1202 }
+
+
1203
+
1208 template<class T_HUB>
+
+
1209 T_HUB* AssignToHub() {
+
1210 T_HUB* hub = static_cast<T_HUB*>(GetParentHub());
+
1211 if (hub == NULL) {
+
1212 LogMessage("Parent hub not defined.");
+
1213 } else {
+
1214 char hubLabel[MM::MaxStrLength];
+
1215 hub->GetLabel(hubLabel);
+
1216 SetParentID(hubLabel); // for backward comp.
+
1217 }
+
1218 return hub;
+
1219 }
+
+
1220
+
1221private:
+
1222 bool PropertyDefined(const char* propName) const
+
1223 {
+
1224 return properties_.Find(propName) != 0;
+
1225 }
+
1226
+
1234 int GetSequenceableProperty(MM::Property** pProp, const char* name) const
+
1235 {
+
1236 *pProp = properties_.Find(name);
+
1237 if (!*pProp)
+
1238 {
+
1239 SetMorePropertyErrorInfo(name);
+
1240 return DEVICE_INVALID_PROPERTY;
+
1241 }
+
1242
+
1243 bool sequenceable = (*pProp)->IsSequenceable();
+
1244 if (!sequenceable) {
+
1245 SetMorePropertyErrorInfo(name);
+
1246 return DEVICE_PROPERTY_NOT_SEQUENCEABLE;
+
1247 }
+
1248 return DEVICE_OK;
+
1249 }
+
1250
+
1251
+
1252 MM::PropertyCollection properties_;
+
1253 HDEVMODULE module_;
+
1254 std::string label_;
+
1255 std::string moduleName_;
+
1256 std::string description_;
+
1257 std::map<int, std::string> messages_;
+
1258 double delayMs_;
+
1259 bool usesDelay_;
+
1260 MM::Core* callback_;
+
1261 // specific information about the errant property, etc.
+
1262 mutable std::string morePropertyErrorInfo_;
+
1263 std::string parentID_;
+
1264};
+
+
1265
+
1266// Forbid instantiation of CDeviceBase<MM::Device, U>
+
1267// (It was abused in the past.)
+
1268template <class U>
+
+
1269class CDeviceBase<MM::Device, U>
+
1270{
+
1271 CDeviceBase(); // private; construction disallowed
+
1272};
+
+
1273
+
1277template <class U>
+
+
1278class CGenericBase : public CDeviceBase<MM::Generic, U>
+
1279{
+
1280};
+
+
1281
+
1287template <class U>
+
+
1288class CCameraBase : public CDeviceBase<MM::Camera, U>
+
1289{
+
1290public:
+ + + + + + +
1297 virtual const unsigned char* GetImageBuffer() = 0;
+
1298 virtual unsigned GetImageWidth() const = 0;
+
1299 virtual unsigned GetImageHeight() const = 0;
+
1300 virtual unsigned GetImageBytesPerPixel() const = 0;
+
1301 virtual int SnapImage() = 0;
+
1302
+
1303 CCameraBase() : busy_(false), stopWhenCBOverflows_(false), thd_(0)
+
1304 {
+
1305 // create and initialize common transpose properties
+
1306 std::vector<std::string> allowedValues;
+
1307 allowedValues.push_back("0");
+
1308 allowedValues.push_back("1");
+
1309 CreateProperty(MM::g_Keyword_Transpose_SwapXY, "0", MM::Integer, false);
+
1310 SetAllowedValues(MM::g_Keyword_Transpose_SwapXY, allowedValues);
+
1311 CreateProperty(MM::g_Keyword_Transpose_MirrorX, "0", MM::Integer, false);
+
1312 SetAllowedValues(MM::g_Keyword_Transpose_MirrorX, allowedValues);
+
1313 CreateProperty(MM::g_Keyword_Transpose_MirrorY, "0", MM::Integer, false);
+
1314 SetAllowedValues(MM::g_Keyword_Transpose_MirrorY, allowedValues);
+
1315 CreateProperty(MM::g_Keyword_Transpose_Correction, "0", MM::Integer, false);
+
1316 SetAllowedValues(MM::g_Keyword_Transpose_Correction, allowedValues);
+
1317
+
1318 thd_ = new BaseSequenceThread(this);
+
1319 }
+
1320
+
1321 virtual ~CCameraBase()
+
1322 {
+
1323 if (!thd_->IsStopped()) {
+
1324 thd_->Stop();
+
1325 thd_->wait();
+
1326 }
+
1327 delete thd_;
+
1328 }
+
1329
+
1330 virtual bool Busy() {return busy_;}
+
1331
+
+
1336 virtual int StartSequenceAcquisition(double interval)
+
1337 {
+
1338 return StartSequenceAcquisition(LONG_MAX, interval, false);
+
1339 }
+
+
1340
+
+ +
1345 {
+
1346 if (!thd_->IsStopped()) {
+
1347 thd_->Stop();
+
1348 thd_->wait();
+
1349 }
+
1350
+
1351 return DEVICE_OK;
+
1352 }
+
+
1353
+
1357 virtual double GetPixelSizeUm() const {return GetBinning();}
+
1358
+
+
1359 virtual unsigned GetNumberOfComponents() const
+
1360 {
+
1361 return 1;
+
1362 }
+
+
1363
+
+
1364 virtual int GetComponentName(unsigned channel, char* name)
+
1365 {
+
1366 if (channel > 0)
+
1367 return DEVICE_NONEXISTENT_CHANNEL;
+
1368
+
1369 CDeviceUtils::CopyLimitedString(name, "Grayscale");
+
1370 return DEVICE_OK;
+
1371 }
+
+
1372
+
+
1377 virtual unsigned GetNumberOfChannels() const
+
1378 {
+
1379 return 1;
+
1380 }
+
+
1381
+
+
1386 virtual int GetChannelName(unsigned /* channel */, char* name)
+
1387 {
+ +
1389 return DEVICE_OK;
+
1390 }
+
+
1391
+
+
1396 virtual const unsigned char* GetImageBuffer(unsigned /* channelNr */)
+
1397 {
+
1398 if (GetNumberOfChannels() == 1)
+
1399 return GetImageBuffer();
+
1400 return 0;
+
1401 }
+
+
1402
+
+
1403 virtual const unsigned int* GetImageBufferAsRGB32()
+
1404 {
+
1405 return 0;
+
1406 }
+
+
1407
+
1408 /*
+
1409 * Fills serializedMetadata with the device's metadata tags.
+
1410 */
+
+
1411 virtual void GetTags(char* serializedMetadata)
+
1412 {
+
1413 std::string data = metadata_.Serialize();
+
1414 data.copy(serializedMetadata, data.size(), 0);
+
1415 }
+
+
1416
+
1417 // temporary debug methods
+
1418 virtual int PrepareSequenceAcqusition() {return DEVICE_OK;}
+
1419
+
+
1423 virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)
+
1424 {
+
1425 if (IsCapturing())
+
1426 return DEVICE_CAMERA_BUSY_ACQUIRING;
+
1427
+
1428 int ret = GetCoreCallback()->PrepareForAcq(this);
+
1429 if (ret != DEVICE_OK)
+
1430 return ret;
+
1431 thd_->Start(numImages,interval_ms);
+
1432 stopWhenCBOverflows_ = stopOnOverflow;
+
1433 return DEVICE_OK;
+
1434 }
+
+
1435
+
1436 virtual int GetExposureSequenceMaxLength(long& /*nrEvents*/) const
+
1437 {
+
1438 return DEVICE_UNSUPPORTED_COMMAND;
+
1439 }
+
1440
+
1441 virtual int StartExposureSequence()
+
1442 {
+
1443 return DEVICE_UNSUPPORTED_COMMAND;
+
1444 }
+
1445
+
1446 virtual int StopExposureSequence()
+
1447 {
+
1448 return DEVICE_UNSUPPORTED_COMMAND;
+
1449 }
+
1450
+
1451 virtual int ClearExposureSequence()
+
1452 {
+
1453 return DEVICE_UNSUPPORTED_COMMAND;
+
1454 }
+
1455
+
1456 virtual int AddToExposureSequence(double /*exposureTime_ms*/)
+
1457 {
+
1458 return DEVICE_UNSUPPORTED_COMMAND;
+
1459 }
+
1460
+
1461 virtual int SendExposureSequence() const
+
1462 {
+
1463 return DEVICE_UNSUPPORTED_COMMAND;
+
1464 }
+
1465
+
1466 virtual bool IsCapturing(){return !thd_->IsStopped();}
+
1467
+
+
1468 virtual void AddTag(const char* key, const char* deviceLabel, const char* value)
+
1469 {
+
1470 metadata_.PutTag(key, deviceLabel, value);
+
1471 }
+
+
1472
+
1473
+
+
1474 virtual void RemoveTag(const char* key)
+
1475 {
+
1476 metadata_.RemoveTag(key);
+
1477 }
+
+
1478
+
1479 virtual bool SupportsMultiROI()
+
1480 {
+
1481 return false;
+
1482 }
+
1483
+
1484 virtual bool IsMultiROISet()
+
1485 {
+
1486 return false;
+
1487 }
+
1488
+
1489 virtual int GetMultiROICount(unsigned& /* count */)
+
1490 {
+
1491 return DEVICE_UNSUPPORTED_COMMAND;
+
1492 }
+
1493
+
1494 virtual int SetMultiROI(const unsigned* /* xs */, const unsigned* /* ys */,
+
1495 const unsigned* /* widths */, const unsigned* /* heights */,
+
1496 unsigned /* numROIs */)
+
1497 {
+
1498 return DEVICE_UNSUPPORTED_COMMAND;
+
1499 }
+
1500
+
1501 virtual int GetMultiROI(unsigned* /* xs */, unsigned* /* ys */,
+
1502 unsigned* /* widths */, unsigned* /* heights */, unsigned* /* length */)
+
1503 {
+
1504 return DEVICE_UNSUPPORTED_COMMAND;
+
1505 }
+
1506
+
1507protected:
+
1509 // utility methods for use by derived classes
+
1510 // //////////////////////////////////////////
+
1511
+
1512 virtual std::vector<std::string> GetTagKeys()
+
1513 {
+
1514 return metadata_.GetKeys();
+
1515 }
+
1516
+
1517 virtual std::string GetTagValue(const char* key)
+
1518 {
+
1519 return metadata_.GetSingleTag(key).GetValue();
+
1520 }
+
1521
+
1522 // Do actual capturing
+
1523 // Called from inside the thread
+
1524 virtual int ThreadRun (void)
+
1525 {
+
1526 int ret=DEVICE_ERR;
+
1527 ret = SnapImage();
+
1528 if (ret != DEVICE_OK)
+
1529 {
+
1530 return ret;
+
1531 }
+
1532 ret = InsertImage();
+
1533 if (ret != DEVICE_OK)
+
1534 {
+
1535 return ret;
+
1536 }
+
1537 return ret;
+
1538 };
+
1539
+
1540 virtual int InsertImage()
+
1541 {
+
1542 char label[MM::MaxStrLength];
+
1543 this->GetLabel(label);
+
1544 Metadata md;
+
1545 md.put(MM::g_Keyword_Metadata_CameraLabel, label);
+
1546 int ret = GetCoreCallback()->InsertImage(this, GetImageBuffer(), GetImageWidth(),
+ +
1548 md.Serialize().c_str());
+
1549 if (!stopWhenCBOverflows_ && ret == DEVICE_BUFFER_OVERFLOW)
+
1550 {
+
1551 // do not stop on overflow - just reset the buffer
+
1552 GetCoreCallback()->ClearImageBuffer(this);
+
1553 return GetCoreCallback()->InsertImage(this, GetImageBuffer(), GetImageWidth(),
+ +
1555 md.Serialize().c_str());
+
1556 } else
+
1557 return ret;
+
1558 }
+
1559
+
1560 virtual double GetIntervalMs() {return thd_->GetIntervalMs();}
+
1561 virtual long GetImageCounter() {return thd_->GetImageCounter();}
+
1562 virtual long GetNumberOfImages() {return thd_->GetNumberOfImages();}
+
1563
+
1564 // called from the thread function before exit
+
1565 virtual void OnThreadExiting()
+
1566 {
+
1567 try
+
1568 {
+
1569 LogMessage(g_Msg_SEQUENCE_ACQUISITION_THREAD_EXITING);
+
1570 GetCoreCallback()?GetCoreCallback()->AcqFinished(this,0):DEVICE_OK;
+
1571 }
+
1572 catch(...)
+
1573 {
+
1574 LogMessage(g_Msg_EXCEPTION_IN_ON_THREAD_EXITING, false);
+
1575 }
+
1576 }
+
1577
+
1578 virtual bool isStopOnOverflow() {return stopWhenCBOverflows_;}
+
1579 virtual void setStopOnOverflow(bool stop) {stopWhenCBOverflows_ = stop;}
+
1580
+
1582 // Helper Class
+
+ +
1584 {
+
1585 bool restart_;
+
1586 CCameraBase* pCam_;
+
1587
+
1588 public:
+ +
1590 :pCam_(pCam)
+
1591 {
+
1592 restart_=pCam_->IsCapturing();
+
1593 }
+
1594 operator bool()
+
1595 {
+
1596 return restart_;
+
1597 }
+
1598 };
+
+
1600
+
1601 // Nested class for live streaming
+
+ +
1604 {
+
1605 friend class CCameraBase;
+
1606 enum { default_numImages=1, default_intervalMS = 100 };
+
1607 public:
+ +
1609 :intervalMs_(default_intervalMS)
+
1610 ,numImages_(default_numImages)
+
1611 ,imageCounter_(0)
+
1612 ,stop_(true)
+
1613 ,suspend_(false)
+
1614 ,camera_(pCam)
+
1615 ,startTime_(0)
+
1616 ,actualDuration_(0)
+
1617 ,lastFrameTime_(0)
+
1618 {};
+
1619
+ +
1621
+
1622 void Stop() {
+
1623 MMThreadGuard g(this->stopLock_);
+
1624 stop_=true;
+
1625 }
+
1626
+
1627 void Start(long numImages, double intervalMs)
+
1628 {
+
1629 MMThreadGuard g1(this->stopLock_);
+
1630 MMThreadGuard g2(this->suspendLock_);
+
1631 numImages_=numImages;
+
1632 intervalMs_=intervalMs;
+
1633 imageCounter_=0;
+
1634 stop_ = false;
+
1635 suspend_=false;
+
1636 activate();
+
1637 actualDuration_ = MM::MMTime{};
+
1638 startTime_= camera_->GetCurrentMMTime();
+
1639 lastFrameTime_ = MM::MMTime{};
+
1640 }
+
1641 bool IsStopped(){
+
1642 MMThreadGuard g(this->stopLock_);
+
1643 return stop_;
+
1644 }
+
1645 void Suspend() {
+
1646 MMThreadGuard g(this->suspendLock_);
+
1647 suspend_ = true;
+
1648 }
+
1649 bool IsSuspended() {
+
1650 MMThreadGuard g(this->suspendLock_);
+
1651 return suspend_;
+
1652 }
+
1653 void Resume() {
+
1654 MMThreadGuard g(this->suspendLock_);
+
1655 suspend_ = false;
+
1656 }
+
1657 double GetIntervalMs(){return intervalMs_;}
+
1658 void SetLength(long images) {numImages_ = images;}
+
1659 //long GetLength() const {return numImages_;}
+
1660
+
1661 long GetImageCounter(){return imageCounter_;}
+
1662 MM::MMTime GetStartTime(){return startTime_;}
+
1663 MM::MMTime GetActualDuration(){return actualDuration_;}
+
1664
+
1665 CCameraBase* GetCamera() {return camera_;}
+
1666 long GetNumberOfImages() {return numImages_;}
+
1667
+
1668 void UpdateActualDuration() {actualDuration_ = camera_->GetCurrentMMTime() - startTime_;}
+
1669
+
1670 private:
+
1671 virtual int svc()
+
1672 {
+
1673 int ret=DEVICE_ERR;
+
1674 try
+
1675 {
+
1676 do
+
1677 {
+
1678 ret=camera_->ThreadRun();
+
1679 } while (DEVICE_OK == ret && !IsStopped() && imageCounter_++ < numImages_-1);
+
1680 if (IsStopped())
+
1681 camera_->LogMessage("SeqAcquisition interrupted by the user\n");
+
1682
+
1683 }catch(...){
+
1684 camera_->LogMessage(g_Msg_EXCEPTION_IN_THREAD, false);
+
1685 }
+
1686 stop_=true;
+
1687 UpdateActualDuration();
+
1688 camera_->OnThreadExiting();
+
1689 return ret;
+
1690 }
+
1691 private:
+
1692 double intervalMs_;
+
1693 long numImages_;
+
1694 long imageCounter_;
+
1695 bool stop_;
+
1696 bool suspend_;
+
1697 CCameraBase* camera_;
+
1698 MM::MMTime startTime_;
+
1699 MM::MMTime actualDuration_;
+
1700 MM::MMTime lastFrameTime_;
+
1701 MMThreadLock stopLock_;
+
1702 MMThreadLock suspendLock_;
+
1703 };
+
+
1705
+
1706
+
1707private:
+
1708
+
1709 bool busy_;
+
1710 bool stopWhenCBOverflows_;
+
1711 Metadata metadata_;
+
1712
+
1713 BaseSequenceThread * thd_;
+
1714 friend class BaseSequenceThread;
+
1715};
+
+
1716
+
1717
+
1721template <class U>
+
+
1722class CStageBase : public CDeviceBase<MM::Stage, U>
+
1723{
+
1724 virtual int GetPositionUm(double& pos) = 0;
+
1725 virtual int SetPositionUm(double pos) = 0;
+
1726
+
1730 virtual int SetRelativePositionUm(double d)
+
1731 {
+
1732 double pos;
+
1733 int ret = GetPositionUm(pos);
+
1734 if (ret != DEVICE_OK)
+
1735 return ret;
+
1736 return SetPositionUm(pos + d);
+
1737 }
+
1738
+
1739 virtual int SetAdapterOriginUm(double /*d*/)
+
1740 {
+
1741 return DEVICE_UNSUPPORTED_COMMAND;
+
1742 }
+
1743
+
1744 virtual int Move(double /*velocity*/)
+
1745 {
+
1746 return DEVICE_UNSUPPORTED_COMMAND;
+
1747 }
+
1748
+
1749 virtual int Stop()
+
1750 {
+
1751 // Historically, Move() has been in this interface longer than Stop(), so
+
1752 // there is a chance that a stage implements Move() but not Stop(). In
+
1753 // which case zero velocity is the best thing to do.
+
1754 return Move(0.0);
+
1755 }
+
1756
+
1757 virtual int Home()
+
1758 {
+
1759 return DEVICE_UNSUPPORTED_COMMAND;
+
1760 }
+
1761
+
1762 virtual int GetFocusDirection(MM::FocusDirection& direction)
+
1763 {
+
1764 // FocusDirectionUnknown is a safe default for all stages. Override this
+
1765 // only if direction is known for sure (i.e. does not depend on how the
+
1766 // hardware is installed).
+
1767 direction = MM::FocusDirectionUnknown;
+
1768 return DEVICE_OK;
+
1769 }
+
1770
+
1771 virtual int IsStageLinearSequenceable(bool& isSequenceable) const
+
1772 {
+
1773 isSequenceable = false;
+
1774 return DEVICE_OK;
+
1775 }
+
1776
+
1777 virtual int GetStageSequenceMaxLength(long& /*nrEvents*/) const
+
1778 {
+
1779 return DEVICE_UNSUPPORTED_COMMAND;
+
1780 }
+
1781
+
1782 virtual int StartStageSequence()
+
1783 {
+
1784 return DEVICE_UNSUPPORTED_COMMAND;
+
1785 }
+
1786
+
1787 virtual int StopStageSequence()
+
1788 {
+
1789 return DEVICE_UNSUPPORTED_COMMAND;
+
1790 }
+
1791
+
1792 virtual int ClearStageSequence()
+
1793 {
+
1794 return DEVICE_UNSUPPORTED_COMMAND;
+
1795 }
+
1796
+
1797 virtual int AddToStageSequence(double /*position*/)
+
1798 {
+
1799 return DEVICE_UNSUPPORTED_COMMAND;
+
1800 }
+
1801
+
1802 virtual int SendStageSequence()
+
1803 {
+
1804 return DEVICE_UNSUPPORTED_COMMAND;
+
1805 }
+
1806
+
1807 virtual int SetStageLinearSequence(double, long)
+
1808 {
+
1809 return DEVICE_UNSUPPORTED_COMMAND;
+
1810 }
+
1811};
+
+
1812
+
1818template <class U>
+
+
1819class CXYStageBase : public CDeviceBase<MM::XYStage, U>
+
1820{
+
1821public:
+
1822 CXYStageBase() : originXSteps_(0), originYSteps_(0), xPos_(0), yPos_(0)
+
1823 {
+
1824 // set-up directionality properties
+
1825 this->CreateProperty(MM::g_Keyword_Transpose_MirrorX, "0", MM::Integer, false);
+
1826 this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorX, "0");
+
1827 this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorX, "1");
+
1828
+
1829 this->CreateProperty(MM::g_Keyword_Transpose_MirrorY, "0", MM::Integer, false);
+
1830 this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorY, "0");
+
1831 this->AddAllowedValue(MM::g_Keyword_Transpose_MirrorY, "1");
+
1832 }
+
1833
+
1834
+
1835 virtual int SetPositionUm(double x, double y)
+
1836 {
+
1837 bool mirrorX, mirrorY;
+
1838 GetOrientation(mirrorX, mirrorY);
+
1839 double xPos = x;
+
1840 double yPos = y;
+
1841
+
1842 long xSteps = 0;
+
1843 long ySteps = 0;
+
1844
+
1845 if (mirrorX)
+
1846 xSteps = originXSteps_ - nint (x / this->GetStepSizeXUm());
+
1847 else
+
1848 xSteps = originXSteps_ + nint (x / this->GetStepSizeXUm());
+
1849 if (mirrorY)
+
1850 ySteps = originYSteps_ - nint (y / this->GetStepSizeYUm());
+
1851 else
+
1852 ySteps = originYSteps_ + nint (y / this->GetStepSizeYUm());
+
1853
+
1854 int ret = this->SetPositionSteps(xSteps, ySteps);
+
1855 if (ret == DEVICE_OK) {
+
1856 xPos_ = xPos;
+
1857 yPos_ = yPos;
+
1858 this->OnXYStagePositionChanged(xPos_, yPos_);
+
1859 }
+
1860 return ret;
+
1861 }
+
1862
+
+
1866 virtual int SetRelativePositionUm(double dx, double dy)
+
1867 {
+
1868 bool mirrorX, mirrorY;
+
1869 GetOrientation(mirrorX, mirrorY);
+
1870 double xPos = xPos_ + dx;
+
1871 double yPos = yPos_ + dy;
+
1872
+
1873 if (mirrorX)
+
1874 dx = -dx;
+
1875 if (mirrorY)
+
1876 dy = -dy;
+
1877
+
1878 int ret = SetRelativePositionSteps(nint(dx / this->GetStepSizeXUm()), nint(dy / this->GetStepSizeYUm()));
+
1879 if (ret == DEVICE_OK) {
+
1880 xPos_ = xPos;
+
1881 yPos_ = yPos;
+
1882 this->OnXYStagePositionChanged(xPos_, yPos_);
+
1883 }
+
1884 return ret;
+
1885 }
+
+
1886
+
+
1894 virtual int SetAdapterOriginUm(double newXUm, double newYUm)
+
1895 {
+
1896 bool mirrorX, mirrorY;
+
1897 GetOrientation(mirrorX, mirrorY);
+
1898
+
1899 long xStep, yStep;
+
1900 int ret = this->GetPositionSteps(xStep, yStep);
+
1901 if (ret != DEVICE_OK)
+
1902 return ret;
+
1903
+
1904 if (mirrorX)
+
1905 originXSteps_ = xStep + nint(newXUm / this->GetStepSizeXUm());
+
1906 else
+
1907 originXSteps_ = xStep - nint(newXUm / this->GetStepSizeXUm());
+
1908 if (mirrorY)
+
1909 originYSteps_ = yStep + nint(newYUm / this->GetStepSizeYUm());
+
1910 else
+
1911 originYSteps_ = yStep - nint(newYUm / this->GetStepSizeYUm());
+
1912
+
1913 return DEVICE_OK;
+
1914 }
+
+
1915
+
1916 virtual int GetPositionUm(double& x, double& y)
+
1917 {
+
1918 bool mirrorX, mirrorY;
+
1919 GetOrientation(mirrorX, mirrorY);
+
1920
+
1921 long xSteps, ySteps;
+
1922 int ret = this->GetPositionSteps(xSteps, ySteps);
+
1923 if (ret != DEVICE_OK)
+
1924 return ret;
+
1925
+
1926 if (mirrorX)
+
1927 x = (originXSteps_ - xSteps) * this->GetStepSizeXUm();
+
1928 else
+
1929 x = - ((originXSteps_ - xSteps) * this->GetStepSizeXUm());
+
1930
+
1931 if (mirrorY)
+
1932 y = (originYSteps_ - ySteps) * this->GetStepSizeYUm();
+
1933 else
+
1934 y = - ((originYSteps_ - ySteps) * this->GetStepSizeYUm());
+
1935
+
1936 xPos_ = x;
+
1937 yPos_ = y;
+
1938
+
1939 return DEVICE_OK;
+
1940 }
+
1941
+
+
1947 virtual int SetRelativePositionSteps(long x, long y)
+
1948 {
+
1949 long xSteps, ySteps;
+
1950 int ret = this->GetPositionSteps(xSteps, ySteps);
+
1951 if (ret != DEVICE_OK)
+
1952 return ret;
+
1953
+
1954 return this->SetPositionSteps(xSteps+x, ySteps+y);
+
1955 }
+
+
1956
+
1957 virtual int Move(double /*vx*/, double /*vy*/)
+
1958 {
+
1959 return DEVICE_UNSUPPORTED_COMMAND;
+
1960 }
+
1961
+
+
1962 virtual int SetXOrigin()
+
1963 {
+
1964 return DEVICE_UNSUPPORTED_COMMAND;
+
1965 }
+
+
1966
+
+
1967 virtual int SetYOrigin()
+
1968 {
+
1969 return DEVICE_UNSUPPORTED_COMMAND;
+
1970 }
+
+
1971
+
1972 virtual int GetXYStageSequenceMaxLength(long& /*nrEvents*/) const
+
1973 {
+
1974 return DEVICE_UNSUPPORTED_COMMAND;
+
1975 }
+
1976
+
1977 virtual int StartXYStageSequence()
+
1978 {
+
1979 return DEVICE_UNSUPPORTED_COMMAND;
+
1980 }
+
1981
+
1982 virtual int StopXYStageSequence()
+
1983 {
+
1984 return DEVICE_UNSUPPORTED_COMMAND;
+
1985 }
+
1986
+
+ +
1988 {
+
1989 return DEVICE_UNSUPPORTED_COMMAND;
+
1990 }
+
+
1991
+
+
1992 virtual int AddToXYStageSequence(double /*positionX*/, double /*positionY*/)
+
1993 {
+
1994 return DEVICE_UNSUPPORTED_COMMAND;
+
1995 }
+
+
1996
+
+ +
1998 {
+
1999 return DEVICE_UNSUPPORTED_COMMAND;
+
2000 }
+
+
2001
+
2002protected:
+
2003
+
2011 double GetCachedXUm() {return xPos_;}
+
2012 double GetCachedYUm() {return yPos_;}
+
2013
+
2014private:
+
2015
+
2016 void GetOrientation(bool& mirrorX, bool& mirrorY)
+
2017 {
+
2018 char val[MM::MaxStrLength];
+
2019 int ret = this->GetProperty(MM::g_Keyword_Transpose_MirrorX, val);
+
2020 assert(ret == DEVICE_OK);
+
2021 mirrorX = strcmp(val, "1") == 0 ? true : false;
+
2022
+
2023 ret = this->GetProperty(MM::g_Keyword_Transpose_MirrorY, val);
+
2024 assert(ret == DEVICE_OK);
+
2025 mirrorY = strcmp(val, "1") == 0 ? true : false;
+
2026 }
+
2027
+
2028
+
2029 // absolute coordinate translation data
+
2030 long originXSteps_;
+
2031 long originYSteps_;
+
2032 double xPos_;
+
2033 double yPos_;
+
2034};
+
+
2035
+
2039template <class U>
+
+
2040class CShutterBase : public CDeviceBase<MM::Shutter, U>
+
2041{
+
2042};
+
+
2043
+
2047template <class U>
+
+
2048class CSerialBase : public CDeviceBase<MM::Serial, U>
+
2049{
+
2050};
+
+
2051
+
2055template <class U>
+
+
2056class CAutoFocusBase : public CDeviceBase<MM::AutoFocus, U>
+
2057{
+
2058 virtual int AutoSetParameters() {return DEVICE_UNSUPPORTED_COMMAND;}
+
2059};
+
+
2060
+
2064template <class U>
+
+
2065class CImageProcessorBase : public CDeviceBase<MM::ImageProcessor, U>
+
2066{
+
2067};
+
+
2068
+
2072template <class U>
+
+
2073class CSignalIOBase : public CDeviceBase<MM::SignalIO, U>
+
2074{
+
2075 virtual int GetDASequenceMaxLength(long& /*nrEvents*/) const
+
2076 {
+
2077 return DEVICE_UNSUPPORTED_COMMAND;
+
2078 }
+
2079
+
2080 virtual int StartDASequence()
+
2081 {
+
2082 return DEVICE_UNSUPPORTED_COMMAND;
+
2083 }
+
2084
+
2085 virtual int StopDASequence() {
+
2086 return DEVICE_UNSUPPORTED_COMMAND;
+
2087 }
+
2088
+
2089 virtual int ClearDASequence() {
+
2090 return DEVICE_UNSUPPORTED_COMMAND;
+
2091 }
+
2092
+
2093 virtual int AddToDASequence(double /*voltage*/)
+
2094 {
+
2095 return DEVICE_UNSUPPORTED_COMMAND;
+
2096 }
+
2097
+
2098 virtual int SendDASequence() {
+
2099 return DEVICE_UNSUPPORTED_COMMAND;
+
2100 }
+
2101};
+
+
2102
+
2106template <class U>
+
+
2107class CMagnifierBase : public CDeviceBase<MM::Magnifier, U>
+
2108{
+
2109};
+
+
2110
+
2114template <class U>
+
+
2115class CSLMBase : public CDeviceBase<MM::SLM, U>
+
2116{
+
2117 virtual int GetSLMSequenceMaxLength(long& /*nrEvents*/) const
+
2118 {
+
2119 return DEVICE_UNSUPPORTED_COMMAND;
+
2120 }
+
2121
+
2122 virtual int StartSLMSequence()
+
2123 {
+
2124 return DEVICE_UNSUPPORTED_COMMAND;
+
2125 }
+
2126
+
2127 virtual int StopSLMSequence() {
+
2128 return DEVICE_UNSUPPORTED_COMMAND;
+
2129 }
+
2130
+
2131 virtual int ClearSLMSequence() {
+
2132 return DEVICE_UNSUPPORTED_COMMAND;
+
2133 }
+
2134
+
2135 virtual int AddToSLMSequence(const unsigned char * const /*image*/)
+
2136 {
+
2137 return DEVICE_UNSUPPORTED_COMMAND;
+
2138 }
+
2139
+
2140 virtual int AddToSLMSequence(const unsigned int * const /*image*/)
+
2141 {
+
2142 return DEVICE_UNSUPPORTED_COMMAND;
+
2143 }
+
2144
+
2145 virtual int SendSLMSequence() {
+
2146 return DEVICE_UNSUPPORTED_COMMAND;
+
2147 }
+
2148};
+
+
2149
+
2153template <class U>
+
+
2154class CGalvoBase : public CDeviceBase<MM::Galvo, U>
+
2155{
+
2156 double GetXMinimum() { return 0.0;};
+
2157 double GetYMinimum() { return 0.0;};
+
2158};
+
+
2159
+
2163template <class U>
+
+
2164class HubBase : public CDeviceBase<MM::Hub, U>
+
2165{
+
2166public:
+
2167 HubBase() {}
+
2168 virtual ~HubBase() {}
+
2169
+
2177 virtual int DetectInstalledDevices() {return DEVICE_OK;}
+
2178
+
2183 virtual unsigned GetNumberOfInstalledDevices() {return (unsigned)installedDevices.size();}
+
2184
+
2189 virtual MM::Device* GetInstalledDevice(int devIdx) {return installedDevices[devIdx];}
+
2190
+
+ +
2196 {
+
2197 for (unsigned i=0; i<installedDevices.size(); i++)
+
2198 delete installedDevices[i];
+
2199 installedDevices.clear();
+
2200 }
+
+
2201
+
2202protected:
+
2203 void AddInstalledDevice(MM::Device* pdev) {installedDevices.push_back(pdev);}
+
2204
+
2205private:
+
2206 std::vector<MM::Device*> installedDevices;
+
2207
+
2208};
+
+
2209
+
2214template <class U>
+
+
2215class CStateDeviceBase : public CDeviceBase<MM::State, U>
+
2216{
+
2217public:
+
2218
+ +
2220
+
2221 CStateDeviceBase(): gateOpen_(true)
+
2222 {
+
2223 // set-up Position to move to when the state device's gate is closed
+
2224 // Allowed values should be set in the state device adapter
+
2225 // this->CreateProperty(MM::g_Keyword_Closed_Position, "0", MM::String, false);
+
2226 }
+
2227
+
+
2232 virtual int SetPosition(long pos)
+
2233 {
+
2234 return this->SetProperty(MM::g_Keyword_State, CDeviceUtils::ConvertToString(pos));
+
2235 }
+
+
2236
+
+
2241 virtual int SetPosition(const char* label)
+
2242 {
+
2243 std::map<std::string, long>::const_iterator it;
+
2244 it = labels_.find(label);
+
2245 if (it == labels_.end())
+
2246 return DEVICE_UNKNOWN_LABEL;
+
2247
+
2248 return SetPosition(it->second);
+
2249 }
+
+
2250
+
2251
+
+
2257 virtual int SetGateOpen(bool open)
+
2258 {
+
2259 if (gateOpen_ != open) {
+
2260 gateOpen_ = open;
+
2261 long position;
+
2262 int ret = GetPosition(position);
+
2263 if (ret != DEVICE_OK)
+
2264 return ret;
+
2265 return SetPosition(position);
+
2266 }
+
2267 return DEVICE_OK;
+
2268 }
+
+
2269
+
2270 virtual int GetGateOpen(bool& open)
+
2271 {
+
2272 open = gateOpen_;
+
2273 return DEVICE_OK;
+
2274 }
+
2275
+
+
2280 virtual int GetPosition(long& pos) const
+
2281 {
+
2282 char buf[MM::MaxStrLength];
+
2283 assert(this->HasProperty(MM::g_Keyword_State));
+
2284 int ret = this->GetProperty(MM::g_Keyword_State, buf);
+
2285 if (ret == DEVICE_OK)
+
2286 {
+
2287 pos = atol(buf);
+
2288 return DEVICE_OK;
+
2289 }
+
2290 else
+
2291 return ret;
+
2292 }
+
+
2293
+
+
2298 virtual int GetPosition(char* label) const
+
2299 {
+
2300 long pos;
+
2301 int ret = GetPosition(pos);
+
2302 if (ret == DEVICE_OK)
+
2303 return GetPositionLabel(pos, label);
+
2304 else
+
2305 return ret;
+
2306 }
+
+
2307
+
+
2311 virtual int GetPositionLabel(long pos, char* label) const
+
2312 {
+
2313 std::map<std::string, long>::const_iterator it;
+
2314 for (it=labels_.begin(); it!=labels_.end(); it++)
+
2315 {
+
2316 //string devLabel = it->first;
+
2317 //long devPosition = it->second;
+
2318 if (it->second == pos)
+
2319 {
+
2320 CDeviceUtils::CopyLimitedString(label, it->first.c_str());
+
2321 return DEVICE_OK;
+
2322 }
+
2323 }
+
2324
+
2325 // label not found
+
2326 return DEVICE_UNKNOWN_POSITION;
+
2327 }
+
+
2328
+
+
2332 virtual int SetPositionLabel(long pos, const char* label)
+
2333 {
+
2334 // first test if the label already exists with different position defined
+
2335 std::map<std::string, long>::iterator it;
+
2336 it = labels_.find(label);
+
2337 if (it != labels_.end() && it->second != pos)
+
2338 {
+
2339 // remove the existing one
+
2340 labels_.erase(it);
+
2341 }
+
2342
+
2343 // then test if the given position already has a label
+
2344 for (it=labels_.begin(); it!=labels_.end(); it++)
+
2345 if (it->second == pos)
+
2346 {
+
2347 labels_.erase(it);
+
2348 break;
+
2349 }
+
2350
+
2351 // finally we can add the new label-position mapping
+
2352 labels_[label] = pos;
+
2353
+
2354 // attempt to define allowed values for label property (if it exists),
+
2355 // and don't make any fuss if the operation fails
+
2356 std::string strLabel(label);
+
2357 std::vector<std::string> values;
+
2358 for (it=labels_.begin(); it!=labels_.end(); it++)
+
2359 values.push_back(it->first);
+
2360 this->SetAllowedValues(MM::g_Keyword_Label, values);
+
2361
+
2362 return DEVICE_OK;
+
2363 }
+
+
2364
+
+
2368 virtual int GetLabelPosition(const char* label, long& pos) const
+
2369 {
+
2370 std::map<std::string, long>::const_iterator it;
+
2371 it = labels_.find(label);
+
2372 if (it == labels_.end())
+
2373 return DEVICE_UNKNOWN_LABEL;
+
2374
+
2375 pos = it->second;
+
2376 return DEVICE_OK;
+
2377 }
+
+
2378
+
+
2382 int OnLabel(MM::PropertyBase* pProp, MM::ActionType eAct)
+
2383 {
+
2384 if (eAct == MM::BeforeGet)
+
2385 {
+
2386 char buf[MM::MaxStrLength];
+
2387 int ret = GetPosition(buf);
+
2388 if (ret != DEVICE_OK)
+
2389 return ret;
+
2390 pProp->Set(buf);
+
2391 }
+
2392 else if (eAct == MM::AfterSet)
+
2393 {
+
2394 std::string label;
+
2395 pProp->Get(label);
+
2396 int ret = SetPosition(label.c_str());
+
2397 if (ret != DEVICE_OK)
+
2398 return ret;
+
2399 }
+
2400 else if (eAct == MM::IsSequenceable)
+
2401 {
+
2402 assert(this->HasProperty(MM::g_Keyword_State));
+
2403 bool sequenceable;
+
2404 int ret = this->IsPropertySequenceable(MM::g_Keyword_State, sequenceable);
+
2405 if (ret != DEVICE_OK)
+
2406 return ret;
+
2407
+
2408 long nrEvents = 0;
+
2409 if (sequenceable) {
+
2410 ret = this->GetPropertySequenceMaxLength(MM::g_Keyword_State, nrEvents);
+
2411 if (ret != DEVICE_OK)
+
2412 return ret;
+
2413 }
+
2414 pProp->SetSequenceable(nrEvents);
+
2415 }
+
2416 else if (eAct == MM::AfterLoadSequence) {
+
2417 assert(this->HasProperty(MM::g_Keyword_State));
+
2418 std::vector<std::string> sequence = pProp->GetSequence();
+
2419 for (std::vector<std::string>::iterator it = sequence.begin(); it != sequence.end(); ++it) {
+
2420 long pos;
+
2421 int ret = GetLabelPosition((*it).c_str(), pos);
+
2422 if (ret != DEVICE_OK)
+
2423 return ret;
+
2424 std::stringstream s;
+
2425 s << pos;
+
2426 s >> *it;
+
2427 }
+
2428
+
2429 int ret = this->ClearPropertySequence(MM::g_Keyword_State);
+
2430 if (ret != DEVICE_OK)
+
2431 return ret;
+
2432
+
2433 std::vector<std::string>::iterator it;
+
2434 for ( it=sequence.begin() ; it < sequence.end(); it++ )
+
2435 {
+
2436 ret = this->AddToPropertySequence(MM::g_Keyword_State, (*it).c_str());
+
2437 if (ret != DEVICE_OK)
+
2438 return ret;
+
2439 }
+
2440
+
2441 ret = this->SendPropertySequence(MM::g_Keyword_State);
+
2442 if (ret != DEVICE_OK)
+
2443 return ret;
+
2444
+
2445 //this->LoadPropertySequence(MM::g_Keyword_State, sequence);
+
2446 }
+
2447 else if (eAct == MM::StartSequence) {
+
2448 assert(this->HasProperty(MM::g_Keyword_State));
+
2449 return this->StartPropertySequence(MM::g_Keyword_State);
+
2450 }
+
2451 else if (eAct == MM::StopSequence) {
+
2452 assert(this->HasProperty(MM::g_Keyword_State));
+
2453 return this->StopPropertySequence(MM::g_Keyword_State);
+
2454 }
+
2455
+
2456 return DEVICE_OK;
+
2457 }
+
+
2458
+
+
2463 int OnStateChanged(long position) {
+
2464 int ret;
+
2465 ret = this->OnPropertyChanged(MM::g_Keyword_State,CDeviceUtils::ConvertToString(position));
+
2466 if (ret != DEVICE_OK) {
+
2467 return ret;
+
2468 }
+
2469
+
2470 char label[MM::MaxStrLength];
+
2471 GetPositionLabel(position, label);
+
2472 ret = this->OnPropertyChanged(MM::g_Keyword_Label, label);
+
2473 return ret;
+
2474 }
+
+
2475
+
2476private:
+
2477 bool gateOpen_;
+
2478
+
2479private:
+
2480 std::map<std::string, long> labels_;
+
2481};
+
+
2482
+
2483
+
2484// _t, a macro for timing single lines.
+
2485// This macros logs the text of the line, x, measures
+
2486// the time it takes, and then logs that time.
+
2487// Usage example:
+
2488// _t( ex = GetExposure(); )
+
2489
+
2490
+
2491#define _t(x) \
+
2492 { \
+
2493 LogMessage(#x, true); \
+
2494 _start_time = GetCurrentMMTime(); \
+
2495 x; \
+
2496 _end_time = GetCurrentMMTime(); \
+
2497 LogTimeDiff(_start_time,_end_time, true); \
+
2498 }
+
Definition DeviceBase.h:2057
+
Definition DeviceBase.h:1604
+
Definition DeviceBase.h:1584
+
Definition DeviceBase.h:1289
+
virtual int StartSequenceAcquisition(double interval)
Definition DeviceBase.h:1336
+
virtual int PrepareSequenceAcqusition()
Definition DeviceBase.h:1418
virtual unsigned GetImageBytesPerPixel() const =0
-
virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)
Definition: DeviceBase.h:1423
+
virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)
Definition DeviceBase.h:1423
virtual unsigned GetImageHeight() const =0
-
virtual void RemoveTag(const char *key)
Definition: DeviceBase.h:1474
-
virtual unsigned GetNumberOfChannels() const
Definition: DeviceBase.h:1377
-
virtual double GetPixelSizeUm() const
Definition: DeviceBase.h:1357
-
virtual int GetComponentName(unsigned channel, char *name)
Definition: DeviceBase.h:1364
-
virtual bool IsCapturing()
Definition: DeviceBase.h:1466
-
virtual unsigned GetNumberOfComponents() const
Definition: DeviceBase.h:1359
-
virtual const unsigned int * GetImageBufferAsRGB32()
Definition: DeviceBase.h:1403
-
virtual int StopSequenceAcquisition()
Definition: DeviceBase.h:1344
+
virtual void RemoveTag(const char *key)
Definition DeviceBase.h:1474
+
virtual unsigned GetNumberOfChannels() const
Definition DeviceBase.h:1377
+
virtual double GetPixelSizeUm() const
Definition DeviceBase.h:1357
+
virtual const unsigned char * GetImageBuffer()=0
+
virtual int GetComponentName(unsigned channel, char *name)
Definition DeviceBase.h:1364
+
virtual bool IsCapturing()
Definition DeviceBase.h:1466
+
virtual unsigned GetNumberOfComponents() const
Definition DeviceBase.h:1359
+
virtual int StopSequenceAcquisition()
Definition DeviceBase.h:1344
virtual int SnapImage()=0
virtual unsigned GetImageWidth() const =0
-
virtual void AddTag(const char *key, const char *deviceLabel, const char *value)
Definition: DeviceBase.h:1468
-
virtual void GetTags(char *serializedMetadata)
Definition: DeviceBase.h:1411
-
virtual int GetChannelName(unsigned, char *name)
Definition: DeviceBase.h:1386
-
Definition: DeviceBase.h:93
-
virtual bool GetErrorText(int errorCode, char *text) const
Definition: DeviceBase.h:750
-
virtual bool GetPropertyName(unsigned uIdx, char *name) const
Definition: DeviceBase.h:485
-
int CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition: DeviceBase.h:636
-
void InitializeDefaultErrorMessages()
Definition: DeviceBase.h:910
-
int LogMessageCode(const int errorCode, bool debugOnly=false) const
Definition: DeviceBase.h:865
-
bool IsPropertyEqualTo(const char *name, const char *val) const
Definition: DeviceBase.h:241
-
int CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition: DeviceBase.h:618
-
void SetErrorText(int errorCode, const char *text)
Definition: DeviceBase.h:821
-
virtual void SetDelayMs(double delay)
Definition: DeviceBase.h:173
-
unsigned long GetClockTicksUs()
Definition: DeviceBase.h:1134
-
int UpdateStatus()
Definition: DeviceBase.h:725
-
int OnPropertiesChanged()
Definition: DeviceBase.h:1067
-
int SetPropertyLimits(const char *name, double low, double high)
Definition: DeviceBase.h:644
-
int CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition: DeviceBase.h:606
-
bool IsCallbackRegistered() const
Definition: DeviceBase.h:1156
-
int CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition: DeviceBase.h:582
-
MM::Device * GetDevice(const char *deviceLabel) const
Definition: DeviceBase.h:953
-
int GetProperty(const char *name, long &val)
Definition: DeviceBase.h:226
-
int PurgeComPort(const char *portLabel)
Definition: DeviceBase.h:1043
-
void EnableDelay(bool state=true)
Definition: DeviceBase.h:1172
-
virtual int StartPropertySequence(const char *name)
Definition: DeviceBase.h:390
-
int LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
Definition: DeviceBase.h:902
-
void CreateHubIDProperty()
Definition: DeviceBase.h:1183
-
virtual void SetModuleHandle(HDEVMODULE hModule)
Definition: DeviceBase.h:139
-
void GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
Definition: DeviceBase.h:972
-
int ClearAllowedValues(const char *name)
Definition: DeviceBase.h:674
-
int LogMessage(const char *msg, bool debugOnly=false) const
Definition: DeviceBase.h:841
-
int OnPropertyChanged(const char *propName, const char *propValue)
Definition: DeviceBase.h:1077
-
virtual double GetDelayMs() const
Definition: DeviceBase.h:166
-
virtual int ClearPropertySequence(const char *name)
Definition: DeviceBase.h:440
-
virtual bool HasProperty(const char *name) const
Definition: DeviceBase.h:528
-
int GetSerialAnswer(const char *portName, const char *term, std::string &ans)
Definition: DeviceBase.h:1014
-
virtual bool UsesDelay()
Definition: DeviceBase.h:184
-
int UpdateProperty(const char *name)
Definition: DeviceBase.h:733
-
virtual int AddToPropertySequence(const char *name, const char *value)
Definition: DeviceBase.h:454
-
MM::PortType GetSerialPortType(const char *portLabel)
Definition: DeviceBase.h:1053
-
T_HUB * AssignToHub()
Definition: DeviceBase.h:1209
-
virtual int GetPropertySequenceMaxLength(const char *name, long &nrEvents) const
Definition: DeviceBase.h:362
-
MM::MMTime GetCurrentMMTime()
Definition: DeviceBase.h:1145
-
virtual int StopPropertySequence(const char *name)
Definition: DeviceBase.h:416
-
virtual void SetModuleName(const char *name)
Definition: DeviceBase.h:107
-
virtual unsigned GetNumberOfPropertyValues(const char *propertyName) const
Definition: DeviceBase.h:542
-
MM::Hub * GetParentHub() const
Definition: DeviceBase.h:1196
-
virtual int SetProperty(const char *name, const char *value)
Definition: DeviceBase.h:513
-
virtual HDEVMODULE GetModuleHandle() const
Definition: DeviceBase.h:102
-
virtual int SendPropertySequence(const char *name)
Definition: DeviceBase.h:469
-
virtual void GetLabel(char *name) const
Definition: DeviceBase.h:156
-
int LogMessage(const std::string &msg, bool debugOnly=false) const
Definition: DeviceBase.h:853
-
virtual void GetDescription(char *name) const
Definition: DeviceBase.h:131
-
int WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)
Definition: DeviceBase.h:985
-
virtual void SetLabel(const char *label)
Definition: DeviceBase.h:146
-
virtual bool GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const
Definition: DeviceBase.h:558
-
virtual void GetModuleName(char *name) const
Definition: DeviceBase.h:115
-
int SendSerialCommand(const char *portName, const char *command, const char *term)
Definition: DeviceBase.h:999
-
int GetPropertyData(const char *name, const char *value, long &data)
Definition: DeviceBase.h:698
-
int GetCurrentPropertyData(const char *name, long &data)
Definition: DeviceBase.h:711
-
virtual unsigned GetNumberOfProperties() const
Definition: DeviceBase.h:189
-
virtual int GetProperty(const char *name, char *value) const
Definition: DeviceBase.h:196
-
MM::Core * GetCoreCallback() const
Definition: DeviceBase.h:1164
-
int ApplyProperty(const char *name)
Definition: DeviceBase.h:742
-
virtual int GetPropertyType(const char *name, MM::PropertyType &pt) const
Definition: DeviceBase.h:498
-
int ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
Definition: DeviceBase.h:1033
-
virtual int GetPropertyInitStatus(const char *name, bool &preInit) const
Definition: DeviceBase.h:275
-
int LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
Definition: DeviceBase.h:885
-
virtual void SetDescription(const char *descr)
Definition: DeviceBase.h:123
-
virtual int GetPropertyLowerLimit(const char *name, double &lowLimit) const
Definition: DeviceBase.h:307
-
virtual int GetPropertyUpperLimit(const char *name, double &hiLimit) const
Definition: DeviceBase.h:325
-
virtual int GetPropertyReadOnly(const char *name, bool &readOnly) const
Definition: DeviceBase.h:256
-
int GetProperty(const char *name, double &val)
Definition: DeviceBase.h:212
-
int AddAllowedValue(const char *name, const char *value)
Definition: DeviceBase.h:682
-
int SetAllowedValues(const char *name, std::vector< std::string > &values)
Definition: DeviceBase.h:666
-
int AddAllowedValue(const char *name, const char *value, long data)
Definition: DeviceBase.h:690
-
int CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
Definition: DeviceBase.h:597
-
virtual int IsPropertySequenceable(const char *name, bool &sequenceable) const
Definition: DeviceBase.h:343
-
virtual void SetCallback(MM::Core *cbk)
Definition: DeviceBase.h:178
-
static const char * ConvertToString(long lnVal)
Definition: DeviceUtils.cpp:63
-
static bool CopyLimitedString(char *pszTarget, const char *pszSource)
Definition: DeviceUtils.cpp:43
-
Definition: DeviceBase.h:2155
-
Definition: DeviceBase.h:1279
-
Definition: DeviceBase.h:2066
-
Definition: DeviceBase.h:2108
-
Definition: DeviceBase.h:2116
-
Definition: DeviceBase.h:2049
-
Definition: DeviceBase.h:2041
-
Definition: DeviceBase.h:2074
-
Definition: DeviceBase.h:1723
-
Definition: DeviceBase.h:2216
-
virtual int GetPosition(char *label) const
Definition: DeviceBase.h:2298
-
virtual int GetPositionLabel(long pos, char *label) const
Definition: DeviceBase.h:2311
-
virtual int SetPositionLabel(long pos, const char *label)
Definition: DeviceBase.h:2332
-
virtual int GetPosition(long &pos) const
Definition: DeviceBase.h:2280
-
int OnLabel(MM::PropertyBase *pProp, MM::ActionType eAct)
Definition: DeviceBase.h:2382
-
virtual int SetPosition(const char *label)
Definition: DeviceBase.h:2241
-
int OnStateChanged(long position)
Definition: DeviceBase.h:2463
-
virtual int GetLabelPosition(const char *label, long &pos) const
Definition: DeviceBase.h:2368
-
virtual int SetPosition(long pos)
Definition: DeviceBase.h:2232
-
virtual int SetGateOpen(bool open)
Definition: DeviceBase.h:2257
-
Definition: DeviceBase.h:1820
-
virtual int SetAdapterOriginUm(double newXUm, double newYUm)
Definition: DeviceBase.h:1894
-
virtual int AddToXYStageSequence(double, double)
Definition: DeviceBase.h:1992
-
virtual int SetYOrigin()
Definition: DeviceBase.h:1967
-
double GetCachedXUm()
Definition: DeviceBase.h:2011
-
virtual int SendXYStageSequence()
Definition: DeviceBase.h:1997
-
virtual int SetRelativePositionSteps(long x, long y)
Definition: DeviceBase.h:1947
-
virtual int SetRelativePositionUm(double dx, double dy)
Definition: DeviceBase.h:1866
-
virtual int ClearXYStageSequence()
Definition: DeviceBase.h:1987
-
virtual int SetXOrigin()
Definition: DeviceBase.h:1962
-
Definition: DeviceBase.h:2165
-
virtual unsigned GetNumberOfInstalledDevices()
Definition: DeviceBase.h:2183
-
virtual int DetectInstalledDevices()
Definition: DeviceBase.h:2177
-
virtual void ClearInstalledDevices()
Definition: DeviceBase.h:2195
-
virtual MM::Device * GetInstalledDevice(int devIdx)
Definition: DeviceBase.h:2189
-
Definition: Property.h:107
-
Definition: Property.h:75
-
Definition: Property.h:86
+
virtual void AddTag(const char *key, const char *deviceLabel, const char *value)
Definition DeviceBase.h:1468
+
virtual const unsigned char * GetImageBuffer(unsigned)
Definition DeviceBase.h:1396
+
virtual const unsigned int * GetImageBufferAsRGB32()
Definition DeviceBase.h:1403
+
virtual void GetTags(char *serializedMetadata)
Definition DeviceBase.h:1411
+
virtual int GetChannelName(unsigned, char *name)
Definition DeviceBase.h:1386
+
Definition DeviceBase.h:93
+
virtual bool GetErrorText(int errorCode, char *text) const
Definition DeviceBase.h:750
+
virtual bool GetPropertyName(unsigned uIdx, char *name) const
Definition DeviceBase.h:485
+
int CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition DeviceBase.h:636
+
void InitializeDefaultErrorMessages()
Definition DeviceBase.h:910
+
int LogMessageCode(const int errorCode, bool debugOnly=false) const
Definition DeviceBase.h:865
+
bool IsPropertyEqualTo(const char *name, const char *val) const
Definition DeviceBase.h:241
+
int CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition DeviceBase.h:618
+
void SetErrorText(int errorCode, const char *text)
Definition DeviceBase.h:821
+
virtual void SetDelayMs(double delay)
Definition DeviceBase.h:173
+
unsigned long GetClockTicksUs()
Definition DeviceBase.h:1134
+
int UpdateStatus()
Definition DeviceBase.h:725
+
int OnPropertiesChanged()
Definition DeviceBase.h:1067
+
int SetPropertyLimits(const char *name, double low, double high)
Definition DeviceBase.h:644
+
int CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition DeviceBase.h:606
+
MM::Hub * GetParentHub() const
Definition DeviceBase.h:1196
+
bool IsCallbackRegistered() const
Definition DeviceBase.h:1156
+
int CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
Definition DeviceBase.h:582
+
int GetProperty(const char *name, long &val)
Definition DeviceBase.h:226
+
int PurgeComPort(const char *portLabel)
Definition DeviceBase.h:1043
+
void EnableDelay(bool state=true)
Definition DeviceBase.h:1172
+
virtual int StartPropertySequence(const char *name)
Definition DeviceBase.h:390
+
int LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
Definition DeviceBase.h:902
+
void CreateHubIDProperty()
Definition DeviceBase.h:1183
+
virtual void SetModuleHandle(HDEVMODULE hModule)
Definition DeviceBase.h:139
+
void GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
Definition DeviceBase.h:972
+
int ClearAllowedValues(const char *name)
Definition DeviceBase.h:674
+
int LogMessage(const char *msg, bool debugOnly=false) const
Definition DeviceBase.h:841
+
int OnPropertyChanged(const char *propName, const char *propValue)
Definition DeviceBase.h:1077
+
virtual double GetDelayMs() const
Definition DeviceBase.h:166
+
virtual int ClearPropertySequence(const char *name)
Definition DeviceBase.h:440
+
virtual bool HasProperty(const char *name) const
Definition DeviceBase.h:528
+
int GetSerialAnswer(const char *portName, const char *term, std::string &ans)
Definition DeviceBase.h:1014
+
MM::Core * GetCoreCallback() const
Definition DeviceBase.h:1164
+
virtual bool UsesDelay()
Definition DeviceBase.h:184
+
int UpdateProperty(const char *name)
Definition DeviceBase.h:733
+
T_HUB * AssignToHub()
Definition DeviceBase.h:1209
+
virtual int AddToPropertySequence(const char *name, const char *value)
Definition DeviceBase.h:454
+
MM::PortType GetSerialPortType(const char *portLabel)
Definition DeviceBase.h:1053
+
virtual int GetPropertySequenceMaxLength(const char *name, long &nrEvents) const
Definition DeviceBase.h:362
+
MM::MMTime GetCurrentMMTime()
Definition DeviceBase.h:1145
+
virtual int StopPropertySequence(const char *name)
Definition DeviceBase.h:416
+
virtual void SetModuleName(const char *name)
Definition DeviceBase.h:107
+
virtual unsigned GetNumberOfPropertyValues(const char *propertyName) const
Definition DeviceBase.h:542
+
virtual int SetProperty(const char *name, const char *value)
Definition DeviceBase.h:513
+
virtual HDEVMODULE GetModuleHandle() const
Definition DeviceBase.h:102
+
virtual int SendPropertySequence(const char *name)
Definition DeviceBase.h:469
+
virtual void GetLabel(char *name) const
Definition DeviceBase.h:156
+
int LogMessage(const std::string &msg, bool debugOnly=false) const
Definition DeviceBase.h:853
+
virtual void GetDescription(char *name) const
Definition DeviceBase.h:131
+
int WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)
Definition DeviceBase.h:985
+
virtual void SetLabel(const char *label)
Definition DeviceBase.h:146
+
virtual bool GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const
Definition DeviceBase.h:558
+
virtual void GetModuleName(char *name) const
Definition DeviceBase.h:115
+
int SendSerialCommand(const char *portName, const char *command, const char *term)
Definition DeviceBase.h:999
+
int GetPropertyData(const char *name, const char *value, long &data)
Definition DeviceBase.h:698
+
int GetCurrentPropertyData(const char *name, long &data)
Definition DeviceBase.h:711
+
virtual unsigned GetNumberOfProperties() const
Definition DeviceBase.h:189
+
virtual int GetProperty(const char *name, char *value) const
Definition DeviceBase.h:196
+
int ApplyProperty(const char *name)
Definition DeviceBase.h:742
+
virtual int GetPropertyType(const char *name, MM::PropertyType &pt) const
Definition DeviceBase.h:498
+
int ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
Definition DeviceBase.h:1033
+
virtual int GetPropertyInitStatus(const char *name, bool &preInit) const
Definition DeviceBase.h:275
+
int LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
Definition DeviceBase.h:885
+
virtual void SetDescription(const char *descr)
Definition DeviceBase.h:123
+
virtual int GetPropertyLowerLimit(const char *name, double &lowLimit) const
Definition DeviceBase.h:307
+
virtual int GetPropertyUpperLimit(const char *name, double &hiLimit) const
Definition DeviceBase.h:325
+
virtual int GetPropertyReadOnly(const char *name, bool &readOnly) const
Definition DeviceBase.h:256
+
int GetProperty(const char *name, double &val)
Definition DeviceBase.h:212
+
MM::Device * GetDevice(const char *deviceLabel) const
Definition DeviceBase.h:953
+
int AddAllowedValue(const char *name, const char *value)
Definition DeviceBase.h:682
+
int SetAllowedValues(const char *name, std::vector< std::string > &values)
Definition DeviceBase.h:666
+
int AddAllowedValue(const char *name, const char *value, long data)
Definition DeviceBase.h:690
+
int CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
Definition DeviceBase.h:597
+
virtual int IsPropertySequenceable(const char *name, bool &sequenceable) const
Definition DeviceBase.h:343
+
virtual void SetCallback(MM::Core *cbk)
Definition DeviceBase.h:178
+
static const char * ConvertToString(long lnVal)
Definition DeviceUtils.cpp:63
+
static bool CopyLimitedString(char *pszTarget, const char *pszSource)
Definition DeviceUtils.cpp:43
+
Definition DeviceBase.h:2155
+
Definition DeviceBase.h:1279
+
Definition DeviceBase.h:2066
+
Definition DeviceBase.h:2108
+
Definition DeviceBase.h:2116
+
Definition DeviceBase.h:2049
+
Definition DeviceBase.h:2041
+
Definition DeviceBase.h:2074
+
Definition DeviceBase.h:1723
+
Definition DeviceBase.h:2216
+
virtual int GetPosition(char *label) const
Definition DeviceBase.h:2298
+
virtual int GetPositionLabel(long pos, char *label) const
Definition DeviceBase.h:2311
+
virtual int SetPositionLabel(long pos, const char *label)
Definition DeviceBase.h:2332
+
virtual int GetPosition(long &pos) const
Definition DeviceBase.h:2280
+
int OnLabel(MM::PropertyBase *pProp, MM::ActionType eAct)
Definition DeviceBase.h:2382
+
virtual int SetPosition(const char *label)
Definition DeviceBase.h:2241
+
int OnStateChanged(long position)
Definition DeviceBase.h:2463
+
virtual int GetLabelPosition(const char *label, long &pos) const
Definition DeviceBase.h:2368
+
virtual int SetPosition(long pos)
Definition DeviceBase.h:2232
+
virtual int SetGateOpen(bool open)
Definition DeviceBase.h:2257
+
Definition DeviceBase.h:1820
+
virtual int SetAdapterOriginUm(double newXUm, double newYUm)
Definition DeviceBase.h:1894
+
virtual int AddToXYStageSequence(double, double)
Definition DeviceBase.h:1992
+
virtual int SetYOrigin()
Definition DeviceBase.h:1967
+
double GetCachedXUm()
Definition DeviceBase.h:2011
+
virtual int SendXYStageSequence()
Definition DeviceBase.h:1997
+
virtual int SetRelativePositionSteps(long x, long y)
Definition DeviceBase.h:1947
+
virtual int SetRelativePositionUm(double dx, double dy)
Definition DeviceBase.h:1866
+
virtual int ClearXYStageSequence()
Definition DeviceBase.h:1987
+
virtual int SetXOrigin()
Definition DeviceBase.h:1962
+
Definition DeviceBase.h:2165
+
virtual unsigned GetNumberOfInstalledDevices()
Definition DeviceBase.h:2183
+
virtual int DetectInstalledDevices()
Definition DeviceBase.h:2177
+
virtual void ClearInstalledDevices()
Definition DeviceBase.h:2195
+
virtual MM::Device * GetInstalledDevice(int devIdx)
Definition DeviceBase.h:2189
+
Definition Property.h:107
+
Definition Property.h:75
+
Definition Property.h:86
+
Definition MMDevice.h:332
virtual int GetBinning() const =0
-
Definition: MMDevice.h:1314
+
Definition MMDevice.h:1314
virtual int OnMagnifierChanged(const Device *caller)=0
-
virtual Device * GetDevice(const Device *caller, const char *label)=0
virtual int OnStagePositionChanged(const Device *caller, double pos)=0
virtual void GetLoadedDeviceOfType(const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0
Get the names of currently loaded devices of a given type.
virtual int OnExposureChanged(const Device *caller, double newExposure)=0
virtual int LogMessage(const Device *caller, const char *msg, bool debugOnly) const =0
virtual int OnXYStagePositionChanged(const Device *caller, double xPos, double yPos)=0
+
virtual Device * GetDevice(const Device *caller, const char *label)=0
virtual int OnPropertyChanged(const Device *caller, const char *propName, const char *propValue)=0
virtual int OnSLMExposureChanged(const Device *caller, double newExposure)=0
-
Definition: MMDevice.h:225
-
Definition: MMDevice.h:1259
-
Definition: MMDevice.h:91
-
Definition: Property.h:38
-
Definition: Property.h:435
-
Definition: Property.h:143
-
Definition: DeviceThreads.h:34
-
Definition: DeviceThreads.h:158
-
Definition: DeviceThreads.h:95
-
Definition: ImageMetadata.h:282
+
Definition MMDevice.h:225
+
Definition MMDevice.h:1259
+
Definition MMDevice.h:91
+
Definition Property.h:38
+
Definition Property.h:435
+
Definition Property.h:143
+
Definition DeviceThreads.h:34
+
Definition DeviceThreads.h:158
+
Definition DeviceThreads.h:95
+
Definition ImageMetadata.h:282
diff --git a/_device_threads_8h_source.html b/_device_threads_8h_source.html index 72cc231..a281dc2 100644 --- a/_device_threads_8h_source.html +++ b/_device_threads_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: DeviceThreads.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,211 +26,223 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
DeviceThreads.h
+
DeviceThreads.h
-
1 // FILE: DeviceThreads.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: Cross-platform wrapper class for using threads in MMDevices
-
7 //
-
8 // AUTHOR: Nenad Amodaj, nenad@amodaj.com 11/27/2007
-
9 // COPYRIGHT: University of California, San Francisco, 2007
-
10 // LICENSE: This file is distributed under the BSD license.
-
11 // License text is included with the source distribution.
-
12 //
-
13 // This file is distributed in the hope that it will be useful,
-
14 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
15 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
16 //
-
17 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
18 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
19 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
20 
-
21 #pragma once
-
22 
-
23 #ifdef _WIN32
-
24  #define WIN32_LEAN_AND_MEAN
-
25  #include <windows.h>
-
26 #else
-
27  #include <pthread.h>
-
28 #endif
-
29 
- -
34 {
-
35 public:
-
36  MMDeviceThreadBase() : thread_(0) {}
-
37  virtual ~MMDeviceThreadBase() {}
-
38 
-
39  virtual int svc() = 0;
-
40 
-
41  virtual int activate()
-
42  {
-
43 #ifdef _WIN32
-
44  DWORD id;
-
45  thread_ = CreateThread(NULL, 0, ThreadProc, this, 0, &id);
-
46 #else
-
47  pthread_create(&thread_, NULL, ThreadProc, this);
-
48 #endif
-
49  return 0; // TODO: return thread id
-
50  }
-
51 
-
52  void wait()
-
53  {
-
54 #ifdef _WIN32
-
55  WaitForSingleObject(thread_, INFINITE);
-
56 #else
-
57  pthread_join(thread_, NULL);
-
58 #endif
-
59  }
-
60 
-
61 private:
-
62  // Forbid copying
- -
64  MMDeviceThreadBase& operator=(const MMDeviceThreadBase&);
-
65 
-
66 #ifdef _WIN32
-
67  HANDLE
-
68 #else
-
69  pthread_t
-
70 #endif
-
71  thread_;
-
72 
-
73  static
-
74 #ifdef _WIN32
-
75  DWORD WINAPI
-
76 #else
-
77  void*
-
78 #endif
-
79  ThreadProc(void* param)
-
80  {
-
81  MMDeviceThreadBase* pThrObj = (MMDeviceThreadBase*) param;
-
82 #ifdef _WIN32
-
83  return pThrObj->svc();
-
84 #else
-
85  pThrObj->svc();
-
86  return (void*) 0;
-
87 #endif
-
88  }
-
89 };
-
90 
- -
95 {
-
96 public:
-
97  MMThreadLock()
-
98  {
-
99 #ifdef _WIN32
-
100  InitializeCriticalSection(&lock_);
-
101 #else
-
102  pthread_mutexattr_t a;
-
103  pthread_mutexattr_init(&a);
-
104  pthread_mutexattr_settype(&a,
-
105 #ifdef __linux__
-
106  // Not sure if _NP is needed any more
-
107  PTHREAD_MUTEX_RECURSIVE_NP
-
108 #else
-
109  PTHREAD_MUTEX_RECURSIVE
-
110 #endif
-
111  );
-
112  pthread_mutex_init(&lock_, &a);
-
113  pthread_mutexattr_destroy(&a);
-
114 #endif
-
115  }
-
116 
-
117  ~MMThreadLock()
-
118  {
-
119 #ifdef _WIN32
-
120  DeleteCriticalSection(&lock_);
-
121 #else
-
122  pthread_mutex_destroy(&lock_);
-
123 #endif
-
124  }
-
125 
-
126  void Lock()
-
127  {
-
128 #ifdef _WIN32
-
129  EnterCriticalSection(&lock_);
-
130 #else
-
131  pthread_mutex_lock(&lock_);
-
132 #endif
-
133  }
-
134 
-
135  void Unlock()
-
136  {
-
137 #ifdef _WIN32
-
138  LeaveCriticalSection(&lock_);
-
139 #else
-
140  pthread_mutex_unlock(&lock_);
-
141 #endif
-
142  }
-
143 
-
144 private:
-
145  // Forbid copying
-
146  MMThreadLock(const MMThreadLock&);
-
147  MMThreadLock& operator=(const MMThreadLock&);
-
148 
-
149 #ifdef _WIN32
-
150  CRITICAL_SECTION
-
151 #else
-
152  pthread_mutex_t
-
153 #endif
-
154  lock_;
-
155 };
-
156 
- -
158 {
-
159 public:
-
160  MMThreadGuard(MMThreadLock& lock) : lock_(&lock)
-
161  {
-
162  lock_->Lock();
-
163  }
-
164 
-
165  MMThreadGuard(MMThreadLock* lock) : lock_(lock)
-
166  {
-
167  if (lock != 0)
-
168  lock_->Lock();
-
169  }
-
170 
-
171  bool isLocked() {return lock_ == 0 ? false : true;}
-
172 
-
173  ~MMThreadGuard()
-
174  {
-
175  if (lock_ != 0)
-
176  lock_->Unlock();
-
177  }
-
178 
-
179 private:
-
180  // Forbid copying
- -
182  MMThreadGuard& operator=(const MMThreadGuard&);
-
183 
-
184  MMThreadLock* lock_;
-
185 };
-
Definition: DeviceThreads.h:34
-
Definition: DeviceThreads.h:158
-
Definition: DeviceThreads.h:95
+
1
+
2// FILE: DeviceThreads.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: Cross-platform wrapper class for using threads in MMDevices
+
7//
+
8// AUTHOR: Nenad Amodaj, nenad@amodaj.com 11/27/2007
+
9// COPYRIGHT: University of California, San Francisco, 2007
+
10// LICENSE: This file is distributed under the BSD license.
+
11// License text is included with the source distribution.
+
12//
+
13// This file is distributed in the hope that it will be useful,
+
14// but WITHOUT ANY WARRANTY; without even the implied warranty
+
15// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
16//
+
17// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
18// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
19// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
20
+
21#pragma once
+
22
+
23#ifdef _WIN32
+
24 #define WIN32_LEAN_AND_MEAN
+
25 #include <windows.h>
+
26#else
+
27 #include <pthread.h>
+
28#endif
+
29
+
+ +
34{
+
35public:
+
36 MMDeviceThreadBase() : thread_(0) {}
+
37 virtual ~MMDeviceThreadBase() {}
+
38
+
39 virtual int svc() = 0;
+
40
+
41 virtual int activate()
+
42 {
+
43#ifdef _WIN32
+
44 DWORD id;
+
45 thread_ = CreateThread(NULL, 0, ThreadProc, this, 0, &id);
+
46#else
+
47 pthread_create(&thread_, NULL, ThreadProc, this);
+
48#endif
+
49 return 0; // TODO: return thread id
+
50 }
+
51
+
52 void wait()
+
53 {
+
54#ifdef _WIN32
+
55 WaitForSingleObject(thread_, INFINITE);
+
56#else
+
57 pthread_join(thread_, NULL);
+
58#endif
+
59 }
+
60
+
61private:
+
62 // Forbid copying
+ +
64 MMDeviceThreadBase& operator=(const MMDeviceThreadBase&);
+
65
+
66#ifdef _WIN32
+
67 HANDLE
+
68#else
+
69 pthread_t
+
70#endif
+
71 thread_;
+
72
+
73 static
+
74#ifdef _WIN32
+
75 DWORD WINAPI
+
76#else
+
77 void*
+
78#endif
+
79 ThreadProc(void* param)
+
80 {
+
81 MMDeviceThreadBase* pThrObj = (MMDeviceThreadBase*) param;
+
82#ifdef _WIN32
+
83 return pThrObj->svc();
+
84#else
+
85 pThrObj->svc();
+
86 return (void*) 0;
+
87#endif
+
88 }
+
89};
+
+
90
+
+ +
95{
+
96public:
+ +
98 {
+
99#ifdef _WIN32
+
100 InitializeCriticalSection(&lock_);
+
101#else
+
102 pthread_mutexattr_t a;
+
103 pthread_mutexattr_init(&a);
+
104 pthread_mutexattr_settype(&a,
+
105#ifdef __linux__
+
106 // Not sure if _NP is needed any more
+
107 PTHREAD_MUTEX_RECURSIVE_NP
+
108#else
+
109 PTHREAD_MUTEX_RECURSIVE
+
110#endif
+
111 );
+
112 pthread_mutex_init(&lock_, &a);
+
113 pthread_mutexattr_destroy(&a);
+
114#endif
+
115 }
+
116
+ +
118 {
+
119#ifdef _WIN32
+
120 DeleteCriticalSection(&lock_);
+
121#else
+
122 pthread_mutex_destroy(&lock_);
+
123#endif
+
124 }
+
125
+
126 void Lock()
+
127 {
+
128#ifdef _WIN32
+
129 EnterCriticalSection(&lock_);
+
130#else
+
131 pthread_mutex_lock(&lock_);
+
132#endif
+
133 }
+
134
+
135 void Unlock()
+
136 {
+
137#ifdef _WIN32
+
138 LeaveCriticalSection(&lock_);
+
139#else
+
140 pthread_mutex_unlock(&lock_);
+
141#endif
+
142 }
+
143
+
144private:
+
145 // Forbid copying
+ +
147 MMThreadLock& operator=(const MMThreadLock&);
+
148
+
149#ifdef _WIN32
+
150 CRITICAL_SECTION
+
151#else
+
152 pthread_mutex_t
+
153#endif
+
154 lock_;
+
155};
+
+
156
+
+ +
158{
+
159public:
+
160 MMThreadGuard(MMThreadLock& lock) : lock_(&lock)
+
161 {
+
162 lock_->Lock();
+
163 }
+
164
+
165 MMThreadGuard(MMThreadLock* lock) : lock_(lock)
+
166 {
+
167 if (lock != 0)
+
168 lock_->Lock();
+
169 }
+
170
+
171 bool isLocked() {return lock_ == 0 ? false : true;}
+
172
+ +
174 {
+
175 if (lock_ != 0)
+
176 lock_->Unlock();
+
177 }
+
178
+
179private:
+
180 // Forbid copying
+ +
182 MMThreadGuard& operator=(const MMThreadGuard&);
+
183
+
184 MMThreadLock* lock_;
+
185};
+
+
Definition DeviceThreads.h:34
+
Definition DeviceThreads.h:158
+
Definition DeviceThreads.h:95
diff --git a/_device_utils_8h_source.html b/_device_utils_8h_source.html index d0f8475..63cad2e 100644 --- a/_device_utils_8h_source.html +++ b/_device_utils_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: DeviceUtils.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,78 +26,86 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
DeviceUtils.h
+
DeviceUtils.h
-
1 // FILE: DeviceUtils.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: Class with utility methods for building device adapters
-
7 // AUTHOR: Nenad Amodaj, nenad@amodaj.com 06/08/2005
-
8 // COPYRIGHT: University of California, San Francisco, 2006
-
9 // LICENSE: This file is distributed under the BSD license.
-
10 // License text is included with the source distribution.
-
11 //
-
12 // This file is distributed in the hope that it will be useful,
-
13 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
14 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
15 //
-
16 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
17 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
18 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
19 //
-
20 
-
21 #pragma once
-
22 
-
23 #include "MMDeviceConstants.h"
-
24 #include <vector>
-
25 #include <string>
-
26 
- -
28 {
-
29 public:
-
30  static bool CopyLimitedString(char* pszTarget, const char* pszSource);
-
31  static unsigned GetMaxStringLength();
-
32  static const char* ConvertToString(long lnVal);
-
33  static const char* ConvertToString(double dVal);
-
34  static const char* ConvertToString(int val);
-
35  static const char* ConvertToString(bool val);
-
36  static void Tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = ",");
-
37  static void SleepMs(long ms);
-
38  static void NapMicros(unsigned long microsecs);
-
39  static std::string HexRep(std::vector<unsigned char> );
-
40 private:
-
41  static char m_pszBuffer[MM::MaxStrLength];
-
42 };
-
Definition: DeviceUtils.h:28
-
static const char * ConvertToString(long lnVal)
Definition: DeviceUtils.cpp:63
-
static void Tokenize(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")
Definition: DeviceUtils.cpp:129
-
static bool CopyLimitedString(char *pszTarget, const char *pszSource)
Definition: DeviceUtils.cpp:43
-
static unsigned GetMaxStringLength()
Definition: DeviceUtils.cpp:52
-
static void SleepMs(long ms)
Definition: DeviceUtils.cpp:150
-
static void NapMicros(unsigned long microsecs)
Definition: DeviceUtils.cpp:162
+
1
+
2// FILE: DeviceUtils.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: Class with utility methods for building device adapters
+
7// AUTHOR: Nenad Amodaj, nenad@amodaj.com 06/08/2005
+
8// COPYRIGHT: University of California, San Francisco, 2006
+
9// LICENSE: This file is distributed under the BSD license.
+
10// License text is included with the source distribution.
+
11//
+
12// This file is distributed in the hope that it will be useful,
+
13// but WITHOUT ANY WARRANTY; without even the implied warranty
+
14// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
15//
+
16// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
17// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
18// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
19//
+
20
+
21#pragma once
+
22
+
23#include "MMDeviceConstants.h"
+
24#include <vector>
+
25#include <string>
+
26
+
+ +
28{
+
29public:
+
30 static bool CopyLimitedString(char* pszTarget, const char* pszSource);
+
31 static unsigned GetMaxStringLength();
+
32 static const char* ConvertToString(long lnVal);
+
33 static const char* ConvertToString(double dVal);
+
34 static const char* ConvertToString(int val);
+
35 static const char* ConvertToString(bool val);
+
36 static void Tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = ",");
+
37 static void SleepMs(long ms);
+
38 static void NapMicros(unsigned long microsecs);
+
39 static std::string HexRep(std::vector<unsigned char> );
+
40private:
+
41 static char m_pszBuffer[MM::MaxStrLength];
+
42};
+
+
Definition DeviceUtils.h:28
+
static const char * ConvertToString(long lnVal)
Definition DeviceUtils.cpp:63
+
static void Tokenize(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")
Definition DeviceUtils.cpp:129
+
static bool CopyLimitedString(char *pszTarget, const char *pszSource)
Definition DeviceUtils.cpp:43
+
static unsigned GetMaxStringLength()
Definition DeviceUtils.cpp:52
+
static void SleepMs(long ms)
Definition DeviceUtils.cpp:150
+
static void NapMicros(unsigned long microsecs)
Definition DeviceUtils.cpp:162
diff --git a/_image_metadata_8h_source.html b/_image_metadata_8h_source.html index a2e222b..dbd51be 100644 --- a/_image_metadata_8h_source.html +++ b/_image_metadata_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: ImageMetadata.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,519 +26,539 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
ImageMetadata.h
+
ImageMetadata.h
-
1 // FILE: ImageMetadata.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMCore
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: Metadata associated with the acquired image
-
7 //
-
8 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 06/07/2007
-
9 // COPYRIGHT: University of California, San Francisco, 2007
-
10 // 100X Imaging Inc, 2008
-
11 //
-
12 // LICENSE: This file is distributed under the "Lesser GPL" (LGPL) license.
-
13 // License text is included with the source distribution.
-
14 //
-
15 // This file is distributed in the hope that it will be useful,
-
16 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
17 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
18 //
-
19 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
20 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
21 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
22 
-
23 #pragma once
-
24 
-
25 #include "MMDeviceConstants.h"
-
26 
-
27 #include <string>
-
28 #include <vector>
-
29 #include <map>
-
30 #include <sstream>
-
31 #include <stdio.h>
-
32 #include <stdlib.h>
-
33 
-
34 #ifdef SWIG
-
35 #define MMDEVICE_LEGACY_THROW(ex) throw (ex)
-
36 #else
-
37 #define MMDEVICE_LEGACY_THROW(ex)
-
38 #endif
-
39 
-
41 // MetadataError
-
42 // -------------
-
43 // Micro-Manager metadata error class, used to create exception objects
-
44 //
- -
46 {
-
47 public:
-
48  MetadataError(const char* msg) :
-
49  message_(msg) {}
-
50 
-
51  virtual ~MetadataError() {}
-
52 
-
53  virtual std::string getMsg()
-
54  {
-
55  return message_;
-
56  }
-
57 
-
58 private:
-
59  std::string message_;
-
60 };
-
61 
- -
63 {
-
64 public:
- -
66  MetadataError("Undefined metadata key") {}
-
67  ~MetadataKeyError() {}
-
68 };
-
69 
- -
71 {
-
72 public:
- -
74  MetadataError("Metadata array index out of bounds") {}
-
75  ~MetadataIndexError() {}
-
76 };
-
77 
-
78 
-
79 class MetadataSingleTag;
-
80 class MetadataArrayTag;
-
81 
- -
86 {
-
87 public:
-
88  MetadataTag() : name_("undefined"), deviceLabel_("undefined"), readOnly_(false) {}
-
89  MetadataTag(const char* name, const char* device, bool readOnly) :
-
90  name_(name), deviceLabel_(device), readOnly_(readOnly) {}
-
91  virtual ~MetadataTag() {}
-
92 
-
93  const std::string& GetDevice() const {return deviceLabel_;}
-
94  const std::string& GetName() const {return name_;}
-
95  const std::string GetQualifiedName() const
-
96  {
-
97  std::string str;
-
98  if (deviceLabel_.compare("_") != 0)
-
99  {
-
100  str.append(deviceLabel_).append("-");
-
101  }
-
102  str.append(name_);
-
103  return str;
-
104  }
-
105  bool IsReadOnly() const {return readOnly_;}
-
106 
-
107  void SetDevice(const char* device) {deviceLabel_ = device;}
-
108  void SetName(const char* name) {name_ = name;}
-
109  void SetReadOnly(bool ro) {readOnly_ = ro;}
-
110 
-
117  virtual const MetadataSingleTag* ToSingleTag() const { return 0; }
-
122  virtual const MetadataArrayTag* ToArrayTag() const { return 0; }
-
123 
-
124  //inline MetadataSingleTag* ToSingleTag() {
-
125  // const MetadataTag *p = this;
-
126  // return const_cast<MetadataSingleTag*>(p->ToSingleTag());
-
127  // }
-
128  //inline MetadataArrayTag* ToArrayTag() {
-
129  // const MetadataTag *p = this;
-
130  // return const_cast<MetadataArrayTag*>(p->ToArrayTag());
-
131  //}
-
132 
-
133  virtual MetadataTag* Clone() = 0;
-
134  virtual std::string Serialize() = 0;
-
135  virtual bool Restore(const char* stream) = 0;
-
136  virtual bool Restore(std::istringstream& is) = 0;
-
137 
-
138  static std::string ReadLine(std::istringstream& is)
-
139  {
-
140  std::string ret;
-
141  std::getline(is, ret);
-
142  return ret;
-
143  }
-
144 
-
145 private:
-
146  std::string name_;
-
147  std::string deviceLabel_;
-
148  bool readOnly_;
-
149 };
-
150 
- -
152 {
-
153 public:
-
154  MetadataSingleTag() {}
-
155  MetadataSingleTag(const char* name, const char* device, bool readOnly) :
-
156  MetadataTag(name, device, readOnly) {}
-
157  ~MetadataSingleTag() {}
-
158 
-
159  const std::string& GetValue() const {return value_;}
-
160  void SetValue(const char* val) {value_ = val;}
-
161 
-
162  virtual const MetadataSingleTag* ToSingleTag() const { return this; }
-
163 
-
164  MetadataTag* Clone()
-
165  {
-
166  return new MetadataSingleTag(*this);
-
167  }
-
168 
-
169  std::string Serialize()
-
170  {
-
171  std::string str;
-
172 
-
173  str.append(GetName()).append("\n");
-
174  str.append(GetDevice()).append("\n");
-
175  str.append(IsReadOnly() ? "1" : "0").append("\n");
-
176 
-
177  str.append(value_).append("\n");
-
178 
-
179  return str;
-
180  }
-
181 
-
182  bool Restore(const char* stream)
-
183  {
-
184  std::istringstream is(stream);
-
185  return Restore(is);
-
186  }
-
187 
-
188  bool Restore(std::istringstream& is)
-
189  {
-
190  SetName(ReadLine(is).c_str());
-
191  SetDevice(ReadLine(is).c_str());
-
192  SetReadOnly(atoi(ReadLine(is).c_str()) != 0);
-
193 
-
194  value_ = ReadLine(is);
-
195 
-
196  return true;
-
197  }
-
198 
-
199 private:
-
200  std::string value_;
-
201 };
-
202 
- -
204 {
-
205 public:
-
206  MetadataArrayTag() {}
-
207  MetadataArrayTag(const char* name, const char* device, bool readOnly) :
-
208  MetadataTag(name, device, readOnly) {}
-
209  ~MetadataArrayTag() {}
-
210 
-
211  virtual const MetadataArrayTag* ToArrayTag() const { return this; }
-
212 
-
213  void AddValue(const char* val) {values_.push_back(val);}
-
214  void SetValue(const char* val, size_t idx)
-
215  {
-
216  if (values_.size() < idx+1)
-
217  values_.resize(idx+1);
-
218  values_[idx] = val;
-
219  }
-
220 
-
221  const std::string& GetValue(size_t idx) const {
-
222  if (idx >= values_.size())
-
223  throw MetadataIndexError();
-
224  return values_[idx];
-
225  }
-
226 
-
227  size_t GetSize() const {return values_.size();}
-
228 
-
229  MetadataTag* Clone()
-
230  {
-
231  return new MetadataArrayTag(*this);
-
232  }
-
233 
-
234  std::string Serialize()
-
235  {
-
236  std::string str;
-
237 
-
238  str.append(GetName()).append("\n");
-
239  str.append(GetDevice()).append("\n");
-
240  str.append(IsReadOnly() ? "1" : "0").append("\n");
-
241 
-
242  std::stringstream os;
-
243  os << values_.size();
-
244  str.append(os.str()).append("\n");
-
245 
-
246  for (size_t i = 0; i < values_.size(); i++)
-
247  str.append(values_[i]).append("\n");
-
248 
-
249  return str;
-
250  }
-
251 
-
252  bool Restore(const char* stream)
-
253  {
-
254  std::istringstream is(stream);
-
255  return Restore(is);
-
256  }
-
257 
-
258  bool Restore(std::istringstream& is)
-
259  {
-
260  SetName(ReadLine(is).c_str());
-
261  SetDevice(ReadLine(is).c_str());
-
262  SetReadOnly(atoi(ReadLine(is).c_str()) != 0);
-
263 
-
264  size_t size = atol(ReadLine(is).c_str());
-
265 
-
266  values_.resize(size);
-
267 
-
268  for (size_t i = 0; i < size; i++)
-
269  values_[i] = ReadLine(is);
-
270 
-
271  return true;
-
272  }
-
273 
-
274 private:
-
275  std::vector<std::string> values_;
-
276 };
-
277 
-
281 class Metadata
-
282 {
-
283 public:
-
284 
-
285  Metadata() {} // empty constructor
-
286 
-
287  ~Metadata() // destructor
-
288  {
-
289  Clear();
-
290  }
-
291 
-
292  Metadata(const Metadata& original) // copy constructor
-
293  {
-
294  for (TagConstIter it = original.tags_.begin(); it != original.tags_.end(); it++)
-
295  {
-
296  SetTag(*it->second);
-
297  }
-
298  }
-
299 
-
300  void Clear()
-
301  {
-
302  for (TagConstIter it=tags_.begin(); it != tags_.end(); it++)
-
303  delete it->second;
-
304  tags_.clear();
-
305  }
-
306 
-
307  std::vector<std::string> GetKeys() const
-
308  {
-
309  std::vector<std::string> keyList;
-
310  for (TagConstIter it = tags_.begin(), end = tags_.end(); it != end; ++it)
-
311  keyList.push_back(it->first);
-
312  return keyList;
-
313  }
-
314 
-
315  bool HasTag(const char* key)
-
316  {
-
317  TagConstIter it = tags_.find(key);
-
318  if (it != tags_.end())
-
319  return true;
-
320  else
-
321  return false;
-
322  }
-
323 
-
324  MetadataSingleTag GetSingleTag(const char* key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
-
325  {
-
326  MetadataTag* tag = FindTag(key);
-
327  const MetadataSingleTag* stag = tag->ToSingleTag();
-
328  return *stag;
-
329  }
-
330 
-
331  MetadataArrayTag GetArrayTag(const char* key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
-
332  {
-
333  MetadataTag* tag = FindTag(key);
-
334  const MetadataArrayTag* atag = tag->ToArrayTag();
-
335  return *atag;
-
336  }
-
337 
-
338  void SetTag(MetadataTag& tag)
-
339  {
-
340  MetadataTag* newTag = tag.Clone();
-
341  const std::string key(tag.GetQualifiedName());
-
342  RemoveTag(key.c_str());
-
343  tags_[key] = newTag;
-
344  }
-
345 
-
346  void RemoveTag(const char* key)
-
347  {
-
348  TagIter it = tags_.find(key);
-
349  if (it != tags_.end())
-
350  {
-
351  delete it->second;
-
352  tags_.erase(it); // Non-const iterator needed in pre-C++11 code
-
353  }
-
354  }
-
355 
-
356  /*
-
357  * Convenience method to add a MetadataSingleTag
-
358  */
-
359  template <class anytype>
-
360  void PutTag(std::string key, std::string deviceLabel, anytype value)
-
361  {
-
362  std::stringstream os;
-
363  os << value;
-
364  MetadataSingleTag* newTag = new MetadataSingleTag(key.c_str(), deviceLabel.c_str(), true);
-
365  newTag->SetValue(os.str().c_str());
-
366  tags_[newTag->GetQualifiedName()] = newTag;
-
367  }
-
368 
-
369  /*
-
370  * Add a tag not associated with any device.
-
371  */
-
372  template <class anytype>
-
373  void PutImageTag(std::string key, anytype value)
-
374  {
-
375  PutTag(key, "_", value);
-
376  }
-
377 
-
378  /*
-
379  * Deprecated name. Equivalent to PutImageTag.
-
380  */
-
381  template <class anytype>
-
382  void put(std::string key, anytype value)
-
383  {
-
384  PutImageTag(key, value);
-
385  }
-
386 
-
387 #ifndef SWIG
-
388  Metadata& operator=(const Metadata& rhs)
-
389  {
-
390  Clear();
-
391 
-
392  for (TagConstIter it=rhs.tags_.begin(); it != rhs.tags_.end(); it++)
-
393  {
-
394  SetTag(*it->second);
-
395  }
-
396 
-
397  return *this;
-
398  }
-
399 #endif
-
400 
-
401  void Merge(const Metadata& newTags)
-
402  {
-
403  for (TagConstIter it=newTags.tags_.begin(); it != newTags.tags_.end(); it++)
-
404  {
-
405  SetTag(*it->second);
-
406  }
-
407  }
-
408 
-
409  std::string Serialize() const
-
410  {
-
411  std::string str;
-
412 
-
413  std::ostringstream os;
-
414  os << tags_.size();
-
415  str.append(os.str()).append("\n");
-
416 
-
417  for (TagConstIter it = tags_.begin(); it != tags_.end(); it++)
-
418  {
-
419  const std::string id((it->second->ToArrayTag()) ? "a" : "s");
-
420  str.append(id).append("\n");
-
421 
-
422  str.append(it->second->Serialize());
-
423  }
-
424 
-
425  return str;
-
426  }
-
427 
-
428  // TODO: Can this be removed?
-
429  std::string readLine(std::istringstream &iss)
-
430  {
-
431  return MetadataTag::ReadLine(iss);
-
432  }
-
433 
-
434  bool Restore(const char* stream)
-
435  {
-
436  Clear();
-
437 
-
438  std::istringstream is(stream);
-
439 
-
440  const size_t sz = atol(readLine(is).c_str());
-
441 
-
442  for (size_t i=0; i<sz; i++)
-
443  {
-
444  const std::string id(readLine(is));
-
445 
-
446  MetadataTag* newTag;
-
447  if (id.compare("s") == 0)
-
448  {
-
449  newTag = new MetadataSingleTag();
-
450  }
-
451  else if (id.compare("a") == 0)
-
452  {
-
453  newTag = new MetadataArrayTag();
-
454  }
-
455  else
-
456  {
-
457  return false;
-
458  }
-
459 
-
460  newTag->Restore(is);
-
461  tags_[newTag->GetQualifiedName()] = newTag;
-
462  }
-
463  return true;
-
464  }
-
465 
-
466  std::string Dump()
-
467  {
-
468  std::ostringstream os;
-
469 
-
470  os << tags_.size();
-
471  for (TagConstIter it = tags_.begin(); it != tags_.end(); it++)
-
472  {
-
473  std::string id("s");
-
474  if (it->second->ToArrayTag())
-
475  id = "a";
-
476  std::string ser = it->second->Serialize();
-
477  os << id << " : " << ser << '\n';
-
478  }
-
479 
-
480  return os.str();
-
481  }
-
482 
-
483 private:
-
484  MetadataTag* FindTag(const char* key) const
-
485  {
-
486  TagConstIter it = tags_.find(key);
-
487  if (it != tags_.end())
-
488  return it->second;
-
489  else
-
490  throw MetadataKeyError();
-
491  }
-
492 
-
493  std::map<std::string, MetadataTag*> tags_;
-
494  typedef std::map<std::string, MetadataTag*>::iterator TagIter;
-
495  typedef std::map<std::string, MetadataTag*>::const_iterator TagConstIter;
-
496 };
-
Definition: ImageMetadata.h:204
-
virtual const MetadataArrayTag * ToArrayTag() const
Definition: ImageMetadata.h:211
-
Definition: ImageMetadata.h:46
-
Definition: ImageMetadata.h:282
-
Definition: ImageMetadata.h:71
-
Definition: ImageMetadata.h:63
-
Definition: ImageMetadata.h:152
-
virtual const MetadataSingleTag * ToSingleTag() const
Definition: ImageMetadata.h:162
-
Definition: ImageMetadata.h:86
-
virtual const MetadataSingleTag * ToSingleTag() const
Definition: ImageMetadata.h:117
-
virtual const MetadataArrayTag * ToArrayTag() const
Definition: ImageMetadata.h:122
+
1
+
2// FILE: ImageMetadata.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMCore
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: Metadata associated with the acquired image
+
7//
+
8// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 06/07/2007
+
9// COPYRIGHT: University of California, San Francisco, 2007
+
10// 100X Imaging Inc, 2008
+
11//
+
12// LICENSE: This file is distributed under the "Lesser GPL" (LGPL) license.
+
13// License text is included with the source distribution.
+
14//
+
15// This file is distributed in the hope that it will be useful,
+
16// but WITHOUT ANY WARRANTY; without even the implied warranty
+
17// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
18//
+
19// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
20// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
21// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
22
+
23#pragma once
+
24
+
25#include "MMDeviceConstants.h"
+
26
+
27#include <string>
+
28#include <vector>
+
29#include <map>
+
30#include <sstream>
+
31#include <stdio.h>
+
32#include <stdlib.h>
+
33
+
34#ifdef SWIG
+
35#define MMDEVICE_LEGACY_THROW(ex) throw (ex)
+
36#else
+
37#define MMDEVICE_LEGACY_THROW(ex)
+
38#endif
+
39
+
41// MetadataError
+
42// -------------
+
43// Micro-Manager metadata error class, used to create exception objects
+
44//
+
+ +
46{
+
47public:
+
48 MetadataError(const char* msg) :
+
49 message_(msg) {}
+
50
+
51 virtual ~MetadataError() {}
+
52
+
53 virtual std::string getMsg()
+
54 {
+
55 return message_;
+
56 }
+
57
+
58private:
+
59 std::string message_;
+
60};
+
+
61
+
+ +
63{
+
64public:
+ +
66 MetadataError("Undefined metadata key") {}
+ +
68};
+
+
69
+
+ +
71{
+
72public:
+ +
74 MetadataError("Metadata array index out of bounds") {}
+ +
76};
+
+
77
+
78
+ + +
81
+
+ +
86{
+
87public:
+
88 MetadataTag() : name_("undefined"), deviceLabel_("undefined"), readOnly_(false) {}
+
89 MetadataTag(const char* name, const char* device, bool readOnly) :
+
90 name_(name), deviceLabel_(device), readOnly_(readOnly) {}
+
91 virtual ~MetadataTag() {}
+
92
+
93 const std::string& GetDevice() const {return deviceLabel_;}
+
94 const std::string& GetName() const {return name_;}
+
95 const std::string GetQualifiedName() const
+
96 {
+
97 std::string str;
+
98 if (deviceLabel_.compare("_") != 0)
+
99 {
+
100 str.append(deviceLabel_).append("-");
+
101 }
+
102 str.append(name_);
+
103 return str;
+
104 }
+
105 bool IsReadOnly() const {return readOnly_;}
+
106
+
107 void SetDevice(const char* device) {deviceLabel_ = device;}
+
108 void SetName(const char* name) {name_ = name;}
+
109 void SetReadOnly(bool ro) {readOnly_ = ro;}
+
110
+
117 virtual const MetadataSingleTag* ToSingleTag() const { return 0; }
+
122 virtual const MetadataArrayTag* ToArrayTag() const { return 0; }
+
123
+
124 //inline MetadataSingleTag* ToSingleTag() {
+
125 // const MetadataTag *p = this;
+
126 // return const_cast<MetadataSingleTag*>(p->ToSingleTag());
+
127 // }
+
128 //inline MetadataArrayTag* ToArrayTag() {
+
129 // const MetadataTag *p = this;
+
130 // return const_cast<MetadataArrayTag*>(p->ToArrayTag());
+
131 //}
+
132
+
133 virtual MetadataTag* Clone() = 0;
+
134 virtual std::string Serialize() = 0;
+
135 virtual bool Restore(const char* stream) = 0;
+
136 virtual bool Restore(std::istringstream& is) = 0;
+
137
+
138 static std::string ReadLine(std::istringstream& is)
+
139 {
+
140 std::string ret;
+
141 std::getline(is, ret);
+
142 return ret;
+
143 }
+
144
+
145private:
+
146 std::string name_;
+
147 std::string deviceLabel_;
+
148 bool readOnly_;
+
149};
+
+
150
+
+ +
152{
+
153public:
+ +
155 MetadataSingleTag(const char* name, const char* device, bool readOnly) :
+
156 MetadataTag(name, device, readOnly) {}
+ +
158
+
159 const std::string& GetValue() const {return value_;}
+
160 void SetValue(const char* val) {value_ = val;}
+
161
+
162 virtual const MetadataSingleTag* ToSingleTag() const { return this; }
+
163
+
164 MetadataTag* Clone()
+
165 {
+
166 return new MetadataSingleTag(*this);
+
167 }
+
168
+
169 std::string Serialize()
+
170 {
+
171 std::string str;
+
172
+
173 str.append(GetName()).append("\n");
+
174 str.append(GetDevice()).append("\n");
+
175 str.append(IsReadOnly() ? "1" : "0").append("\n");
+
176
+
177 str.append(value_).append("\n");
+
178
+
179 return str;
+
180 }
+
181
+
182 bool Restore(const char* stream)
+
183 {
+
184 std::istringstream is(stream);
+
185 return Restore(is);
+
186 }
+
187
+
188 bool Restore(std::istringstream& is)
+
189 {
+
190 SetName(ReadLine(is).c_str());
+
191 SetDevice(ReadLine(is).c_str());
+
192 SetReadOnly(atoi(ReadLine(is).c_str()) != 0);
+
193
+
194 value_ = ReadLine(is);
+
195
+
196 return true;
+
197 }
+
198
+
199private:
+
200 std::string value_;
+
201};
+
+
202
+
+ +
204{
+
205public:
+ +
207 MetadataArrayTag(const char* name, const char* device, bool readOnly) :
+
208 MetadataTag(name, device, readOnly) {}
+ +
210
+
211 virtual const MetadataArrayTag* ToArrayTag() const { return this; }
+
212
+
213 void AddValue(const char* val) {values_.push_back(val);}
+
214 void SetValue(const char* val, size_t idx)
+
215 {
+
216 if (values_.size() < idx+1)
+
217 values_.resize(idx+1);
+
218 values_[idx] = val;
+
219 }
+
220
+
221 const std::string& GetValue(size_t idx) const {
+
222 if (idx >= values_.size())
+
223 throw MetadataIndexError();
+
224 return values_[idx];
+
225 }
+
226
+
227 size_t GetSize() const {return values_.size();}
+
228
+
229 MetadataTag* Clone()
+
230 {
+
231 return new MetadataArrayTag(*this);
+
232 }
+
233
+
234 std::string Serialize()
+
235 {
+
236 std::string str;
+
237
+
238 str.append(GetName()).append("\n");
+
239 str.append(GetDevice()).append("\n");
+
240 str.append(IsReadOnly() ? "1" : "0").append("\n");
+
241
+
242 std::stringstream os;
+
243 os << values_.size();
+
244 str.append(os.str()).append("\n");
+
245
+
246 for (size_t i = 0; i < values_.size(); i++)
+
247 str.append(values_[i]).append("\n");
+
248
+
249 return str;
+
250 }
+
251
+
252 bool Restore(const char* stream)
+
253 {
+
254 std::istringstream is(stream);
+
255 return Restore(is);
+
256 }
+
257
+
258 bool Restore(std::istringstream& is)
+
259 {
+
260 SetName(ReadLine(is).c_str());
+
261 SetDevice(ReadLine(is).c_str());
+
262 SetReadOnly(atoi(ReadLine(is).c_str()) != 0);
+
263
+
264 size_t size = atol(ReadLine(is).c_str());
+
265
+
266 values_.resize(size);
+
267
+
268 for (size_t i = 0; i < size; i++)
+
269 values_[i] = ReadLine(is);
+
270
+
271 return true;
+
272 }
+
273
+
274private:
+
275 std::vector<std::string> values_;
+
276};
+
+
277
+
+ +
282{
+
283public:
+
284
+
285 Metadata() {} // empty constructor
+
286
+
287 ~Metadata() // destructor
+
288 {
+
289 Clear();
+
290 }
+
291
+
292 Metadata(const Metadata& original) // copy constructor
+
293 {
+
294 for (TagConstIter it = original.tags_.begin(); it != original.tags_.end(); it++)
+
295 {
+
296 SetTag(*it->second);
+
297 }
+
298 }
+
299
+
300 void Clear()
+
301 {
+
302 for (TagConstIter it=tags_.begin(); it != tags_.end(); it++)
+
303 delete it->second;
+
304 tags_.clear();
+
305 }
+
306
+
307 std::vector<std::string> GetKeys() const
+
308 {
+
309 std::vector<std::string> keyList;
+
310 for (TagConstIter it = tags_.begin(), end = tags_.end(); it != end; ++it)
+
311 keyList.push_back(it->first);
+
312 return keyList;
+
313 }
+
314
+
315 bool HasTag(const char* key)
+
316 {
+
317 TagConstIter it = tags_.find(key);
+
318 if (it != tags_.end())
+
319 return true;
+
320 else
+
321 return false;
+
322 }
+
323
+
324 MetadataSingleTag GetSingleTag(const char* key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
+
325 {
+
326 MetadataTag* tag = FindTag(key);
+
327 const MetadataSingleTag* stag = tag->ToSingleTag();
+
328 return *stag;
+
329 }
+
330
+
331 MetadataArrayTag GetArrayTag(const char* key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
+
332 {
+
333 MetadataTag* tag = FindTag(key);
+
334 const MetadataArrayTag* atag = tag->ToArrayTag();
+
335 return *atag;
+
336 }
+
337
+
338 void SetTag(MetadataTag& tag)
+
339 {
+
340 MetadataTag* newTag = tag.Clone();
+
341 const std::string key(tag.GetQualifiedName());
+
342 RemoveTag(key.c_str());
+
343 tags_[key] = newTag;
+
344 }
+
345
+
346 void RemoveTag(const char* key)
+
347 {
+
348 TagIter it = tags_.find(key);
+
349 if (it != tags_.end())
+
350 {
+
351 delete it->second;
+
352 tags_.erase(it); // Non-const iterator needed in pre-C++11 code
+
353 }
+
354 }
+
355
+
356 /*
+
357 * Convenience method to add a MetadataSingleTag
+
358 */
+
359 template <class anytype>
+
360 void PutTag(std::string key, std::string deviceLabel, anytype value)
+
361 {
+
362 std::stringstream os;
+
363 os << value;
+
364 MetadataSingleTag* newTag = new MetadataSingleTag(key.c_str(), deviceLabel.c_str(), true);
+
365 newTag->SetValue(os.str().c_str());
+
366 tags_[newTag->GetQualifiedName()] = newTag;
+
367 }
+
368
+
369 /*
+
370 * Add a tag not associated with any device.
+
371 */
+
372 template <class anytype>
+
373 void PutImageTag(std::string key, anytype value)
+
374 {
+
375 PutTag(key, "_", value);
+
376 }
+
377
+
378 /*
+
379 * Deprecated name. Equivalent to PutImageTag.
+
380 */
+
381 template <class anytype>
+
382 void put(std::string key, anytype value)
+
383 {
+
384 PutImageTag(key, value);
+
385 }
+
386
+
387#ifndef SWIG
+
388 Metadata& operator=(const Metadata& rhs)
+
389 {
+
390 Clear();
+
391
+
392 for (TagConstIter it=rhs.tags_.begin(); it != rhs.tags_.end(); it++)
+
393 {
+
394 SetTag(*it->second);
+
395 }
+
396
+
397 return *this;
+
398 }
+
399#endif
+
400
+
401 void Merge(const Metadata& newTags)
+
402 {
+
403 for (TagConstIter it=newTags.tags_.begin(); it != newTags.tags_.end(); it++)
+
404 {
+
405 SetTag(*it->second);
+
406 }
+
407 }
+
408
+
409 std::string Serialize() const
+
410 {
+
411 std::string str;
+
412
+
413 std::ostringstream os;
+
414 os << tags_.size();
+
415 str.append(os.str()).append("\n");
+
416
+
417 for (TagConstIter it = tags_.begin(); it != tags_.end(); it++)
+
418 {
+
419 const std::string id((it->second->ToArrayTag()) ? "a" : "s");
+
420 str.append(id).append("\n");
+
421
+
422 str.append(it->second->Serialize());
+
423 }
+
424
+
425 return str;
+
426 }
+
427
+
428 // TODO: Can this be removed?
+
429 std::string readLine(std::istringstream &iss)
+
430 {
+
431 return MetadataTag::ReadLine(iss);
+
432 }
+
433
+
434 bool Restore(const char* stream)
+
435 {
+
436 Clear();
+
437
+
438 std::istringstream is(stream);
+
439
+
440 const size_t sz = atol(readLine(is).c_str());
+
441
+
442 for (size_t i=0; i<sz; i++)
+
443 {
+
444 const std::string id(readLine(is));
+
445
+
446 MetadataTag* newTag;
+
447 if (id.compare("s") == 0)
+
448 {
+
449 newTag = new MetadataSingleTag();
+
450 }
+
451 else if (id.compare("a") == 0)
+
452 {
+
453 newTag = new MetadataArrayTag();
+
454 }
+
455 else
+
456 {
+
457 return false;
+
458 }
+
459
+
460 newTag->Restore(is);
+
461 tags_[newTag->GetQualifiedName()] = newTag;
+
462 }
+
463 return true;
+
464 }
+
465
+
466 std::string Dump()
+
467 {
+
468 std::ostringstream os;
+
469
+
470 os << tags_.size();
+
471 for (TagConstIter it = tags_.begin(); it != tags_.end(); it++)
+
472 {
+
473 std::string id("s");
+
474 if (it->second->ToArrayTag())
+
475 id = "a";
+
476 std::string ser = it->second->Serialize();
+
477 os << id << " : " << ser << '\n';
+
478 }
+
479
+
480 return os.str();
+
481 }
+
482
+
483private:
+
484 MetadataTag* FindTag(const char* key) const
+
485 {
+
486 TagConstIter it = tags_.find(key);
+
487 if (it != tags_.end())
+
488 return it->second;
+
489 else
+
490 throw MetadataKeyError();
+
491 }
+
492
+
493 std::map<std::string, MetadataTag*> tags_;
+
494 typedef std::map<std::string, MetadataTag*>::iterator TagIter;
+
495 typedef std::map<std::string, MetadataTag*>::const_iterator TagConstIter;
+
496};
+
+
Definition ImageMetadata.h:204
+
virtual const MetadataArrayTag * ToArrayTag() const
Definition ImageMetadata.h:211
+
Definition ImageMetadata.h:46
+
Definition ImageMetadata.h:282
+
Definition ImageMetadata.h:71
+
Definition ImageMetadata.h:63
+
Definition ImageMetadata.h:152
+
virtual const MetadataSingleTag * ToSingleTag() const
Definition ImageMetadata.h:162
+
Definition ImageMetadata.h:86
+
virtual const MetadataSingleTag * ToSingleTag() const
Definition ImageMetadata.h:117
+
virtual const MetadataArrayTag * ToArrayTag() const
Definition ImageMetadata.h:122
diff --git a/_img_buffer_8h_source.html b/_img_buffer_8h_source.html index b0407a9..84f0f85 100644 --- a/_img_buffer_8h_source.html +++ b/_img_buffer_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: ImgBuffer.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,101 +26,109 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
ImgBuffer.h
+
ImgBuffer.h
-
1 // MODULE: ImgBuffer.h
-
3 // SYSTEM: ImageBase subsystem
-
4 // AUTHOR: Nenad Amodaj, nenad@amodaj.com
-
5 //
-
6 // DESCRIPTION: Basic implementation for the raw image buffer data structure.
-
7 //
-
8 // COPYRIGHT: Nenad Amodaj, 2005. All rights reserved.
-
9 //
-
10 // LICENSE: This file is free for use, modification and distribution and
-
11 // is distributed under terms specified in the BSD license
-
12 // This file is distributed in the hope that it will be useful,
-
13 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
14 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
15 //
-
16 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
17 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
18 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
19 //
-
20 // NOTE: Imported from ADVI for use in Micro-Manager
-
21 
-
22 #pragma once
-
23 
-
24 #include <string>
-
25 
-
26 #include "ImageMetadata.h"
-
27 
-
29 //
-
30 // CImgBuffer class
-
31 // ~~~~~~~~~~~~~~~~~~
-
32 // Variable pixel depth image buffer
-
33 //
-
34 
-
35 class ImgBuffer
-
36 {
-
37 public:
-
38  ImgBuffer(unsigned xSize, unsigned ySize, unsigned pixDepth);
-
39  ImgBuffer(const ImgBuffer& ib);
-
40  ImgBuffer();
-
41  ~ImgBuffer();
-
42 
-
43  unsigned int Width() const {return width_;}
-
44  unsigned int Height() const {return height_;}
-
45  unsigned int Depth() const {return pixDepth_;}
-
46  void SetPixels(const void* pixArray);
-
47  void SetPixelsPadded(const void* pixArray, int paddingBytesPerLine);
-
48  void ResetPixels();
-
49  const unsigned char* GetPixels() const;
-
50  unsigned char* GetPixelsRW();
-
51 
-
52  void Resize(unsigned xSize, unsigned ySize, unsigned pixDepth);
-
53  void Resize(unsigned xSize, unsigned ySize);
-
54  bool Compatible(const ImgBuffer& img) const;
-
55 
-
56  void SetName(const char* name) {name_ = name;}
-
57  const std::string& GetName() {return name_;}
-
58  void SetMetadata(const Metadata& md);
-
59  const Metadata& GetMetadata() const {return metadata_;}
-
60 
-
61  void Copy(const ImgBuffer& rhs);
-
62  ImgBuffer& operator=(const ImgBuffer& rhs);
-
63 
-
64 private:
-
65  unsigned char* pixels_;
-
66  unsigned int width_;
-
67  unsigned int height_;
-
68  unsigned int pixDepth_;
-
69  std::string name_;
-
70  Metadata metadata_;
-
71 };
-
Definition: ImgBuffer.h:36
-
Definition: ImageMetadata.h:282
+
1
+
2// MODULE: ImgBuffer.h
+
3// SYSTEM: ImageBase subsystem
+
4// AUTHOR: Nenad Amodaj, nenad@amodaj.com
+
5//
+
6// DESCRIPTION: Basic implementation for the raw image buffer data structure.
+
7//
+
8// COPYRIGHT: Nenad Amodaj, 2005. All rights reserved.
+
9//
+
10// LICENSE: This file is free for use, modification and distribution and
+
11// is distributed under terms specified in the BSD license
+
12// This file is distributed in the hope that it will be useful,
+
13// but WITHOUT ANY WARRANTY; without even the implied warranty
+
14// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
15//
+
16// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
17// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
18// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
19//
+
20// NOTE: Imported from ADVI for use in Micro-Manager
+
21
+
22#pragma once
+
23
+
24#include <string>
+
25
+
26#include "ImageMetadata.h"
+
27
+
29//
+
30// CImgBuffer class
+
31// ~~~~~~~~~~~~~~~~~~
+
32// Variable pixel depth image buffer
+
33//
+
34
+
+ +
36{
+
37public:
+
38 ImgBuffer(unsigned xSize, unsigned ySize, unsigned pixDepth);
+
39 ImgBuffer(const ImgBuffer& ib);
+
40 ImgBuffer();
+
41 ~ImgBuffer();
+
42
+
43 unsigned int Width() const {return width_;}
+
44 unsigned int Height() const {return height_;}
+
45 unsigned int Depth() const {return pixDepth_;}
+
46 void SetPixels(const void* pixArray);
+
47 void SetPixelsPadded(const void* pixArray, int paddingBytesPerLine);
+
48 void ResetPixels();
+
49 const unsigned char* GetPixels() const;
+
50 unsigned char* GetPixelsRW();
+
51
+
52 void Resize(unsigned xSize, unsigned ySize, unsigned pixDepth);
+
53 void Resize(unsigned xSize, unsigned ySize);
+
54 bool Compatible(const ImgBuffer& img) const;
+
55
+
56 void SetName(const char* name) {name_ = name;}
+
57 const std::string& GetName() {return name_;}
+
58 void SetMetadata(const Metadata& md);
+
59 const Metadata& GetMetadata() const {return metadata_;}
+
60
+
61 void Copy(const ImgBuffer& rhs);
+
62 ImgBuffer& operator=(const ImgBuffer& rhs);
+
63
+
64private:
+
65 unsigned char* pixels_;
+
66 unsigned int width_;
+
67 unsigned int height_;
+
68 unsigned int pixDepth_;
+
69 std::string name_;
+
70 Metadata metadata_;
+
71};
+
+
Definition ImgBuffer.h:36
+
Definition ImageMetadata.h:282
diff --git a/_m_m_device_8h_source.html b/_m_m_device_8h_source.html index b818465..2f3ac1e 100644 --- a/_m_m_device_8h_source.html +++ b/_m_m_device_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMDevice.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,837 +26,879 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
MMDevice.h
+
MMDevice.h
-
1 // FILE: MMDevice.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: The interface to the Micro-Manager devices. Defines the
-
7 // plugin API for all devices.
-
8 //
-
9 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 06/08/2005
-
10 //
-
11 // COPYRIGHT: University of California, San Francisco, 2006-2014
-
12 // 100X Imaging Inc, 2008
-
13 //
-
14 // LICENSE: This file is distributed under the BSD license.
-
15 // License text is included with the source distribution.
-
16 //
-
17 // This file is distributed in the hope that it will be useful,
-
18 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
19 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
20 //
-
21 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
22 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
23 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
24 
-
25 #pragma once
-
26 
-
28 // Header version
-
29 // If any of the class definitions changes, the interface version
-
30 // must be incremented
-
31 #define DEVICE_INTERFACE_VERSION 71
-
33 
-
34 // N.B.
-
35 //
-
36 // Never add parameters or return values that are not POD
-
37 // (http://stackoverflow.com/a/146454) to any method of class Device and its
-
38 // derived classes defined in this file. For example, a std::string parameter
-
39 // is not acceptable (use const char*). This is to prevent inter-DLL
-
40 // incompatibilities.
-
41 
-
42 #include "MMDeviceConstants.h"
-
43 #include "DeviceUtils.h"
-
44 #include "ImageMetadata.h"
-
45 #include "DeviceThreads.h"
-
46 
-
47 #include <climits>
-
48 #include <cstdlib>
-
49 #include <cstring>
-
50 #include <iomanip>
-
51 #include <sstream>
-
52 #include <string>
-
53 #include <vector>
-
54 
-
55 
-
56 #ifdef MMDEVICE_CLIENT_BUILD
-
57 // Hide deprecation warnings when building MMCore
-
58 # define MM_DEPRECATED(prototype) prototype
-
59 #else
-
60 # ifdef _MSC_VER
-
61 # define MM_DEPRECATED(prototype) __declspec(deprecated) prototype
-
62 # elif defined(__GNUC__)
-
63 # define MM_DEPRECATED(prototype) prototype __attribute__((deprecated))
-
64 # else
-
65 # define MM_DEPRECATED(prototype) prototype
-
66 # endif
-
67 #endif
-
68 
-
69 // To be removed once the deprecated Get/SetModuleHandle() is removed:
-
70 #ifdef _WIN32
-
71  #define WIN32_LEAN_AND_MEAN
-
72  #include <windows.h>
-
73 
-
74  typedef HMODULE HDEVMODULE;
-
75 #else
-
76  typedef void* HDEVMODULE;
-
77 #endif
-
78 
-
79 class ImgBuffer;
-
80 
-
81 namespace MM {
-
82 
-
83  // forward declaration for the MMCore callback class
-
84  class Core;
-
85 
-
90  class MMTime
-
91  {
-
92  long long microseconds_;
-
93 
-
94  public:
-
95  MMTime() : microseconds_(0LL) {}
-
96 
-
97  explicit MMTime(double uSecTotal) :
-
98  microseconds_(static_cast<long long>(uSecTotal))
-
99  {}
-
100 
-
101  explicit MMTime(long sec, long uSec) :
-
102  microseconds_(sec * 1'000'000LL + uSec)
-
103  {}
-
104 
-
105  static MMTime fromUs(long long us)
-
106  {
-
107  // Work around our lack of a constructor that directly sets the
-
108  // internal representation.
-
109  // (Note that we cannot add a constructor from 'long long' because
-
110  // many existing uses would then get an error (ambiguous with the
-
111  // 'double' overload).)
-
112  MMTime ret;
-
113  ret.microseconds_ = us;
-
114  return ret;
-
115  }
-
116 
-
117  static MMTime fromMs(double ms)
-
118  {
-
119  return MMTime(ms * 1000.0);
-
120  }
-
121 
-
122  static MMTime fromSeconds(long secs)
-
123  {
-
124  return MMTime(secs, 0);
-
125  }
-
126 
-
127  MMTime operator+(const MMTime &other) const
-
128  {
-
129  return fromUs(microseconds_ + other.microseconds_);
-
130  }
-
131 
-
132  MMTime operator-(const MMTime &other) const
-
133  {
-
134  return fromUs(microseconds_ - other.microseconds_);
-
135  }
-
136 
-
137  bool operator>(const MMTime &other) const
-
138  {
-
139  return microseconds_ > other.microseconds_;
-
140  }
-
141 
-
142  bool operator>=(const MMTime &other) const
-
143  {
-
144  return microseconds_ >= other.microseconds_;
-
145  }
-
146 
-
147  bool operator<(const MMTime &other) const
-
148  {
-
149  return microseconds_ < other.microseconds_;
-
150  }
-
151 
-
152  bool operator<=(const MMTime &other) const
-
153  {
-
154  return microseconds_ <= other.microseconds_;
-
155  }
-
156 
-
157  bool operator==(const MMTime &other) const
-
158  {
-
159  return microseconds_ == other.microseconds_;
-
160  }
-
161 
-
162  bool operator!=(const MMTime &other) const
-
163  {
-
164  return !(*this == other);
-
165  }
-
166 
-
167  double getMsec() const
-
168  {
-
169  return microseconds_ / 1000.0;
-
170  }
-
171 
-
172  double getUsec() const
-
173  {
-
174  return static_cast<double>(microseconds_);
-
175  }
-
176 
-
177  std::string toString() const {
-
178  long long absUs = std::abs(microseconds_);
-
179  long long seconds = absUs / 1'000'000LL;
-
180  long long fracUs = absUs - seconds * 1'000'000LL;
-
181  const char *sign = microseconds_ < 0 ? "-" : "";
-
182 
-
183  using namespace std;
-
184  ostringstream s;
-
185  s << sign << seconds << '.' <<
-
186  setfill('0') << right << setw(6) << fracUs;
-
187  return s.str();
-
188  }
-
189  };
-
190 
-
191 
-
195  class TimeoutMs
-
196  {
-
197  public:
-
198  // arguments: MMTime start time, millisecond interval time
-
199  explicit TimeoutMs(const MMTime startTime, const unsigned long intervalMs) :
-
200  startTime_(startTime),
-
201  interval_(0, 1000*intervalMs)
-
202  {
-
203  }
-
204  explicit TimeoutMs(const MMTime startTime, const MMTime interval) :
-
205  startTime_(startTime),
-
206  interval_(interval)
-
207  {
-
208  }
-
209 
-
210  bool expired(const MMTime tnow)
-
211  {
-
212  MMTime elapsed = tnow - startTime_;
-
213  return ( interval_ < elapsed );
-
214  }
-
215 
-
216  private:
-
217  MMTime startTime_; // start time
-
218  MMTime interval_; // interval in milliseconds
-
219  };
-
220 
-
221 
-
225  class Device {
-
226  public:
-
227  Device() {}
-
228  virtual ~Device() {}
-
229 
-
230  virtual unsigned GetNumberOfProperties() const = 0;
-
231  virtual int GetProperty(const char* name, char* value) const = 0;
-
232  virtual int SetProperty(const char* name, const char* value) = 0;
-
233  virtual bool HasProperty(const char* name) const = 0;
-
234  virtual bool GetPropertyName(unsigned idx, char* name) const = 0;
-
235  virtual int GetPropertyReadOnly(const char* name, bool& readOnly) const = 0;
-
236  virtual int GetPropertyInitStatus(const char* name, bool& preInit) const = 0;
-
237  virtual int HasPropertyLimits(const char* name, bool& hasLimits) const = 0;
-
238  virtual int GetPropertyLowerLimit(const char* name, double& lowLimit) const = 0;
-
239  virtual int GetPropertyUpperLimit(const char* name, double& hiLimit) const = 0;
-
240  virtual int GetPropertyType(const char* name, MM::PropertyType& pt) const = 0;
-
241  virtual unsigned GetNumberOfPropertyValues(const char* propertyName) const = 0;
-
242  virtual bool GetPropertyValueAt(const char* propertyName, unsigned index, char* value) const = 0;
-
251  virtual int IsPropertySequenceable(const char* name, bool& isSequenceable) const = 0;
-
255  virtual int GetPropertySequenceMaxLength(const char* propertyName, long& nrEvents) const = 0;
-
259  virtual int StartPropertySequence(const char* propertyName) = 0;
-
263  virtual int StopPropertySequence(const char* propertyName) = 0;
-
267  virtual int ClearPropertySequence(const char* propertyName) = 0;
-
271  virtual int AddToPropertySequence(const char* propertyName, const char* value) = 0;
-
275  virtual int SendPropertySequence(const char* propertyName) = 0;
-
276 
-
277  virtual bool GetErrorText(int errorCode, char* errMessage) const = 0;
-
278  virtual bool Busy() = 0;
-
279  virtual double GetDelayMs() const = 0;
-
280  virtual void SetDelayMs(double delay) = 0;
-
281  virtual bool UsesDelay() = 0;
-
282 
-
283  MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const) = 0;
-
284  MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle)) = 0;
-
285 
-
286  virtual void SetLabel(const char* label) = 0;
-
287  virtual void GetLabel(char* name) const = 0;
-
288  virtual void SetModuleName(const char* moduleName) = 0;
-
289  virtual void GetModuleName(char* moduleName) const = 0;
-
290  virtual void SetDescription(const char* description) = 0;
-
291  virtual void GetDescription(char* description) const = 0;
-
292 
-
293  virtual int Initialize() = 0;
-
302  virtual int Shutdown() = 0;
-
303 
-
304  virtual DeviceType GetType() const = 0;
-
305  virtual void GetName(char* name) const = 0;
-
306  virtual void SetCallback(Core* callback) = 0;
-
307 
-
308  //device discovery API
-
309  virtual bool SupportsDeviceDetection(void) = 0;
-
310  virtual MM::DeviceDetectionStatus DetectDevice(void) = 0;
-
311 
-
312  // hub-peripheral relationship
-
313  virtual void SetParentID(const char* parentId) = 0;
-
314  virtual void GetParentID(char* parentID) const = 0;
-
315  // virtual void SetID(const char* id) = 0;
-
316  // virtual void GetID(char* id) const = 0;
-
317  };
-
318 
-
322  class Generic : public Device
-
323  {
-
324  public:
-
325  virtual DeviceType GetType() const { return Type; }
-
326  static const DeviceType Type;
-
327  };
-
328 
-
332  class Camera : public Device {
-
333  public:
-
334  Camera() {}
-
335  virtual ~Camera() {}
-
336 
-
337  virtual DeviceType GetType() const { return Type; }
-
338  static const DeviceType Type;
-
339 
-
340  // Camera API
-
349  virtual int SnapImage() = 0;
-
374  virtual const unsigned char* GetImageBuffer() = 0;
-
386  virtual const unsigned char* GetImageBuffer(unsigned channelNr) = 0;
-
390  virtual const unsigned int* GetImageBufferAsRGB32() = 0;
-
395  virtual unsigned GetNumberOfComponents() const = 0;
-
399  virtual int GetComponentName(unsigned component, char* name) = 0;
-
405  virtual int unsigned GetNumberOfChannels() const = 0;
-
410  virtual int GetChannelName(unsigned channel, char* name) = 0;
-
416  virtual long GetImageBufferSize() const = 0;
-
421  virtual unsigned GetImageWidth() const = 0;
-
426  virtual unsigned GetImageHeight() const = 0;
-
431  virtual unsigned GetImageBytesPerPixel() const = 0;
-
438  virtual unsigned GetBitDepth() const = 0;
-
443  virtual double GetPixelSizeUm() const = 0;
-
447  virtual int GetBinning() const = 0;
-
451  virtual int SetBinning(int binSize) = 0;
-
455  virtual void SetExposure(double exp_ms) = 0;
-
459  virtual double GetExposure() const = 0;
-
473  virtual int SetROI(unsigned x, unsigned y, unsigned xSize, unsigned ySize) = 0;
-
477  virtual int GetROI(unsigned& x, unsigned& y, unsigned& xSize, unsigned& ySize) = 0;
-
481  virtual int ClearROI() = 0;
-
482  virtual bool SupportsMultiROI() = 0;
-
483  virtual bool IsMultiROISet() = 0;
-
484  virtual int GetMultiROICount(unsigned& count) = 0;
-
485  virtual int SetMultiROI(const unsigned* xs, const unsigned* ys,
-
486  const unsigned* widths, const unsigned* heights,
-
487  unsigned numROIs) = 0;
-
488  virtual int GetMultiROI(unsigned* xs, unsigned* ys, unsigned* widths,
-
489  unsigned* heights, unsigned* length) = 0;
-
493  virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow) = 0;
-
498  virtual int StartSequenceAcquisition(double interval_ms) = 0;
-
502  virtual int StopSequenceAcquisition() = 0;
-
506  virtual int PrepareSequenceAcqusition() = 0;
-
511  virtual bool IsCapturing() = 0;
-
512 
-
519  virtual void GetTags(char* serializedMetadata) = 0;
-
520 
-
528  virtual void AddTag(const char* key, const char* deviceLabel, const char* value) = 0;
-
529 
-
535  virtual void RemoveTag(const char* key) = 0;
-
536 
-
542  virtual int IsExposureSequenceable(bool& isSequenceable) const = 0;
-
543 
-
544  // Sequence functions
-
545  // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
-
546  // computer commands.
-
547  // Sequences of exposures can be uploaded to the camera. The camera will cycle through
-
548  // the uploaded list of exposures (triggered by either an internal or
-
549  // external trigger). If the device is capable (and ready) to do so isSequenceable will
-
550  // be true. If your device can not execute this (true for most cameras)
-
551  // simply set IsExposureSequenceable to false
-
552  virtual int GetExposureSequenceMaxLength(long& nrEvents) const = 0;
-
553  virtual int StartExposureSequence() = 0;
-
554  virtual int StopExposureSequence() = 0;
-
555  // Remove all values in the sequence
-
556  virtual int ClearExposureSequence() = 0;
-
557  // Add one value to the sequence
-
558  virtual int AddToExposureSequence(double exposureTime_ms) = 0;
-
559  // Signal that we are done sending sequence values so that the adapter can send the whole sequence to the device
-
560  virtual int SendExposureSequence() const = 0;
-
561  };
-
562 
-
566  class Shutter : public Device
-
567  {
-
568  public:
-
569  Shutter() {}
-
570  virtual ~Shutter() {}
-
571 
-
572  // Device API
-
573  virtual DeviceType GetType() const { return Type; }
-
574  static const DeviceType Type;
-
575 
-
576  // Shutter API
-
577  virtual int SetOpen(bool open = true) = 0;
-
578  virtual int GetOpen(bool& open) = 0;
-
583  virtual int Fire(double deltaT) = 0;
-
584  };
-
585 
-
589  class Stage : public Device
-
590  {
-
591  public:
-
592  Stage() {}
-
593  virtual ~Stage() {}
-
594 
-
595  // Device API
-
596  virtual DeviceType GetType() const { return Type; }
-
597  static const DeviceType Type;
-
598 
-
599  // Stage API
-
600  virtual int SetPositionUm(double pos) = 0;
-
601  virtual int SetRelativePositionUm(double d) = 0;
-
602  virtual int Move(double velocity) = 0;
-
603  virtual int Stop() = 0;
-
604  virtual int Home() = 0;
-
605  virtual int SetAdapterOriginUm(double d) = 0;
-
606  virtual int GetPositionUm(double& pos) = 0;
-
607  virtual int SetPositionSteps(long steps) = 0;
-
608  virtual int GetPositionSteps(long& steps) = 0;
-
609  virtual int SetOrigin() = 0;
-
610  virtual int GetLimits(double& lower, double& upper) = 0;
-
611 
-
625  virtual int GetFocusDirection(FocusDirection& direction) = 0;
-
626 
-
634  virtual int IsStageSequenceable(bool& isSequenceable) const = 0;
-
635 
-
645  virtual int IsStageLinearSequenceable(bool& isSequenceable) const = 0;
-
646 
-
647  // Check if a stage has continuous focusing capability (positions can be set while continuous focus runs).
-
648  virtual bool IsContinuousFocusDrive() const = 0;
-
649 
-
650  // Sequence functions
-
651  // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
-
652  // computer commands.
-
653  // Sequences of positions can be uploaded to the stage. The device will cycle through
-
654  // the uploaded list of states (triggered by an external trigger - most often coming
-
655  // from the camera). If the device is capable (and ready) to do so isSequenceable will
-
656  // be true. If your device can not execute this (true for most stages)
-
657  // simply set isSequenceable to false
-
658  virtual int GetStageSequenceMaxLength(long& nrEvents) const = 0;
-
659  virtual int StartStageSequence() = 0;
-
660  virtual int StopStageSequence() = 0;
-
664  virtual int ClearStageSequence() = 0;
-
668  virtual int AddToStageSequence(double position) = 0;
-
673  virtual int SendStageSequence() = 0;
-
674 
-
683  virtual int SetStageLinearSequence(double dZ_um, long nSlices) = 0;
-
684  };
-
685 
-
689  class XYStage : public Device
-
690  {
-
691  public:
-
692  XYStage() {}
-
693  virtual ~XYStage() {}
-
694 
-
695  // Device API
-
696  virtual DeviceType GetType() const { return Type; }
-
697  static const DeviceType Type;
-
698 
-
699  // XYStage API
-
700  // it is recommended that device adapters implement the "Steps" methods
-
701  // taking long integers but leave the default implementations (in
-
702  // DeviceBase.h) for the "Um" methods taking doubles. The latter utilize
-
703  // directionality and origin settings set by user and operate via the
-
704  // "Steps" methods. The step size is the inherent minimum distance/step
-
705  // and should be defined by the adapter.
-
706  virtual int SetPositionUm(double x, double y) = 0;
-
707  virtual int SetRelativePositionUm(double dx, double dy) = 0;
-
708  virtual int SetAdapterOriginUm(double x, double y) = 0;
-
709  virtual int GetPositionUm(double& x, double& y) = 0;
-
710  virtual int GetLimitsUm(double& xMin, double& xMax, double& yMin, double& yMax) = 0;
-
711  virtual int Move(double vx, double vy) = 0;
-
712 
-
713  virtual int SetPositionSteps(long x, long y) = 0;
-
714  virtual int GetPositionSteps(long& x, long& y) = 0;
-
715  virtual int SetRelativePositionSteps(long x, long y) = 0;
-
716  virtual int Home() = 0;
-
717  virtual int Stop() = 0;
-
718 
-
722  virtual int SetOrigin() = 0;
-
723 
-
728  virtual int SetXOrigin() = 0;
-
729 
-
734  virtual int SetYOrigin() = 0;
-
735 
-
736  virtual int GetStepLimits(long& xMin, long& xMax, long& yMin, long& yMax) = 0;
-
737  virtual double GetStepSizeXUm() = 0;
-
738  virtual double GetStepSizeYUm() = 0;
-
744  virtual int IsXYStageSequenceable(bool& isSequenceable) const = 0;
-
745  // Sequence functions
-
746  // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
-
747  // computer commands.
-
748  // Sequences of positions can be uploaded to the XY stage. The device will cycle through
-
749  // the uploaded list of states (triggered by an external trigger - most often coming
-
750  // from the camera). If the device is capable (and ready) to do so isSequenceable will
-
751  // be true. If your device can not execute this (true for most XY stages
-
752  // simply set isSequenceable to false
-
753  virtual int GetXYStageSequenceMaxLength(long& nrEvents) const = 0;
-
754  virtual int StartXYStageSequence() = 0;
-
755  virtual int StopXYStageSequence() = 0;
-
759  virtual int ClearXYStageSequence() = 0;
-
763  virtual int AddToXYStageSequence(double positionX, double positionY) = 0;
-
768  virtual int SendXYStageSequence() = 0;
-
769 
-
770  };
-
771 
-
775  class State : public Device
-
776  {
-
777  public:
-
778  State() {}
-
779  virtual ~State() {}
-
780 
-
781  // MMDevice API
-
782  virtual DeviceType GetType() const { return Type; }
-
783  static const DeviceType Type;
-
784 
-
785  // MMStateDevice API
-
786  virtual int SetPosition(long pos) = 0;
-
787  virtual int SetPosition(const char* label) = 0;
-
788  virtual int GetPosition(long& pos) const = 0;
-
789  virtual int GetPosition(char* label) const = 0;
-
790  virtual int GetPositionLabel(long pos, char* label) const = 0;
-
791  virtual int GetLabelPosition(const char* label, long& pos) const = 0;
-
792  virtual int SetPositionLabel(long pos, const char* label) = 0;
-
793  virtual unsigned long GetNumberOfPositions() const = 0;
-
794  virtual int SetGateOpen(bool open = true) = 0;
-
795  virtual int GetGateOpen(bool& open) = 0;
-
796  };
-
797 
-
801  class Serial : public Device
-
802  {
-
803  public:
-
804  Serial() {}
-
805  virtual ~Serial() {}
-
806 
-
807  // MMDevice API
-
808  virtual DeviceType GetType() const { return Type; }
-
809  static const DeviceType Type;
-
810 
-
811  // Serial API
-
812  virtual PortType GetPortType() const = 0;
-
813  virtual int SetCommand(const char* command, const char* term) = 0;
-
814  virtual int GetAnswer(char* txt, unsigned maxChars, const char* term) = 0;
-
815  virtual int Write(const unsigned char* buf, unsigned long bufLen) = 0;
-
816  virtual int Read(unsigned char* buf, unsigned long bufLen, unsigned long& charsRead) = 0;
-
817  virtual int Purge() = 0;
-
818  };
-
819 
-
823  class AutoFocus : public Device
-
824  {
-
825  public:
-
826  AutoFocus() {}
-
827  virtual ~AutoFocus() {}
-
828 
-
829  // MMDevice API
-
830  virtual DeviceType GetType() const { return Type; }
-
831  static const DeviceType Type;
-
832 
-
833  // AutoFocus API
-
834  virtual int SetContinuousFocusing(bool state) = 0;
-
835  virtual int GetContinuousFocusing(bool& state) = 0;
-
836  virtual bool IsContinuousFocusLocked() = 0;
-
837  virtual int FullFocus() = 0;
-
838  virtual int IncrementalFocus() = 0;
-
839  virtual int GetLastFocusScore(double& score) = 0;
-
840  virtual int GetCurrentFocusScore(double& score) = 0;
-
841  virtual int AutoSetParameters() = 0;
-
842  virtual int GetOffset(double &offset) = 0;
-
843  virtual int SetOffset(double offset) = 0;
-
844  };
-
845 
-
849  class ImageProcessor : public Device
-
850  {
-
851  public:
-
852  ImageProcessor() {}
-
853  virtual ~ImageProcessor() {}
-
854 
-
855  // MMDevice API
-
856  virtual DeviceType GetType() const { return Type; }
-
857  static const DeviceType Type;
-
858 
-
859  // image processor API
-
860  virtual int Process(unsigned char* buffer, unsigned width, unsigned height, unsigned byteDepth) = 0;
-
861 
-
862 
-
863  };
-
864 
-
868  class SignalIO : public Device
-
869  {
-
870  public:
-
871  SignalIO() {}
-
872  virtual ~SignalIO() {}
-
873 
-
874  // MMDevice API
-
875  virtual DeviceType GetType() const { return Type; }
-
876  static const DeviceType Type;
-
877 
-
878  // signal io API
-
879  virtual int SetGateOpen(bool open = true) = 0;
-
880  virtual int GetGateOpen(bool& open) = 0;
-
881  virtual int SetSignal(double volts) = 0;
-
882  virtual int GetSignal(double& volts) = 0;
-
883  virtual int GetLimits(double& minVolts, double& maxVolts) = 0;
-
884 
-
896  virtual int IsDASequenceable(bool& isSequenceable) const = 0;
-
897 
-
898  // Sequence functions
-
899  // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
-
900  // computer commands.
-
901  // Sequences of voltages can be uploaded to the DA. The device will cycle through
-
902  // the uploaded list of voltages (triggered by an external trigger - most often coming
-
903  // from the camera). If the device is capable (and ready) to do so isSequenceable will
-
904  // be true. If your device can not execute this simply set isSequenceable to false
-
910  virtual int GetDASequenceMaxLength(long& nrEvents) const = 0;
-
916  virtual int StartDASequence() = 0;
-
921  virtual int StopDASequence() = 0;
-
930  virtual int ClearDASequence() = 0;
-
931 
-
938  virtual int AddToDASequence(double voltage) = 0;
-
945  virtual int SendDASequence() = 0;
-
946 
-
947  };
-
948 
-
952  class Magnifier : public Device
-
953  {
-
954  public:
-
955  Magnifier() {}
-
956  virtual ~Magnifier() {}
-
957 
-
958  // MMDevice API
-
959  virtual DeviceType GetType() const { return Type; }
-
960  static const DeviceType Type;
-
961 
-
962  virtual double GetMagnification() = 0;
-
963  };
-
964 
-
965 
-
973  class SLM : public Device
-
974  {
-
975  public:
-
976  SLM() {}
-
977  virtual ~SLM() {}
-
978 
-
979  virtual DeviceType GetType() const { return Type; }
-
980  static const DeviceType Type;
-
981 
-
982  // SLM API
-
986  virtual int SetImage(unsigned char * pixels) = 0;
-
987 
-
991  virtual int SetImage(unsigned int * pixels) = 0;
-
992 
-
996  virtual int DisplayImage() = 0;
-
997 
-
1001  virtual int SetPixelsTo(unsigned char intensity) = 0;
-
1002 
-
1006  virtual int SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue) = 0;
-
1007 
-
1011  virtual int SetExposure(double interval_ms) = 0;
-
1012 
-
1016  virtual double GetExposure() = 0;
-
1017 
-
1021  virtual unsigned GetWidth() = 0;
-
1022 
-
1026  virtual unsigned GetHeight() = 0;
-
1027 
-
1031  virtual unsigned GetNumberOfComponents() = 0;
-
1032 
-
1036  virtual unsigned GetBytesPerPixel() = 0;
-
1037 
-
1038  // SLM Sequence functions
-
1039  // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
-
1040  // computer commands.
-
1041  // Sequences of images can be uploaded to the SLM. The SLM will cycle through
-
1042  // the uploaded list of images (perhaps triggered by an external trigger or by
-
1043  // an internal clock.
-
1044  // If the device is capable (and ready) to do so IsSLMSequenceable will return
-
1045  // be true. If your device can not execute sequences, IsSLMSequenceable returns false.
-
1046 
-
1057  virtual int IsSLMSequenceable(bool& isSequenceable) const = 0;
-
1058 
-
1064  virtual int GetSLMSequenceMaxLength(long& nrEvents) const = 0;
-
1065 
-
1071  virtual int StartSLMSequence() = 0;
-
1072 
-
1077  virtual int StopSLMSequence() = 0;
-
1078 
-
1088  virtual int ClearSLMSequence() = 0;
-
1089 
-
1097  virtual int AddToSLMSequence(const unsigned char * const pixels) = 0;
-
1098 
-
1106  virtual int AddToSLMSequence(const unsigned int * const pixels) = 0;
-
1107 
-
1114  virtual int SendSLMSequence() = 0;
-
1115 
-
1116  };
-
1117 
-
1132  class Galvo : public Device
-
1133  {
-
1134  public:
-
1135  Galvo() {}
-
1136  virtual ~Galvo() {}
-
1137 
-
1138  virtual DeviceType GetType() const { return Type; }
-
1139  static const DeviceType Type;
-
1140 
-
1141  //Galvo API:
-
1142 
-
1149  virtual int PointAndFire(double x, double y, double time_us) = 0;
-
1157  virtual int SetSpotInterval(double pulseInterval_us) = 0;
-
1163  virtual int SetPosition(double x, double y) = 0;
-
1170  virtual int GetPosition(double& x, double& y) = 0;
-
1177  virtual int SetIlluminationState(bool on) = 0;
-
1181  virtual double GetXRange() = 0;
-
1186  virtual double GetXMinimum() = 0;
-
1190  virtual double GetYRange() = 0;
-
1195  virtual double GetYMinimum() = 0;
-
1206  virtual int AddPolygonVertex(int polygonIndex, double x, double y) = 0;
-
1211  virtual int DeletePolygons() = 0;
-
1221  virtual int RunSequence() = 0;
-
1229  virtual int LoadPolygons() = 0;
-
1235  virtual int SetPolygonRepetitions(int repetitions) = 0;
-
1241  virtual int RunPolygons() = 0;
-
1246  virtual int StopSequence() = 0;
-
1251  virtual int GetChannel(char* channelName) = 0;
-
1252  };
-
1253 
-
1258  class Hub : public Device
-
1259  {
-
1260  public:
-
1261  Hub() {}
-
1262  virtual ~Hub() {}
-
1263 
-
1264  // MMDevice API
-
1265  virtual DeviceType GetType() const { return Type; }
-
1266  static const DeviceType Type;
-
1267 
-
1280  virtual int DetectInstalledDevices() = 0;
-
1281 
-
1290  virtual void ClearInstalledDevices() = 0;
-
1291 
-
1298  virtual unsigned GetNumberOfInstalledDevices() = 0;
-
1299 
-
1306  virtual Device* GetInstalledDevice(int devIdx) = 0;
-
1307  };
-
1308 
-
1313  class Core
-
1314  {
-
1315  public:
-
1316  Core() {}
-
1317  virtual ~Core() {}
-
1318 
-
1324  virtual int LogMessage(const Device* caller, const char* msg, bool debugOnly) const = 0;
-
1330  virtual Device* GetDevice(const Device* caller, const char* label) = 0;
-
1331  virtual int GetDeviceProperty(const char* deviceName, const char* propName, char* value) = 0;
-
1332  virtual int SetDeviceProperty(const char* deviceName, const char* propName, const char* value) = 0;
-
1333 
-
1335 
-
1343  virtual void GetLoadedDeviceOfType(const Device* caller, MM::DeviceType devType, char* pDeviceName, const unsigned int deviceIterator) = 0;
-
1344 
-
1345  virtual int SetSerialProperties(const char* portName,
-
1346  const char* answerTimeout,
-
1347  const char* baudRate,
-
1348  const char* delayBetweenCharsMs,
-
1349  const char* handshaking,
-
1350  const char* parity,
-
1351  const char* stopBits) = 0;
-
1352  virtual int SetSerialCommand(const Device* caller, const char* portName, const char* command, const char* term) = 0;
-
1353  virtual int GetSerialAnswer(const Device* caller, const char* portName, unsigned long ansLength, char* answer, const char* term) = 0;
-
1354  virtual int WriteToSerial(const Device* caller, const char* port, const unsigned char* buf, unsigned long length) = 0;
-
1355  virtual int ReadFromSerial(const Device* caller, const char* port, unsigned char* buf, unsigned long length, unsigned long& read) = 0;
-
1356  virtual int PurgeSerial(const Device* caller, const char* portName) = 0;
-
1357  virtual MM::PortType GetSerialPortType(const char* portName) const = 0;
-
1358 
-
1359  virtual int OnPropertiesChanged(const Device* caller) = 0;
-
1365  virtual int OnPropertyChanged(const Device* caller, const char* propName, const char* propValue) = 0;
-
1370  virtual int OnStagePositionChanged(const Device* caller, double pos) = 0;
-
1375  virtual int OnXYStagePositionChanged(const Device* caller, double xPos, double yPos) = 0;
-
1379  virtual int OnExposureChanged(const Device* caller, double newExposure) = 0;
-
1383  virtual int OnSLMExposureChanged(const Device* caller, double newExposure) = 0;
-
1387  virtual int OnMagnifierChanged(const Device* caller) = 0;
-
1388 
-
1389  // Deprecated: Return value overflows in ~72 minutes on Windows.
-
1390  // Prefer std::chrono::steady_clock for time delta measurements.
-
1391  virtual unsigned long GetClockTicksUs(const Device* caller) = 0;
-
1392 
-
1393  // Returns monotonic MMTime suitable for time delta measurements.
-
1394  // Time zero is not fixed and may change on every launch.
-
1395  // Prefer std::chrono::steady_clock::now() in new code.
-
1396  virtual MM::MMTime GetCurrentMMTime() = 0;
-
1397 
-
1398  // sequence acquisition
-
1399  virtual int AcqFinished(const Device* caller, int statusCode) = 0;
-
1400  virtual int PrepareForAcq(const Device* caller) = 0;
-
1401  virtual int InsertImage(const Device* caller, const ImgBuffer& buf) = 0;
-
1402  virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, unsigned nComponents, const char* serializedMetadata, const bool doProcess = true) = 0;
-
1403  virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, const Metadata* md = 0, const bool doProcess = true) = 0;
-
1405  virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, const char* serializedMetadata, const bool doProcess = true) = 0;
-
1406  virtual void ClearImageBuffer(const Device* caller) = 0;
-
1407  virtual bool InitializeImageBuffer(unsigned channels, unsigned slices, unsigned int w, unsigned int h, unsigned int pixDepth) = 0;
-
1409  virtual int InsertMultiChannel(const Device* caller, const unsigned char* buf, unsigned numChannels, unsigned width, unsigned height, unsigned byteDepth, Metadata* md = 0) = 0;
-
1410 
-
1411  // Formerly intended for use by autofocus
-
1412  MM_DEPRECATED(virtual const char* GetImage()) = 0;
-
1413  MM_DEPRECATED(virtual int GetImageDimensions(int& width, int& height, int& depth)) = 0;
-
1414  MM_DEPRECATED(virtual int GetFocusPosition(double& pos)) = 0;
-
1415  MM_DEPRECATED(virtual int SetFocusPosition(double pos)) = 0;
-
1416  MM_DEPRECATED(virtual int MoveFocus(double velocity)) = 0;
-
1417  MM_DEPRECATED(virtual int SetXYPosition(double x, double y)) = 0;
-
1418  MM_DEPRECATED(virtual int GetXYPosition(double& x, double& y)) = 0;
-
1419  MM_DEPRECATED(virtual int MoveXYStage(double vX, double vY)) = 0;
-
1420  MM_DEPRECATED(virtual int SetExposure(double expMs)) = 0;
-
1421  MM_DEPRECATED(virtual int GetExposure(double& expMs)) = 0;
-
1422  MM_DEPRECATED(virtual int SetConfig(const char* group, const char* name)) = 0;
-
1423  MM_DEPRECATED(virtual int GetCurrentConfig(const char* group, int bufLen, char* name)) = 0;
-
1424  MM_DEPRECATED(virtual int GetChannelConfig(char* channelConfigName, const unsigned int channelConfigIterator)) = 0;
-
1425 
-
1426  // Direct (and dangerous) access to specific device types
-
1427  MM_DEPRECATED(virtual MM::ImageProcessor* GetImageProcessor(const MM::Device* caller)) = 0;
-
1428  MM_DEPRECATED(virtual MM::AutoFocus* GetAutoFocus(const MM::Device* caller)) = 0;
-
1429 
-
1430  virtual MM::Hub* GetParentHub(const MM::Device* caller) const = 0;
-
1431 
-
1432  // More direct (and dangerous) access to specific device types
-
1433  MM_DEPRECATED(virtual MM::State* GetStateDevice(const MM::Device* caller, const char* deviceName)) = 0;
-
1434  MM_DEPRECATED(virtual MM::SignalIO* GetSignalIODevice(const MM::Device* caller, const char* deviceName)) = 0;
-
1435 
-
1436  // Asynchronous error handling (never implemented)
-
1438  MM_DEPRECATED(virtual void NextPostedError(int& /*errorCode*/, char* /*pMessage*/, int /*maxlen*/, int& /*messageLength*/)) = 0;
-
1440  MM_DEPRECATED(virtual void PostError(const int, const char*)) = 0;
-
1442  MM_DEPRECATED(virtual void ClearPostedErrors(void)) = 0;
-
1443  };
-
1444 
-
1445 } // namespace MM
-
Definition: ImgBuffer.h:36
-
Definition: MMDevice.h:824
-
Definition: MMDevice.h:332
+
1
+
2// FILE: MMDevice.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: The interface to the Micro-Manager devices. Defines the
+
7// plugin API for all devices.
+
8//
+
9// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 06/08/2005
+
10//
+
11// COPYRIGHT: University of California, San Francisco, 2006-2014
+
12// 100X Imaging Inc, 2008
+
13//
+
14// LICENSE: This file is distributed under the BSD license.
+
15// License text is included with the source distribution.
+
16//
+
17// This file is distributed in the hope that it will be useful,
+
18// but WITHOUT ANY WARRANTY; without even the implied warranty
+
19// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
20//
+
21// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
22// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
23// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
24
+
25#pragma once
+
26
+
28// Header version
+
29// If any of the class definitions changes, the interface version
+
30// must be incremented
+
31#define DEVICE_INTERFACE_VERSION 71
+
33
+
34// N.B.
+
35//
+
36// Never add parameters or return values that are not POD
+
37// (http://stackoverflow.com/a/146454) to any method of class Device and its
+
38// derived classes defined in this file. For example, a std::string parameter
+
39// is not acceptable (use const char*). This is to prevent inter-DLL
+
40// incompatibilities.
+
41
+
42#include "MMDeviceConstants.h"
+
43#include "DeviceUtils.h"
+
44#include "ImageMetadata.h"
+
45#include "DeviceThreads.h"
+
46
+
47#include <climits>
+
48#include <cstdlib>
+
49#include <cstring>
+
50#include <iomanip>
+
51#include <sstream>
+
52#include <string>
+
53#include <vector>
+
54
+
55
+
56#ifdef MMDEVICE_CLIENT_BUILD
+
57// Hide deprecation warnings when building MMCore
+
58# define MM_DEPRECATED(prototype) prototype
+
59#else
+
60# ifdef _MSC_VER
+
61# define MM_DEPRECATED(prototype) __declspec(deprecated) prototype
+
62# elif defined(__GNUC__)
+
63# define MM_DEPRECATED(prototype) prototype __attribute__((deprecated))
+
64# else
+
65# define MM_DEPRECATED(prototype) prototype
+
66# endif
+
67#endif
+
68
+
69// To be removed once the deprecated Get/SetModuleHandle() is removed:
+
70#ifdef _WIN32
+
71 #define WIN32_LEAN_AND_MEAN
+
72 #include <windows.h>
+
73
+
74 typedef HMODULE HDEVMODULE;
+
75#else
+
76 typedef void* HDEVMODULE;
+
77#endif
+
78
+
79class ImgBuffer;
+
80
+
81namespace MM {
+
82
+
83 // forward declaration for the MMCore callback class
+
84 class Core;
+
85
+
+
90 class MMTime
+
91 {
+
92 long long microseconds_;
+
93
+
94 public:
+
95 MMTime() : microseconds_(0LL) {}
+
96
+
97 explicit MMTime(double uSecTotal) :
+
98 microseconds_(static_cast<long long>(uSecTotal))
+
99 {}
+
100
+
101 explicit MMTime(long sec, long uSec) :
+
102 microseconds_(sec * 1'000'000LL + uSec)
+
103 {}
+
104
+
105 static MMTime fromUs(long long us)
+
106 {
+
107 // Work around our lack of a constructor that directly sets the
+
108 // internal representation.
+
109 // (Note that we cannot add a constructor from 'long long' because
+
110 // many existing uses would then get an error (ambiguous with the
+
111 // 'double' overload).)
+
112 MMTime ret;
+
113 ret.microseconds_ = us;
+
114 return ret;
+
115 }
+
116
+
117 static MMTime fromMs(double ms)
+
118 {
+
119 return MMTime(ms * 1000.0);
+
120 }
+
121
+
122 static MMTime fromSeconds(long secs)
+
123 {
+
124 return MMTime(secs, 0);
+
125 }
+
126
+
127 MMTime operator+(const MMTime &other) const
+
128 {
+
129 return fromUs(microseconds_ + other.microseconds_);
+
130 }
+
131
+
132 MMTime operator-(const MMTime &other) const
+
133 {
+
134 return fromUs(microseconds_ - other.microseconds_);
+
135 }
+
136
+
137 bool operator>(const MMTime &other) const
+
138 {
+
139 return microseconds_ > other.microseconds_;
+
140 }
+
141
+
142 bool operator>=(const MMTime &other) const
+
143 {
+
144 return microseconds_ >= other.microseconds_;
+
145 }
+
146
+
147 bool operator<(const MMTime &other) const
+
148 {
+
149 return microseconds_ < other.microseconds_;
+
150 }
+
151
+
152 bool operator<=(const MMTime &other) const
+
153 {
+
154 return microseconds_ <= other.microseconds_;
+
155 }
+
156
+
157 bool operator==(const MMTime &other) const
+
158 {
+
159 return microseconds_ == other.microseconds_;
+
160 }
+
161
+
162 bool operator!=(const MMTime &other) const
+
163 {
+
164 return !(*this == other);
+
165 }
+
166
+
167 double getMsec() const
+
168 {
+
169 return microseconds_ / 1000.0;
+
170 }
+
171
+
172 double getUsec() const
+
173 {
+
174 return static_cast<double>(microseconds_);
+
175 }
+
176
+
177 std::string toString() const {
+
178 long long absUs = std::abs(microseconds_);
+
179 long long seconds = absUs / 1'000'000LL;
+
180 long long fracUs = absUs - seconds * 1'000'000LL;
+
181 const char *sign = microseconds_ < 0 ? "-" : "";
+
182
+
183 using namespace std;
+
184 ostringstream s;
+
185 s << sign << seconds << '.' <<
+
186 setfill('0') << right << setw(6) << fracUs;
+
187 return s.str();
+
188 }
+
189 };
+
+
190
+
191
+
+ +
196 {
+
197 public:
+
198 // arguments: MMTime start time, millisecond interval time
+
199 explicit TimeoutMs(const MMTime startTime, const unsigned long intervalMs) :
+
200 startTime_(startTime),
+
201 interval_(0, 1000*intervalMs)
+
202 {
+
203 }
+
204 explicit TimeoutMs(const MMTime startTime, const MMTime interval) :
+
205 startTime_(startTime),
+
206 interval_(interval)
+
207 {
+
208 }
+
209
+
210 bool expired(const MMTime tnow)
+
211 {
+
212 MMTime elapsed = tnow - startTime_;
+
213 return ( interval_ < elapsed );
+
214 }
+
215
+
216 private:
+
217 MMTime startTime_; // start time
+
218 MMTime interval_; // interval in milliseconds
+
219 };
+
+
220
+
221
+
+
225 class Device {
+
226 public:
+
227 Device() {}
+
228 virtual ~Device() {}
+
229
+
230 virtual unsigned GetNumberOfProperties() const = 0;
+
231 virtual int GetProperty(const char* name, char* value) const = 0;
+
232 virtual int SetProperty(const char* name, const char* value) = 0;
+
233 virtual bool HasProperty(const char* name) const = 0;
+
234 virtual bool GetPropertyName(unsigned idx, char* name) const = 0;
+
235 virtual int GetPropertyReadOnly(const char* name, bool& readOnly) const = 0;
+
236 virtual int GetPropertyInitStatus(const char* name, bool& preInit) const = 0;
+
237 virtual int HasPropertyLimits(const char* name, bool& hasLimits) const = 0;
+
238 virtual int GetPropertyLowerLimit(const char* name, double& lowLimit) const = 0;
+
239 virtual int GetPropertyUpperLimit(const char* name, double& hiLimit) const = 0;
+
240 virtual int GetPropertyType(const char* name, MM::PropertyType& pt) const = 0;
+
241 virtual unsigned GetNumberOfPropertyValues(const char* propertyName) const = 0;
+
242 virtual bool GetPropertyValueAt(const char* propertyName, unsigned index, char* value) const = 0;
+
251 virtual int IsPropertySequenceable(const char* name, bool& isSequenceable) const = 0;
+
255 virtual int GetPropertySequenceMaxLength(const char* propertyName, long& nrEvents) const = 0;
+
259 virtual int StartPropertySequence(const char* propertyName) = 0;
+
263 virtual int StopPropertySequence(const char* propertyName) = 0;
+
267 virtual int ClearPropertySequence(const char* propertyName) = 0;
+
271 virtual int AddToPropertySequence(const char* propertyName, const char* value) = 0;
+
275 virtual int SendPropertySequence(const char* propertyName) = 0;
+
276
+
277 virtual bool GetErrorText(int errorCode, char* errMessage) const = 0;
+
278 virtual bool Busy() = 0;
+
279 virtual double GetDelayMs() const = 0;
+
280 virtual void SetDelayMs(double delay) = 0;
+
281 virtual bool UsesDelay() = 0;
+
282
+
283 MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const) = 0;
+
284 MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle)) = 0;
+
285
+
286 virtual void SetLabel(const char* label) = 0;
+
287 virtual void GetLabel(char* name) const = 0;
+
288 virtual void SetModuleName(const char* moduleName) = 0;
+
289 virtual void GetModuleName(char* moduleName) const = 0;
+
290 virtual void SetDescription(const char* description) = 0;
+
291 virtual void GetDescription(char* description) const = 0;
+
292
+
293 virtual int Initialize() = 0;
+
302 virtual int Shutdown() = 0;
+
303
+
304 virtual DeviceType GetType() const = 0;
+
305 virtual void GetName(char* name) const = 0;
+
306 virtual void SetCallback(Core* callback) = 0;
+
307
+
308 //device discovery API
+
309 virtual bool SupportsDeviceDetection(void) = 0;
+
310 virtual MM::DeviceDetectionStatus DetectDevice(void) = 0;
+
311
+
312 // hub-peripheral relationship
+
313 virtual void SetParentID(const char* parentId) = 0;
+
314 virtual void GetParentID(char* parentID) const = 0;
+
315 // virtual void SetID(const char* id) = 0;
+
316 // virtual void GetID(char* id) const = 0;
+
317 };
+
+
318
+
+
322 class Generic : public Device
+
323 {
+
324 public:
+
325 virtual DeviceType GetType() const { return Type; }
+
326 static const DeviceType Type;
+
327 };
+
+
328
+
+
332 class Camera : public Device {
+
333 public:
+
334 Camera() {}
+
335 virtual ~Camera() {}
+
336
+
337 virtual DeviceType GetType() const { return Type; }
+
338 static const DeviceType Type;
+
339
+
340 // Camera API
+
349 virtual int SnapImage() = 0;
+
374 virtual const unsigned char* GetImageBuffer() = 0;
+
386 virtual const unsigned char* GetImageBuffer(unsigned channelNr) = 0;
+
390 virtual const unsigned int* GetImageBufferAsRGB32() = 0;
+
395 virtual unsigned GetNumberOfComponents() const = 0;
+
399 virtual int GetComponentName(unsigned component, char* name) = 0;
+
405 virtual int unsigned GetNumberOfChannels() const = 0;
+
410 virtual int GetChannelName(unsigned channel, char* name) = 0;
+
416 virtual long GetImageBufferSize() const = 0;
+
421 virtual unsigned GetImageWidth() const = 0;
+
426 virtual unsigned GetImageHeight() const = 0;
+
431 virtual unsigned GetImageBytesPerPixel() const = 0;
+
438 virtual unsigned GetBitDepth() const = 0;
+
443 virtual double GetPixelSizeUm() const = 0;
+
447 virtual int GetBinning() const = 0;
+
451 virtual int SetBinning(int binSize) = 0;
+
455 virtual void SetExposure(double exp_ms) = 0;
+
459 virtual double GetExposure() const = 0;
+
473 virtual int SetROI(unsigned x, unsigned y, unsigned xSize, unsigned ySize) = 0;
+
477 virtual int GetROI(unsigned& x, unsigned& y, unsigned& xSize, unsigned& ySize) = 0;
+
481 virtual int ClearROI() = 0;
+
482 virtual bool SupportsMultiROI() = 0;
+
483 virtual bool IsMultiROISet() = 0;
+
484 virtual int GetMultiROICount(unsigned& count) = 0;
+
485 virtual int SetMultiROI(const unsigned* xs, const unsigned* ys,
+
486 const unsigned* widths, const unsigned* heights,
+
487 unsigned numROIs) = 0;
+
488 virtual int GetMultiROI(unsigned* xs, unsigned* ys, unsigned* widths,
+
489 unsigned* heights, unsigned* length) = 0;
+
493 virtual int StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow) = 0;
+
498 virtual int StartSequenceAcquisition(double interval_ms) = 0;
+
502 virtual int StopSequenceAcquisition() = 0;
+
506 virtual int PrepareSequenceAcqusition() = 0;
+
511 virtual bool IsCapturing() = 0;
+
512
+
519 virtual void GetTags(char* serializedMetadata) = 0;
+
520
+
528 virtual void AddTag(const char* key, const char* deviceLabel, const char* value) = 0;
+
529
+
535 virtual void RemoveTag(const char* key) = 0;
+
536
+
542 virtual int IsExposureSequenceable(bool& isSequenceable) const = 0;
+
543
+
544 // Sequence functions
+
545 // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
+
546 // computer commands.
+
547 // Sequences of exposures can be uploaded to the camera. The camera will cycle through
+
548 // the uploaded list of exposures (triggered by either an internal or
+
549 // external trigger). If the device is capable (and ready) to do so isSequenceable will
+
550 // be true. If your device can not execute this (true for most cameras)
+
551 // simply set IsExposureSequenceable to false
+
552 virtual int GetExposureSequenceMaxLength(long& nrEvents) const = 0;
+
553 virtual int StartExposureSequence() = 0;
+
554 virtual int StopExposureSequence() = 0;
+
555 // Remove all values in the sequence
+
556 virtual int ClearExposureSequence() = 0;
+
557 // Add one value to the sequence
+
558 virtual int AddToExposureSequence(double exposureTime_ms) = 0;
+
559 // Signal that we are done sending sequence values so that the adapter can send the whole sequence to the device
+
560 virtual int SendExposureSequence() const = 0;
+
561 };
+
+
562
+
+
566 class Shutter : public Device
+
567 {
+
568 public:
+
569 Shutter() {}
+
570 virtual ~Shutter() {}
+
571
+
572 // Device API
+
573 virtual DeviceType GetType() const { return Type; }
+
574 static const DeviceType Type;
+
575
+
576 // Shutter API
+
577 virtual int SetOpen(bool open = true) = 0;
+
578 virtual int GetOpen(bool& open) = 0;
+
583 virtual int Fire(double deltaT) = 0;
+
584 };
+
+
585
+
+
589 class Stage : public Device
+
590 {
+
591 public:
+
592 Stage() {}
+
593 virtual ~Stage() {}
+
594
+
595 // Device API
+
596 virtual DeviceType GetType() const { return Type; }
+
597 static const DeviceType Type;
+
598
+
599 // Stage API
+
600 virtual int SetPositionUm(double pos) = 0;
+
601 virtual int SetRelativePositionUm(double d) = 0;
+
602 virtual int Move(double velocity) = 0;
+
603 virtual int Stop() = 0;
+
604 virtual int Home() = 0;
+
605 virtual int SetAdapterOriginUm(double d) = 0;
+
606 virtual int GetPositionUm(double& pos) = 0;
+
607 virtual int SetPositionSteps(long steps) = 0;
+
608 virtual int GetPositionSteps(long& steps) = 0;
+
609 virtual int SetOrigin() = 0;
+
610 virtual int GetLimits(double& lower, double& upper) = 0;
+
611
+
625 virtual int GetFocusDirection(FocusDirection& direction) = 0;
+
626
+
634 virtual int IsStageSequenceable(bool& isSequenceable) const = 0;
+
635
+
645 virtual int IsStageLinearSequenceable(bool& isSequenceable) const = 0;
+
646
+
647 // Check if a stage has continuous focusing capability (positions can be set while continuous focus runs).
+
648 virtual bool IsContinuousFocusDrive() const = 0;
+
649
+
650 // Sequence functions
+
651 // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
+
652 // computer commands.
+
653 // Sequences of positions can be uploaded to the stage. The device will cycle through
+
654 // the uploaded list of states (triggered by an external trigger - most often coming
+
655 // from the camera). If the device is capable (and ready) to do so isSequenceable will
+
656 // be true. If your device can not execute this (true for most stages)
+
657 // simply set isSequenceable to false
+
658 virtual int GetStageSequenceMaxLength(long& nrEvents) const = 0;
+
659 virtual int StartStageSequence() = 0;
+
660 virtual int StopStageSequence() = 0;
+
664 virtual int ClearStageSequence() = 0;
+
668 virtual int AddToStageSequence(double position) = 0;
+
673 virtual int SendStageSequence() = 0;
+
674
+
683 virtual int SetStageLinearSequence(double dZ_um, long nSlices) = 0;
+
684 };
+
+
685
+
+
689 class XYStage : public Device
+
690 {
+
691 public:
+
692 XYStage() {}
+
693 virtual ~XYStage() {}
+
694
+
695 // Device API
+
696 virtual DeviceType GetType() const { return Type; }
+
697 static const DeviceType Type;
+
698
+
699 // XYStage API
+
700 // it is recommended that device adapters implement the "Steps" methods
+
701 // taking long integers but leave the default implementations (in
+
702 // DeviceBase.h) for the "Um" methods taking doubles. The latter utilize
+
703 // directionality and origin settings set by user and operate via the
+
704 // "Steps" methods. The step size is the inherent minimum distance/step
+
705 // and should be defined by the adapter.
+
706 virtual int SetPositionUm(double x, double y) = 0;
+
707 virtual int SetRelativePositionUm(double dx, double dy) = 0;
+
708 virtual int SetAdapterOriginUm(double x, double y) = 0;
+
709 virtual int GetPositionUm(double& x, double& y) = 0;
+
710 virtual int GetLimitsUm(double& xMin, double& xMax, double& yMin, double& yMax) = 0;
+
711 virtual int Move(double vx, double vy) = 0;
+
712
+
713 virtual int SetPositionSteps(long x, long y) = 0;
+
714 virtual int GetPositionSteps(long& x, long& y) = 0;
+
715 virtual int SetRelativePositionSteps(long x, long y) = 0;
+
716 virtual int Home() = 0;
+
717 virtual int Stop() = 0;
+
718
+
722 virtual int SetOrigin() = 0;
+
723
+
728 virtual int SetXOrigin() = 0;
+
729
+
734 virtual int SetYOrigin() = 0;
+
735
+
736 virtual int GetStepLimits(long& xMin, long& xMax, long& yMin, long& yMax) = 0;
+
737 virtual double GetStepSizeXUm() = 0;
+
738 virtual double GetStepSizeYUm() = 0;
+
744 virtual int IsXYStageSequenceable(bool& isSequenceable) const = 0;
+
745 // Sequence functions
+
746 // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
+
747 // computer commands.
+
748 // Sequences of positions can be uploaded to the XY stage. The device will cycle through
+
749 // the uploaded list of states (triggered by an external trigger - most often coming
+
750 // from the camera). If the device is capable (and ready) to do so isSequenceable will
+
751 // be true. If your device can not execute this (true for most XY stages
+
752 // simply set isSequenceable to false
+
753 virtual int GetXYStageSequenceMaxLength(long& nrEvents) const = 0;
+
754 virtual int StartXYStageSequence() = 0;
+
755 virtual int StopXYStageSequence() = 0;
+
759 virtual int ClearXYStageSequence() = 0;
+
763 virtual int AddToXYStageSequence(double positionX, double positionY) = 0;
+
768 virtual int SendXYStageSequence() = 0;
+
769
+
770 };
+
+
771
+
+
775 class State : public Device
+
776 {
+
777 public:
+
778 State() {}
+
779 virtual ~State() {}
+
780
+
781 // MMDevice API
+
782 virtual DeviceType GetType() const { return Type; }
+
783 static const DeviceType Type;
+
784
+
785 // MMStateDevice API
+
786 virtual int SetPosition(long pos) = 0;
+
787 virtual int SetPosition(const char* label) = 0;
+
788 virtual int GetPosition(long& pos) const = 0;
+
789 virtual int GetPosition(char* label) const = 0;
+
790 virtual int GetPositionLabel(long pos, char* label) const = 0;
+
791 virtual int GetLabelPosition(const char* label, long& pos) const = 0;
+
792 virtual int SetPositionLabel(long pos, const char* label) = 0;
+
793 virtual unsigned long GetNumberOfPositions() const = 0;
+
794 virtual int SetGateOpen(bool open = true) = 0;
+
795 virtual int GetGateOpen(bool& open) = 0;
+
796 };
+
+
797
+
+
801 class Serial : public Device
+
802 {
+
803 public:
+
804 Serial() {}
+
805 virtual ~Serial() {}
+
806
+
807 // MMDevice API
+
808 virtual DeviceType GetType() const { return Type; }
+
809 static const DeviceType Type;
+
810
+
811 // Serial API
+
812 virtual PortType GetPortType() const = 0;
+
813 virtual int SetCommand(const char* command, const char* term) = 0;
+
814 virtual int GetAnswer(char* txt, unsigned maxChars, const char* term) = 0;
+
815 virtual int Write(const unsigned char* buf, unsigned long bufLen) = 0;
+
816 virtual int Read(unsigned char* buf, unsigned long bufLen, unsigned long& charsRead) = 0;
+
817 virtual int Purge() = 0;
+
818 };
+
+
819
+
+
823 class AutoFocus : public Device
+
824 {
+
825 public:
+
826 AutoFocus() {}
+
827 virtual ~AutoFocus() {}
+
828
+
829 // MMDevice API
+
830 virtual DeviceType GetType() const { return Type; }
+
831 static const DeviceType Type;
+
832
+
833 // AutoFocus API
+
834 virtual int SetContinuousFocusing(bool state) = 0;
+
835 virtual int GetContinuousFocusing(bool& state) = 0;
+
836 virtual bool IsContinuousFocusLocked() = 0;
+
837 virtual int FullFocus() = 0;
+
838 virtual int IncrementalFocus() = 0;
+
839 virtual int GetLastFocusScore(double& score) = 0;
+
840 virtual int GetCurrentFocusScore(double& score) = 0;
+
841 virtual int AutoSetParameters() = 0;
+
842 virtual int GetOffset(double &offset) = 0;
+
843 virtual int SetOffset(double offset) = 0;
+
844 };
+
+
845
+
+
849 class ImageProcessor : public Device
+
850 {
+
851 public:
+
852 ImageProcessor() {}
+
853 virtual ~ImageProcessor() {}
+
854
+
855 // MMDevice API
+
856 virtual DeviceType GetType() const { return Type; }
+
857 static const DeviceType Type;
+
858
+
859 // image processor API
+
860 virtual int Process(unsigned char* buffer, unsigned width, unsigned height, unsigned byteDepth) = 0;
+
861
+
862
+
863 };
+
+
864
+
+
868 class SignalIO : public Device
+
869 {
+
870 public:
+
871 SignalIO() {}
+
872 virtual ~SignalIO() {}
+
873
+
874 // MMDevice API
+
875 virtual DeviceType GetType() const { return Type; }
+
876 static const DeviceType Type;
+
877
+
878 // signal io API
+
879 virtual int SetGateOpen(bool open = true) = 0;
+
880 virtual int GetGateOpen(bool& open) = 0;
+
881 virtual int SetSignal(double volts) = 0;
+
882 virtual int GetSignal(double& volts) = 0;
+
883 virtual int GetLimits(double& minVolts, double& maxVolts) = 0;
+
884
+
896 virtual int IsDASequenceable(bool& isSequenceable) const = 0;
+
897
+
898 // Sequence functions
+
899 // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
+
900 // computer commands.
+
901 // Sequences of voltages can be uploaded to the DA. The device will cycle through
+
902 // the uploaded list of voltages (triggered by an external trigger - most often coming
+
903 // from the camera). If the device is capable (and ready) to do so isSequenceable will
+
904 // be true. If your device can not execute this simply set isSequenceable to false
+
910 virtual int GetDASequenceMaxLength(long& nrEvents) const = 0;
+
916 virtual int StartDASequence() = 0;
+
921 virtual int StopDASequence() = 0;
+
930 virtual int ClearDASequence() = 0;
+
931
+
938 virtual int AddToDASequence(double voltage) = 0;
+
945 virtual int SendDASequence() = 0;
+
946
+
947 };
+
+
948
+
+
952 class Magnifier : public Device
+
953 {
+
954 public:
+
955 Magnifier() {}
+
956 virtual ~Magnifier() {}
+
957
+
958 // MMDevice API
+
959 virtual DeviceType GetType() const { return Type; }
+
960 static const DeviceType Type;
+
961
+
962 virtual double GetMagnification() = 0;
+
963 };
+
+
964
+
965
+
+
973 class SLM : public Device
+
974 {
+
975 public:
+
976 SLM() {}
+
977 virtual ~SLM() {}
+
978
+
979 virtual DeviceType GetType() const { return Type; }
+
980 static const DeviceType Type;
+
981
+
982 // SLM API
+
986 virtual int SetImage(unsigned char * pixels) = 0;
+
987
+
991 virtual int SetImage(unsigned int * pixels) = 0;
+
992
+
996 virtual int DisplayImage() = 0;
+
997
+
1001 virtual int SetPixelsTo(unsigned char intensity) = 0;
+
1002
+
1006 virtual int SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue) = 0;
+
1007
+
1011 virtual int SetExposure(double interval_ms) = 0;
+
1012
+
1016 virtual double GetExposure() = 0;
+
1017
+
1021 virtual unsigned GetWidth() = 0;
+
1022
+
1026 virtual unsigned GetHeight() = 0;
+
1027
+
1031 virtual unsigned GetNumberOfComponents() = 0;
+
1032
+
1036 virtual unsigned GetBytesPerPixel() = 0;
+
1037
+
1038 // SLM Sequence functions
+
1039 // Sequences can be used for fast acquisitions, synchronized by TTLs rather than
+
1040 // computer commands.
+
1041 // Sequences of images can be uploaded to the SLM. The SLM will cycle through
+
1042 // the uploaded list of images (perhaps triggered by an external trigger or by
+
1043 // an internal clock.
+
1044 // If the device is capable (and ready) to do so IsSLMSequenceable will return
+
1045 // be true. If your device can not execute sequences, IsSLMSequenceable returns false.
+
1046
+
1057 virtual int IsSLMSequenceable(bool& isSequenceable) const = 0;
+
1058
+
1064 virtual int GetSLMSequenceMaxLength(long& nrEvents) const = 0;
+
1065
+
1071 virtual int StartSLMSequence() = 0;
+
1072
+
1077 virtual int StopSLMSequence() = 0;
+
1078
+
1088 virtual int ClearSLMSequence() = 0;
+
1089
+
1097 virtual int AddToSLMSequence(const unsigned char * const pixels) = 0;
+
1098
+
1106 virtual int AddToSLMSequence(const unsigned int * const pixels) = 0;
+
1107
+
1114 virtual int SendSLMSequence() = 0;
+
1115
+
1116 };
+
+
1117
+
+
1132 class Galvo : public Device
+
1133 {
+
1134 public:
+
1135 Galvo() {}
+
1136 virtual ~Galvo() {}
+
1137
+
1138 virtual DeviceType GetType() const { return Type; }
+
1139 static const DeviceType Type;
+
1140
+
1141 //Galvo API:
+
1142
+
1149 virtual int PointAndFire(double x, double y, double time_us) = 0;
+
1157 virtual int SetSpotInterval(double pulseInterval_us) = 0;
+
1163 virtual int SetPosition(double x, double y) = 0;
+
1170 virtual int GetPosition(double& x, double& y) = 0;
+
1177 virtual int SetIlluminationState(bool on) = 0;
+
1181 virtual double GetXRange() = 0;
+
1186 virtual double GetXMinimum() = 0;
+
1190 virtual double GetYRange() = 0;
+
1195 virtual double GetYMinimum() = 0;
+
1206 virtual int AddPolygonVertex(int polygonIndex, double x, double y) = 0;
+
1211 virtual int DeletePolygons() = 0;
+
1221 virtual int RunSequence() = 0;
+
1229 virtual int LoadPolygons() = 0;
+
1235 virtual int SetPolygonRepetitions(int repetitions) = 0;
+
1241 virtual int RunPolygons() = 0;
+
1246 virtual int StopSequence() = 0;
+
1251 virtual int GetChannel(char* channelName) = 0;
+
1252 };
+
+
1253
+
+
1258 class Hub : public Device
+
1259 {
+
1260 public:
+
1261 Hub() {}
+
1262 virtual ~Hub() {}
+
1263
+
1264 // MMDevice API
+
1265 virtual DeviceType GetType() const { return Type; }
+
1266 static const DeviceType Type;
+
1267
+
1280 virtual int DetectInstalledDevices() = 0;
+
1281
+
1290 virtual void ClearInstalledDevices() = 0;
+
1291
+
1298 virtual unsigned GetNumberOfInstalledDevices() = 0;
+
1299
+
1306 virtual Device* GetInstalledDevice(int devIdx) = 0;
+
1307 };
+
+
1308
+
+
1313 class Core
+
1314 {
+
1315 public:
+
1316 Core() {}
+
1317 virtual ~Core() {}
+
1318
+
1324 virtual int LogMessage(const Device* caller, const char* msg, bool debugOnly) const = 0;
+
1330 virtual Device* GetDevice(const Device* caller, const char* label) = 0;
+
1331 virtual int GetDeviceProperty(const char* deviceName, const char* propName, char* value) = 0;
+
1332 virtual int SetDeviceProperty(const char* deviceName, const char* propName, const char* value) = 0;
+
1333
+
1335
+
1343 virtual void GetLoadedDeviceOfType(const Device* caller, MM::DeviceType devType, char* pDeviceName, const unsigned int deviceIterator) = 0;
+
1344
+
1345 virtual int SetSerialProperties(const char* portName,
+
1346 const char* answerTimeout,
+
1347 const char* baudRate,
+
1348 const char* delayBetweenCharsMs,
+
1349 const char* handshaking,
+
1350 const char* parity,
+
1351 const char* stopBits) = 0;
+
1352 virtual int SetSerialCommand(const Device* caller, const char* portName, const char* command, const char* term) = 0;
+
1353 virtual int GetSerialAnswer(const Device* caller, const char* portName, unsigned long ansLength, char* answer, const char* term) = 0;
+
1354 virtual int WriteToSerial(const Device* caller, const char* port, const unsigned char* buf, unsigned long length) = 0;
+
1355 virtual int ReadFromSerial(const Device* caller, const char* port, unsigned char* buf, unsigned long length, unsigned long& read) = 0;
+
1356 virtual int PurgeSerial(const Device* caller, const char* portName) = 0;
+
1357 virtual MM::PortType GetSerialPortType(const char* portName) const = 0;
+
1358
+
1359 virtual int OnPropertiesChanged(const Device* caller) = 0;
+
1365 virtual int OnPropertyChanged(const Device* caller, const char* propName, const char* propValue) = 0;
+
1370 virtual int OnStagePositionChanged(const Device* caller, double pos) = 0;
+
1375 virtual int OnXYStagePositionChanged(const Device* caller, double xPos, double yPos) = 0;
+
1379 virtual int OnExposureChanged(const Device* caller, double newExposure) = 0;
+
1383 virtual int OnSLMExposureChanged(const Device* caller, double newExposure) = 0;
+
1387 virtual int OnMagnifierChanged(const Device* caller) = 0;
+
1388
+
1389 // Deprecated: Return value overflows in ~72 minutes on Windows.
+
1390 // Prefer std::chrono::steady_clock for time delta measurements.
+
1391 virtual unsigned long GetClockTicksUs(const Device* caller) = 0;
+
1392
+
1393 // Returns monotonic MMTime suitable for time delta measurements.
+
1394 // Time zero is not fixed and may change on every launch.
+
1395 // Prefer std::chrono::steady_clock::now() in new code.
+
1396 virtual MM::MMTime GetCurrentMMTime() = 0;
+
1397
+
1398 // sequence acquisition
+
1399 virtual int AcqFinished(const Device* caller, int statusCode) = 0;
+
1400 virtual int PrepareForAcq(const Device* caller) = 0;
+
1401 virtual int InsertImage(const Device* caller, const ImgBuffer& buf) = 0;
+
1402 virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, unsigned nComponents, const char* serializedMetadata, const bool doProcess = true) = 0;
+
1403 virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, const Metadata* md = 0, const bool doProcess = true) = 0;
+
1405 virtual int InsertImage(const Device* caller, const unsigned char* buf, unsigned width, unsigned height, unsigned byteDepth, const char* serializedMetadata, const bool doProcess = true) = 0;
+
1406 virtual void ClearImageBuffer(const Device* caller) = 0;
+
1407 virtual bool InitializeImageBuffer(unsigned channels, unsigned slices, unsigned int w, unsigned int h, unsigned int pixDepth) = 0;
+
1409 virtual int InsertMultiChannel(const Device* caller, const unsigned char* buf, unsigned numChannels, unsigned width, unsigned height, unsigned byteDepth, Metadata* md = 0) = 0;
+
1410
+
1411 // Formerly intended for use by autofocus
+
1412 MM_DEPRECATED(virtual const char* GetImage()) = 0;
+
1413 MM_DEPRECATED(virtual int GetImageDimensions(int& width, int& height, int& depth)) = 0;
+
1414 MM_DEPRECATED(virtual int GetFocusPosition(double& pos)) = 0;
+
1415 MM_DEPRECATED(virtual int SetFocusPosition(double pos)) = 0;
+
1416 MM_DEPRECATED(virtual int MoveFocus(double velocity)) = 0;
+
1417 MM_DEPRECATED(virtual int SetXYPosition(double x, double y)) = 0;
+
1418 MM_DEPRECATED(virtual int GetXYPosition(double& x, double& y)) = 0;
+
1419 MM_DEPRECATED(virtual int MoveXYStage(double vX, double vY)) = 0;
+
1420 MM_DEPRECATED(virtual int SetExposure(double expMs)) = 0;
+
1421 MM_DEPRECATED(virtual int GetExposure(double& expMs)) = 0;
+
1422 MM_DEPRECATED(virtual int SetConfig(const char* group, const char* name)) = 0;
+
1423 MM_DEPRECATED(virtual int GetCurrentConfig(const char* group, int bufLen, char* name)) = 0;
+
1424 MM_DEPRECATED(virtual int GetChannelConfig(char* channelConfigName, const unsigned int channelConfigIterator)) = 0;
+
1425
+
1426 // Direct (and dangerous) access to specific device types
+
1427 MM_DEPRECATED(virtual MM::ImageProcessor* GetImageProcessor(const MM::Device* caller)) = 0;
+
1428 MM_DEPRECATED(virtual MM::AutoFocus* GetAutoFocus(const MM::Device* caller)) = 0;
+
1429
+
1430 virtual MM::Hub* GetParentHub(const MM::Device* caller) const = 0;
+
1431
+
1432 // More direct (and dangerous) access to specific device types
+
1433 MM_DEPRECATED(virtual MM::State* GetStateDevice(const MM::Device* caller, const char* deviceName)) = 0;
+
1434 MM_DEPRECATED(virtual MM::SignalIO* GetSignalIODevice(const MM::Device* caller, const char* deviceName)) = 0;
+
1435
+
1436 // Asynchronous error handling (never implemented)
+
1438 MM_DEPRECATED(virtual void NextPostedError(int& /*errorCode*/, char* /*pMessage*/, int /*maxlen*/, int& /*messageLength*/)) = 0;
+
1440 MM_DEPRECATED(virtual void PostError(const int, const char*)) = 0;
+
1442 MM_DEPRECATED(virtual void ClearPostedErrors(void)) = 0;
+
1443 };
+
+
1444
+
1445} // namespace MM
+
Definition ImgBuffer.h:36
+
Definition MMDevice.h:824
+
Definition MMDevice.h:332
virtual long GetImageBufferSize() const =0
virtual double GetPixelSizeUm() const =0
virtual int ClearROI()=0
virtual int GetBinning() const =0
virtual int GetComponentName(unsigned component, char *name)=0
virtual void SetExposure(double exp_ms)=0
+
virtual const unsigned char * GetImageBuffer()=0
virtual int SnapImage()=0
virtual int StopSequenceAcquisition()=0
-
virtual const unsigned int * GetImageBufferAsRGB32()=0
virtual void GetTags(char *serializedMetadata)=0
virtual unsigned GetImageHeight() const =0
virtual bool IsCapturing()=0
@@ -865,6 +906,7 @@
virtual unsigned GetBitDepth() const =0
virtual int GetChannelName(unsigned channel, char *name)=0
virtual int SetROI(unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0
+
virtual const unsigned char * GetImageBuffer(unsigned channelNr)=0
virtual int PrepareSequenceAcqusition()=0
virtual double GetExposure() const =0
virtual int IsExposureSequenceable(bool &isSequenceable) const =0
@@ -872,16 +914,14 @@
virtual void AddTag(const char *key, const char *deviceLabel, const char *value)=0
virtual unsigned GetNumberOfComponents() const =0
virtual int StartSequenceAcquisition(double interval_ms)=0
+
virtual const unsigned int * GetImageBufferAsRGB32()=0
virtual void RemoveTag(const char *key)=0
virtual int GetROI(unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0
virtual unsigned GetImageWidth() const =0
-
virtual const unsigned char * GetImageBuffer()=0
virtual int SetBinning(int binSize)=0
-
virtual const unsigned char * GetImageBuffer(unsigned channelNr)=0
virtual unsigned GetImageBytesPerPixel() const =0
-
Definition: MMDevice.h:1314
+
Definition MMDevice.h:1314
virtual int OnMagnifierChanged(const Device *caller)=0
-
virtual Device * GetDevice(const Device *caller, const char *label)=0
virtual int OnStagePositionChanged(const Device *caller, double pos)=0
virtual void GetLoadedDeviceOfType(const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0
Get the names of currently loaded devices of a given type.
virtual int OnExposureChanged(const Device *caller, double newExposure)=0
@@ -892,9 +932,10 @@
MM_DEPRECATED(virtual void NextPostedError(int &, char *, int, int &))=0
virtual int InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const char *serializedMetadata, const bool doProcess=true)=0
MM_DEPRECATED(virtual void ClearPostedErrors(void))=0
+
virtual Device * GetDevice(const Device *caller, const char *label)=0
virtual int OnPropertyChanged(const Device *caller, const char *propName, const char *propValue)=0
virtual int OnSLMExposureChanged(const Device *caller, double newExposure)=0
-
Definition: MMDevice.h:225
+
Definition MMDevice.h:225
virtual int GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0
virtual int StopPropertySequence(const char *propertyName)=0
virtual int IsPropertySequenceable(const char *name, bool &isSequenceable) const =0
@@ -903,7 +944,7 @@
virtual int AddToPropertySequence(const char *propertyName, const char *value)=0
virtual int SendPropertySequence(const char *propertyName)=0
virtual int Shutdown()=0
-
Definition: MMDevice.h:1133
+
Definition MMDevice.h:1133
virtual int RunSequence()=0
virtual int RunPolygons()=0
virtual int LoadPolygons()=0
@@ -921,16 +962,16 @@
virtual int SetPosition(double x, double y)=0
virtual int SetIlluminationState(bool on)=0
virtual double GetXMinimum()=0
-
Definition: MMDevice.h:323
-
Definition: MMDevice.h:1259
-
virtual Device * GetInstalledDevice(int devIdx)=0
+
Definition MMDevice.h:323
+
Definition MMDevice.h:1259
+
virtual Device * GetInstalledDevice(int devIdx)=0
virtual unsigned GetNumberOfInstalledDevices()=0
virtual void ClearInstalledDevices()=0
virtual int DetectInstalledDevices()=0
-
Definition: MMDevice.h:850
-
Definition: MMDevice.h:91
-
Definition: MMDevice.h:953
-
Definition: MMDevice.h:974
+
Definition MMDevice.h:850
+
Definition MMDevice.h:91
+
Definition MMDevice.h:953
+
Definition MMDevice.h:974
virtual int StartSLMSequence()=0
virtual int SendSLMSequence()=0
virtual int GetSLMSequenceMaxLength(long &nrEvents) const =0
@@ -950,10 +991,10 @@
virtual int AddToSLMSequence(const unsigned int *const pixels)=0
virtual int ClearSLMSequence()=0
virtual unsigned GetWidth()=0
-
Definition: MMDevice.h:802
-
Definition: MMDevice.h:567
+
Definition MMDevice.h:802
+
Definition MMDevice.h:567
virtual int Fire(double deltaT)=0
-
Definition: MMDevice.h:869
+
Definition MMDevice.h:869
virtual int StartDASequence()=0
virtual int SendDASequence()=0
virtual int StopDASequence()=0
@@ -961,7 +1002,7 @@
virtual int IsDASequenceable(bool &isSequenceable) const =0
virtual int GetDASequenceMaxLength(long &nrEvents) const =0
virtual int AddToDASequence(double voltage)=0
-
Definition: MMDevice.h:590
+
Definition MMDevice.h:590
virtual int IsStageLinearSequenceable(bool &isSequenceable) const =0
virtual int SendStageSequence()=0
virtual int SetStageLinearSequence(double dZ_um, long nSlices)=0
@@ -969,9 +1010,9 @@
virtual int GetFocusDirection(FocusDirection &direction)=0
Return the focus direction.
virtual int AddToStageSequence(double position)=0
virtual int IsStageSequenceable(bool &isSequenceable) const =0
-
Definition: MMDevice.h:776
-
Definition: MMDevice.h:196
-
Definition: MMDevice.h:690
+
Definition MMDevice.h:776
+
Definition MMDevice.h:196
+
Definition MMDevice.h:690
virtual int ClearXYStageSequence()=0
virtual int SetYOrigin()=0
virtual int SetXOrigin()=0
@@ -979,11 +1020,11 @@
virtual int SetOrigin()=0
virtual int SendXYStageSequence()=0
virtual int AddToXYStageSequence(double positionX, double positionY)=0
-
Definition: ImageMetadata.h:282
+
Definition ImageMetadata.h:282
diff --git a/_m_m_device_constants_8h_source.html b/_m_m_device_constants_8h_source.html index abdb466..7e1d40d 100644 --- a/_m_m_device_constants_8h_source.html +++ b/_m_m_device_constants_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMDeviceConstants.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,295 +26,301 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
MMDeviceConstants.h
+
MMDeviceConstants.h
-
1 // FILE: MMDeviceConstants.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: Global constants and enumeration types
-
7 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 07/11/2005
-
8 // COPYRIGHT: University of California, San Francisco, 2006
-
9 //
-
10 // LICENSE: This file is distributed under the BSD license.
-
11 // License text is included with the source distribution.
-
12 //
-
13 // This file is distributed in the hope that it will be useful,
-
14 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
15 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
16 //
-
17 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
18 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
19 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
20 //
-
21 
-
22 #pragma once
-
23 
-
25 // Global error codes
-
26 //
-
27 #define MM_CODE_OK 0 // command succeeded
-
28 #define MM_CODE_ERR 1 // undefined error occurred
-
29 
-
31 // Global constants
-
32 //
-
33 // common device error codes
-
34 // TODO: revise values - the range might clash with the native driver codes
-
35 
-
36 #define DEVICE_OK 0
-
37 #define DEVICE_ERR 1 // generic, undefined error
-
38 #define DEVICE_INVALID_PROPERTY 2
-
39 #define DEVICE_INVALID_PROPERTY_VALUE 3
-
40 #define DEVICE_DUPLICATE_PROPERTY 4
-
41 #define DEVICE_INVALID_PROPERTY_TYPE 5
-
42 #define DEVICE_NATIVE_MODULE_FAILED 6 // unable to load or initialize native module
-
43 #define DEVICE_UNSUPPORTED_DATA_FORMAT 7 // we don't know how to handle camera data
-
44 #define DEVICE_INTERNAL_INCONSISTENCY 8 // internal data structures are corrupted
-
45 #define DEVICE_NOT_SUPPORTED 9
-
46 #define DEVICE_UNKNOWN_LABEL 10
-
47 #define DEVICE_UNSUPPORTED_COMMAND 11
-
48 #define DEVICE_UNKNOWN_POSITION 12
-
49 #define DEVICE_NO_CALLBACK_REGISTERED 13
-
50 #define DEVICE_SERIAL_COMMAND_FAILED 14
-
51 #define DEVICE_SERIAL_BUFFER_OVERRUN 15
-
52 #define DEVICE_SERIAL_INVALID_RESPONSE 16
-
53 #define DEVICE_SERIAL_TIMEOUT 17
-
54 #define DEVICE_SELF_REFERENCE 18
-
55 #define DEVICE_NO_PROPERTY_DATA 19
-
56 #define DEVICE_DUPLICATE_LABEL 20
-
57 #define DEVICE_INVALID_INPUT_PARAM 21
-
58 #define DEVICE_BUFFER_OVERFLOW 22
-
59 #define DEVICE_NONEXISTENT_CHANNEL 23
-
60 #define DEVICE_INVALID_PROPERTY_LIMTS 24
-
61 #define DEVICE_SNAP_IMAGE_FAILED 25
-
62 #define DEVICE_IMAGE_PARAMS_FAILED 26
-
63 #define DEVICE_CORE_FOCUS_STAGE_UNDEF 27
-
64 #define DEVICE_CORE_EXPOSURE_FAILED 28
-
65 #define DEVICE_CORE_CONFIG_FAILED 29
-
66 #define DEVICE_CAMERA_BUSY_ACQUIRING 30
-
67 #define DEVICE_INCOMPATIBLE_IMAGE 31
-
68 #define DEVICE_CAN_NOT_SET_PROPERTY 32
-
69 #define DEVICE_CORE_CHANNEL_PRESETS_FAILED 33
-
70 #define DEVICE_LOCALLY_DEFINED_ERROR 34
-
71 #define DEVICE_NOT_CONNECTED 35
-
72 #define DEVICE_COMM_HUB_MISSING 36
-
73 #define DEVICE_DUPLICATE_LIBRARY 37
-
74 #define DEVICE_PROPERTY_NOT_SEQUENCEABLE 38
-
75 #define DEVICE_SEQUENCE_TOO_LARGE 39
-
76 #define DEVICE_OUT_OF_MEMORY 40
-
77 #define DEVICE_NOT_YET_IMPLEMENTED 41
-
78 
-
79 
-
80 namespace MM {
-
81  // Maximum length copied into various char buffers.
-
82  // Code providing buffer should assume excludes null terminator.
-
83  // Code filling buffer should assume includes null terminator.
-
84  const int MaxStrLength = 1024;
-
85 
-
86  // system-wide property names
-
87  const char* const g_Keyword_Name = "Name";
-
88  const char* const g_Keyword_Description = "Description";
-
89  const char* const g_Keyword_CameraName = "CameraName";
-
90  const char* const g_Keyword_CameraID = "CameraID";
-
91  const char* const g_Keyword_CameraChannelName = "CameraChannelName";
-
92  const char* const g_Keyword_CameraChannelIndex = "CameraChannelIndex";
-
93  const char* const g_Keyword_Binning = "Binning";
-
94  const char* const g_Keyword_Exposure = "Exposure";
-
95  const char* const g_Keyword_ActualExposure = "ActualExposure";
-
96  const char* const g_Keyword_ActualInterval_ms= "ActualInterval-ms";
-
97  const char* const g_Keyword_Interval_ms = "Interval-ms";
-
98  const char* const g_Keyword_Elapsed_Time_ms = "ElapsedTime-ms";
-
99  const char* const g_Keyword_PixelType = "PixelType";
-
100  const char* const g_Keyword_ReadoutTime = "ReadoutTime";
-
101  const char* const g_Keyword_ReadoutMode = "ReadoutMode";
-
102  const char* const g_Keyword_Gain = "Gain";
-
103  const char* const g_Keyword_EMGain = "EMGain";
-
104  const char* const g_Keyword_Offset = "Offset";
-
105  const char* const g_Keyword_CCDTemperature = "CCDTemperature";
-
106  const char* const g_Keyword_CCDTemperatureSetPoint = "CCDTemperatureSetPoint";
-
107  const char* const g_Keyword_State = "State";
-
108  const char* const g_Keyword_Label = "Label";
-
109  const char* const g_Keyword_Position = "Position";
-
110  const char* const g_Keyword_Type = "Type";
-
111  const char* const g_Keyword_Delay = "Delay_ms";
-
112  const char* const g_Keyword_BaudRate = "BaudRate";
-
113  const char* const g_Keyword_DataBits = "DataBits";
-
114  const char* const g_Keyword_StopBits = "StopBits";
-
115  const char* const g_Keyword_Parity = "Parity";
-
116  const char* const g_Keyword_Handshaking = "Handshaking";
-
117  const char* const g_Keyword_DelayBetweenCharsMs = "DelayBetweenCharsMs";
-
118  const char* const g_Keyword_Port = "Port";
-
119  const char* const g_Keyword_AnswerTimeout = "AnswerTimeout";
-
120  const char* const g_Keyword_Speed = "Speed";
-
121  const char* const g_Keyword_CoreDevice = "Core";
-
122  const char* const g_Keyword_CoreInitialize = "Initialize";
-
123  const char* const g_Keyword_CoreCamera = "Camera";
-
124  const char* const g_Keyword_CoreShutter = "Shutter";
-
125  const char* const g_Keyword_CoreXYStage = "XYStage";
-
126  const char* const g_Keyword_CoreFocus = "Focus";
-
127  const char* const g_Keyword_CoreAutoFocus = "AutoFocus";
-
128  const char* const g_Keyword_CoreAutoShutter = "AutoShutter";
-
129  const char* const g_Keyword_CoreChannelGroup = "ChannelGroup";
-
130  const char* const g_Keyword_CoreImageProcessor = "ImageProcessor";
-
131  const char* const g_Keyword_CoreSLM = "SLM";
-
132  const char* const g_Keyword_CoreGalvo = "Galvo";
-
133  const char* const g_Keyword_CoreTimeoutMs = "TimeoutMs";
-
134  const char* const g_Keyword_Channel = "Channel";
-
135  const char* const g_Keyword_Version = "Version";
-
136  const char* const g_Keyword_ColorMode = "ColorMode";
-
137  const char* const g_Keyword_Transpose_SwapXY = "TransposeXY";
-
138  const char* const g_Keyword_Transpose_MirrorX = "TransposeMirrorX";
-
139  const char* const g_Keyword_Transpose_MirrorY = "TransposeMirrorY";
-
140  const char* const g_Keyword_Transpose_Correction = "TransposeCorrection";
-
141  const char* const g_Keyword_Closed_Position = "ClosedPosition";
-
142  const char* const g_Keyword_HubID = "HubID";
-
143 
-
144 
-
145  // image annotations
-
146  const char* const g_Keyword_Metadata_CameraLabel = "Camera";
-
147  const char* const g_Keyword_Meatdata_Exposure = "Exposure-ms";
-
148  const char* const g_Keyword_Metadata_Score = "Score";
-
149  const char* const g_Keyword_Metadata_ImageNumber = "ImageNumber";
-
150  // Removed: g_Keyword_Metadata_StartTime = "StartTime-ms";
-
151  const char* const g_Keyword_Metadata_ROI_X = "ROI-X-start";
-
152  const char* const g_Keyword_Metadata_ROI_Y = "ROI-Y-start";
-
153  const char* const g_Keyword_Metadata_TimeInCore = "TimeReceivedByCore";
-
154 
-
155  // configuration file format constants
-
156  const char* const g_FieldDelimiters = ",";
-
157  const char* const g_CFGCommand_Device = "Device";
-
158  const char* const g_CFGCommand_Label = "Label";
-
159  const char* const g_CFGCommand_Property = "Property";
-
160  const char* const g_CFGCommand_Configuration = "Config";
-
161  const char* const g_CFGCommand_ConfigGroup = "ConfigGroup";
-
162  const char* const g_CFGCommand_Equipment = "Equipment";
-
163  const char* const g_CFGCommand_Delay = "Delay";
-
164  const char* const g_CFGCommand_ImageSynchro = "ImageSynchro";
-
165  const char* const g_CFGCommand_ConfigPixelSize = "ConfigPixelSize";
-
166  const char* const g_CFGCommand_PixelSize_um = "PixelSize_um";
-
167  const char* const g_CFGCommand_PixelSizeAffine = "PixelSizeAffine";
-
168  const char* const g_CFGCommand_ParentID = "Parent";
-
169  const char* const g_CFGCommand_FocusDirection = "FocusDirection";
-
170 
-
171  // configuration groups
-
172  const char* const g_CFGGroup_System = "System";
-
173  const char* const g_CFGGroup_System_Startup = "Startup";
-
174  const char* const g_CFGGroup_System_Shutdown = "Shutdown";
-
175  const char* const g_CFGGroup_PixelSizeUm = "PixelSize_um";
-
176 
-
177  // serial port constants
-
178  const int _DATABITS_5 = 5;
-
179  const int _DATABITS_6 = 6;
-
180  const int _DATABITS_7 = 7;
-
181  const int _DATABITS_8 = 8;
-
182 
-
183  const int _FLOWCONTROL_NONE = 0;
-
184  const int _FLOWCONTROL_RTSCTS_IN = 1;
-
185  const int _FLOWCONTROL_RTSCTS_OUT = 2;
-
186  const int _FLOWCONTROL_XONXOFF_IN = 4;
-
187  const int _FLOWCONTROL_XONXOFF_OUT = 8;
-
188 
-
189  const int _PARITY_EVEN = 2;
-
190  const int _PARITY_MARK = 3;
-
191  const int _PARITY_NONE = 0;
-
192  const int _PARITY_ODD = 1;
-
193  const int _PARITY_SPACE = 4;
-
194 
-
195  const int _STOPBITS_1 = 1;
-
196  const int _STOPBITS_1_5 = 3;
-
197  const int _STOPBITS_2 = 2;
-
198 
-
199 
-
201  // Type constants
-
202  //
-
203  enum DeviceType {
-
204  UnknownType=0,
-
205  AnyType,
-
206  CameraDevice,
-
207  ShutterDevice,
-
208  StateDevice,
-
209  StageDevice,
-
210  XYStageDevice,
-
211  SerialDevice,
-
212  GenericDevice,
-
213  AutoFocusDevice,
-
214  CoreDevice,
-
215  ImageProcessorDevice,
-
216  SignalIODevice,
-
217  MagnifierDevice,
-
218  SLMDevice,
-
219  HubDevice,
-
220  GalvoDevice
-
221  };
-
222 
-
223  enum PropertyType {
-
224  Undef,
-
225  String,
-
226  Float,
-
227  Integer
-
228  };
-
229 
-
230  enum ActionType {
-
231  NoAction,
-
232  BeforeGet,
-
233  AfterSet,
-
234  IsSequenceable,
-
235  AfterLoadSequence,
-
236  StartSequence,
-
237  StopSequence
-
238  };
-
239 
-
240  enum PortType {
-
241  InvalidPort,
-
242  SerialPort,
-
243  USBPort,
-
244  HIDPort
-
245  };
-
246 
-
247  enum FocusDirection {
-
248  FocusDirectionUnknown,
-
249  FocusDirectionTowardSample,
-
250  FocusDirectionAwayFromSample,
-
251  };
-
252 
-
254  // Notification constants
-
255  //
-
256  enum DeviceNotification {
-
257  Attention,
-
258  Done,
-
259  StatusChanged
-
260  };
-
261 
-
262  // Device discovery
-
263  enum DeviceDetectionStatus{
-
264  Unimplemented = -2, // -- there is as yet no mechanism to programmatically detect the device
-
265  Misconfigured = -1, // -- some information needed to communicate with the device is invalid
-
266  CanNotCommunicate = 0, // -- communication attributes are valid, but the device does not respond
-
267  CanCommunicate = 1 // -- communication verified, parameters have been set to valid values.
-
268  };
-
269 
-
270 } // namespace MM
+
1
+
2// FILE: MMDeviceConstants.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: Global constants and enumeration types
+
7// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 07/11/2005
+
8// COPYRIGHT: University of California, San Francisco, 2006
+
9//
+
10// LICENSE: This file is distributed under the BSD license.
+
11// License text is included with the source distribution.
+
12//
+
13// This file is distributed in the hope that it will be useful,
+
14// but WITHOUT ANY WARRANTY; without even the implied warranty
+
15// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
16//
+
17// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
18// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
19// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
20//
+
21
+
22#pragma once
+
23
+
25// Global error codes
+
26//
+
27#define MM_CODE_OK 0 // command succeeded
+
28#define MM_CODE_ERR 1 // undefined error occurred
+
29
+
31// Global constants
+
32//
+
33// common device error codes
+
34// TODO: revise values - the range might clash with the native driver codes
+
35
+
36#define DEVICE_OK 0
+
37#define DEVICE_ERR 1 // generic, undefined error
+
38#define DEVICE_INVALID_PROPERTY 2
+
39#define DEVICE_INVALID_PROPERTY_VALUE 3
+
40#define DEVICE_DUPLICATE_PROPERTY 4
+
41#define DEVICE_INVALID_PROPERTY_TYPE 5
+
42#define DEVICE_NATIVE_MODULE_FAILED 6 // unable to load or initialize native module
+
43#define DEVICE_UNSUPPORTED_DATA_FORMAT 7 // we don't know how to handle camera data
+
44#define DEVICE_INTERNAL_INCONSISTENCY 8 // internal data structures are corrupted
+
45#define DEVICE_NOT_SUPPORTED 9
+
46#define DEVICE_UNKNOWN_LABEL 10
+
47#define DEVICE_UNSUPPORTED_COMMAND 11
+
48#define DEVICE_UNKNOWN_POSITION 12
+
49#define DEVICE_NO_CALLBACK_REGISTERED 13
+
50#define DEVICE_SERIAL_COMMAND_FAILED 14
+
51#define DEVICE_SERIAL_BUFFER_OVERRUN 15
+
52#define DEVICE_SERIAL_INVALID_RESPONSE 16
+
53#define DEVICE_SERIAL_TIMEOUT 17
+
54#define DEVICE_SELF_REFERENCE 18
+
55#define DEVICE_NO_PROPERTY_DATA 19
+
56#define DEVICE_DUPLICATE_LABEL 20
+
57#define DEVICE_INVALID_INPUT_PARAM 21
+
58#define DEVICE_BUFFER_OVERFLOW 22
+
59#define DEVICE_NONEXISTENT_CHANNEL 23
+
60#define DEVICE_INVALID_PROPERTY_LIMTS 24
+
61#define DEVICE_SNAP_IMAGE_FAILED 25
+
62#define DEVICE_IMAGE_PARAMS_FAILED 26
+
63#define DEVICE_CORE_FOCUS_STAGE_UNDEF 27
+
64#define DEVICE_CORE_EXPOSURE_FAILED 28
+
65#define DEVICE_CORE_CONFIG_FAILED 29
+
66#define DEVICE_CAMERA_BUSY_ACQUIRING 30
+
67#define DEVICE_INCOMPATIBLE_IMAGE 31
+
68#define DEVICE_CAN_NOT_SET_PROPERTY 32
+
69#define DEVICE_CORE_CHANNEL_PRESETS_FAILED 33
+
70#define DEVICE_LOCALLY_DEFINED_ERROR 34
+
71#define DEVICE_NOT_CONNECTED 35
+
72#define DEVICE_COMM_HUB_MISSING 36
+
73#define DEVICE_DUPLICATE_LIBRARY 37
+
74#define DEVICE_PROPERTY_NOT_SEQUENCEABLE 38
+
75#define DEVICE_SEQUENCE_TOO_LARGE 39
+
76#define DEVICE_OUT_OF_MEMORY 40
+
77#define DEVICE_NOT_YET_IMPLEMENTED 41
+
78
+
79
+
80namespace MM {
+
81 // Maximum length copied into various char buffers.
+
82 // Code providing buffer should assume excludes null terminator.
+
83 // Code filling buffer should assume includes null terminator.
+
84 const int MaxStrLength = 1024;
+
85
+
86 // system-wide property names
+
87 const char* const g_Keyword_Name = "Name";
+
88 const char* const g_Keyword_Description = "Description";
+
89 const char* const g_Keyword_CameraName = "CameraName";
+
90 const char* const g_Keyword_CameraID = "CameraID";
+
91 const char* const g_Keyword_CameraChannelName = "CameraChannelName";
+
92 const char* const g_Keyword_CameraChannelIndex = "CameraChannelIndex";
+
93 const char* const g_Keyword_Binning = "Binning";
+
94 const char* const g_Keyword_Exposure = "Exposure";
+
95 const char* const g_Keyword_ActualExposure = "ActualExposure";
+
96 const char* const g_Keyword_ActualInterval_ms= "ActualInterval-ms";
+
97 const char* const g_Keyword_Interval_ms = "Interval-ms";
+
98 const char* const g_Keyword_Elapsed_Time_ms = "ElapsedTime-ms";
+
99 const char* const g_Keyword_PixelType = "PixelType";
+
100 const char* const g_Keyword_ReadoutTime = "ReadoutTime";
+
101 const char* const g_Keyword_ReadoutMode = "ReadoutMode";
+
102 const char* const g_Keyword_Gain = "Gain";
+
103 const char* const g_Keyword_EMGain = "EMGain";
+
104 const char* const g_Keyword_Offset = "Offset";
+
105 const char* const g_Keyword_CCDTemperature = "CCDTemperature";
+
106 const char* const g_Keyword_CCDTemperatureSetPoint = "CCDTemperatureSetPoint";
+
107 const char* const g_Keyword_State = "State";
+
108 const char* const g_Keyword_Label = "Label";
+
109 const char* const g_Keyword_Position = "Position";
+
110 const char* const g_Keyword_Type = "Type";
+
111 const char* const g_Keyword_Delay = "Delay_ms";
+
112 const char* const g_Keyword_BaudRate = "BaudRate";
+
113 const char* const g_Keyword_DataBits = "DataBits";
+
114 const char* const g_Keyword_StopBits = "StopBits";
+
115 const char* const g_Keyword_Parity = "Parity";
+
116 const char* const g_Keyword_Handshaking = "Handshaking";
+
117 const char* const g_Keyword_DelayBetweenCharsMs = "DelayBetweenCharsMs";
+
118 const char* const g_Keyword_Port = "Port";
+
119 const char* const g_Keyword_AnswerTimeout = "AnswerTimeout";
+
120 const char* const g_Keyword_Speed = "Speed";
+
121 const char* const g_Keyword_CoreDevice = "Core";
+
122 const char* const g_Keyword_CoreInitialize = "Initialize";
+
123 const char* const g_Keyword_CoreCamera = "Camera";
+
124 const char* const g_Keyword_CoreShutter = "Shutter";
+
125 const char* const g_Keyword_CoreXYStage = "XYStage";
+
126 const char* const g_Keyword_CoreFocus = "Focus";
+
127 const char* const g_Keyword_CoreAutoFocus = "AutoFocus";
+
128 const char* const g_Keyword_CoreAutoShutter = "AutoShutter";
+
129 const char* const g_Keyword_CoreChannelGroup = "ChannelGroup";
+
130 const char* const g_Keyword_CoreImageProcessor = "ImageProcessor";
+
131 const char* const g_Keyword_CoreSLM = "SLM";
+
132 const char* const g_Keyword_CoreGalvo = "Galvo";
+
133 const char* const g_Keyword_CoreTimeoutMs = "TimeoutMs";
+
134 const char* const g_Keyword_Channel = "Channel";
+
135 const char* const g_Keyword_Version = "Version";
+
136 const char* const g_Keyword_ColorMode = "ColorMode";
+
137 const char* const g_Keyword_Transpose_SwapXY = "TransposeXY";
+
138 const char* const g_Keyword_Transpose_MirrorX = "TransposeMirrorX";
+
139 const char* const g_Keyword_Transpose_MirrorY = "TransposeMirrorY";
+
140 const char* const g_Keyword_Transpose_Correction = "TransposeCorrection";
+
141 const char* const g_Keyword_Closed_Position = "ClosedPosition";
+
142 const char* const g_Keyword_HubID = "HubID";
+
143
+
144
+
145 // image annotations
+
146 const char* const g_Keyword_Metadata_CameraLabel = "Camera";
+
147 const char* const g_Keyword_Meatdata_Exposure = "Exposure-ms";
+
148 const char* const g_Keyword_Metadata_Score = "Score";
+
149 const char* const g_Keyword_Metadata_ImageNumber = "ImageNumber";
+
150 // Removed: g_Keyword_Metadata_StartTime = "StartTime-ms";
+
151 const char* const g_Keyword_Metadata_ROI_X = "ROI-X-start";
+
152 const char* const g_Keyword_Metadata_ROI_Y = "ROI-Y-start";
+
153 const char* const g_Keyword_Metadata_TimeInCore = "TimeReceivedByCore";
+
154
+
155 // configuration file format constants
+
156 const char* const g_FieldDelimiters = ",";
+
157 const char* const g_CFGCommand_Device = "Device";
+
158 const char* const g_CFGCommand_Label = "Label";
+
159 const char* const g_CFGCommand_Property = "Property";
+
160 const char* const g_CFGCommand_Configuration = "Config";
+
161 const char* const g_CFGCommand_ConfigGroup = "ConfigGroup";
+
162 const char* const g_CFGCommand_Equipment = "Equipment";
+
163 const char* const g_CFGCommand_Delay = "Delay";
+
164 const char* const g_CFGCommand_ImageSynchro = "ImageSynchro";
+
165 const char* const g_CFGCommand_ConfigPixelSize = "ConfigPixelSize";
+
166 const char* const g_CFGCommand_PixelSize_um = "PixelSize_um";
+
167 const char* const g_CFGCommand_PixelSizeAffine = "PixelSizeAffine";
+
168 const char* const g_CFGCommand_ParentID = "Parent";
+
169 const char* const g_CFGCommand_FocusDirection = "FocusDirection";
+
170
+
171 // configuration groups
+
172 const char* const g_CFGGroup_System = "System";
+
173 const char* const g_CFGGroup_System_Startup = "Startup";
+
174 const char* const g_CFGGroup_System_Shutdown = "Shutdown";
+
175 const char* const g_CFGGroup_PixelSizeUm = "PixelSize_um";
+
176
+
177 // serial port constants
+
178 const int _DATABITS_5 = 5;
+
179 const int _DATABITS_6 = 6;
+
180 const int _DATABITS_7 = 7;
+
181 const int _DATABITS_8 = 8;
+
182
+
183 const int _FLOWCONTROL_NONE = 0;
+
184 const int _FLOWCONTROL_RTSCTS_IN = 1;
+
185 const int _FLOWCONTROL_RTSCTS_OUT = 2;
+
186 const int _FLOWCONTROL_XONXOFF_IN = 4;
+
187 const int _FLOWCONTROL_XONXOFF_OUT = 8;
+
188
+
189 const int _PARITY_EVEN = 2;
+
190 const int _PARITY_MARK = 3;
+
191 const int _PARITY_NONE = 0;
+
192 const int _PARITY_ODD = 1;
+
193 const int _PARITY_SPACE = 4;
+
194
+
195 const int _STOPBITS_1 = 1;
+
196 const int _STOPBITS_1_5 = 3;
+
197 const int _STOPBITS_2 = 2;
+
198
+
199
+
201 // Type constants
+
202 //
+
203 enum DeviceType {
+
204 UnknownType=0,
+
205 AnyType,
+
206 CameraDevice,
+
207 ShutterDevice,
+
208 StateDevice,
+
209 StageDevice,
+
210 XYStageDevice,
+
211 SerialDevice,
+
212 GenericDevice,
+
213 AutoFocusDevice,
+
214 CoreDevice,
+
215 ImageProcessorDevice,
+
216 SignalIODevice,
+
217 MagnifierDevice,
+
218 SLMDevice,
+
219 HubDevice,
+
220 GalvoDevice
+
221 };
+
222
+
223 enum PropertyType {
+
224 Undef,
+
225 String,
+
226 Float,
+
227 Integer
+
228 };
+
229
+
230 enum ActionType {
+
231 NoAction,
+
232 BeforeGet,
+
233 AfterSet,
+
234 IsSequenceable,
+
235 AfterLoadSequence,
+
236 StartSequence,
+
237 StopSequence
+
238 };
+
239
+
240 enum PortType {
+
241 InvalidPort,
+
242 SerialPort,
+
243 USBPort,
+
244 HIDPort
+
245 };
+
246
+
247 enum FocusDirection {
+
248 FocusDirectionUnknown,
+
249 FocusDirectionTowardSample,
+
250 FocusDirectionAwayFromSample,
+
251 };
+
252
+
254 // Notification constants
+
255 //
+
256 enum DeviceNotification {
+
257 Attention,
+
258 Done,
+
259 StatusChanged
+
260 };
+
261
+
262 // Device discovery
+
263 enum DeviceDetectionStatus{
+
264 Unimplemented = -2, // -- there is as yet no mechanism to programmatically detect the device
+
265 Misconfigured = -1, // -- some information needed to communicate with the device is invalid
+
266 CanNotCommunicate = 0, // -- communication attributes are valid, but the device does not respond
+
267 CanCommunicate = 1 // -- communication verified, parameters have been set to valid values.
+
268 };
+
269
+
270} // namespace MM
diff --git a/_module_interface_8h_source.html b/_module_interface_8h_source.html index aff1d35..b108f26 100644 --- a/_module_interface_8h_source.html +++ b/_module_interface_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: ModuleInterface.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,125 +26,131 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
ModuleInterface.h
+
ModuleInterface.h
-
1 // FILE: ModuleInterface.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: The interface to the Micro-Manager plugin modules - (device
-
7 // adapters)
-
8 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/08/2005
-
9 //
-
10 // NOTE: This file is also used in the main control module MMCore.
-
11 // Do not change it unless as a part of the MMCore module
-
12 // revision. Discrepancy between this file and the one used to
-
13 // build MMCore will cause malfunction and likely crash.
-
14 //
-
15 // COPYRIGHT: University of California, San Francisco, 2006
-
16 //
-
17 // LICENSE: This file is distributed under the BSD license.
-
18 // License text is included with the source distribution.
-
19 //
-
20 // This file is distributed in the hope that it will be useful,
-
21 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
22 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
23 //
-
24 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
25 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
26 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
27 
-
28 #pragma once
-
29 
-
30 #include "MMDevice.h"
-
31 
-
33 
-
37 // If any of the exported module API calls (below) changes, the interface
-
38 // version must be incremented. Note that the signature and name of
-
39 // GetModuleVersion() must never change.
-
40 #define MODULE_INTERFACE_VERSION 10
-
41 
-
42 extern "C" {
-
43 #ifndef MMDEVICE_CLIENT_BUILD
-
44 
-
45 // Make the module interface functions visible from outside the module.
-
46 #ifdef _MSC_VER
-
47 # define MODULE_API __declspec(dllexport)
-
48 #else
-
49 # define MODULE_API __attribute__((visibility("default")))
-
50 #endif
-
51 
-
52  /*
-
53  * Exported module interface
-
54  */
-
55 
-
57 
-
70  MODULE_API void InitializeModuleData();
-
71 
-
73 
-
81  MODULE_API MM::Device* CreateDevice(const char* name);
-
82 
-
84 
-
93  MODULE_API void DeleteDevice(MM::Device* pDevice);
-
94 
-
95  // A common implementation is provided for the following functions.
-
96  // Individual device adapters need not concern themselves with these
-
97  // details.
-
98  MODULE_API long GetModuleVersion();
-
99  MODULE_API long GetDeviceInterfaceVersion();
-
100  MODULE_API unsigned GetNumberOfDevices();
-
101  MODULE_API bool GetDeviceName(unsigned deviceIndex, char* name, unsigned bufferLength);
-
102  MODULE_API bool GetDeviceType(const char* deviceName, int* type);
-
103  MODULE_API bool GetDeviceDescription(const char* deviceName, char* name, unsigned bufferLength);
-
104 #endif // MMDEVICE_CLIENT_BUILD
-
105 
-
106 #ifdef MMDEVICE_CLIENT_BUILD
-
107  // Function pointer types for module interface functions
-
108  typedef void (*fnInitializeModuleData)();
-
109  typedef MM::Device* (*fnCreateDevice)(const char*);
-
110  typedef void (*fnDeleteDevice)(MM::Device*);
-
111  typedef long (*fnGetModuleVersion)();
-
112  typedef long (*fnGetDeviceInterfaceVersion) ();
-
113  typedef unsigned (*fnGetNumberOfDevices)();
-
114  typedef bool (*fnGetDeviceName)(unsigned, char*, unsigned);
-
115  typedef bool (*fnGetDeviceType)(const char*, int*);
-
116  typedef bool (*fnGetDeviceDescription)(const char*, char*, unsigned);
-
117 #endif // MMDEVICE_CLIENT_BUILD
-
118 }
-
119 
-
120 #ifndef MMDEVICE_CLIENT_BUILD
-
121 
-
122 /*
-
123  * Functions for use by the device adapter module
-
124  */
-
125 
-
127 
-
136 void RegisterDevice(const char* deviceName, MM::DeviceType deviceType, const char* description);
-
137 
-
138 #endif // MMDEVICE_CLIENT_BUILD
-
Definition: MMDevice.h:225
+
1
+
2// FILE: ModuleInterface.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: The interface to the Micro-Manager plugin modules - (device
+
7// adapters)
+
8// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/08/2005
+
9//
+
10// NOTE: This file is also used in the main control module MMCore.
+
11// Do not change it unless as a part of the MMCore module
+
12// revision. Discrepancy between this file and the one used to
+
13// build MMCore will cause malfunction and likely crash.
+
14//
+
15// COPYRIGHT: University of California, San Francisco, 2006
+
16//
+
17// LICENSE: This file is distributed under the BSD license.
+
18// License text is included with the source distribution.
+
19//
+
20// This file is distributed in the hope that it will be useful,
+
21// but WITHOUT ANY WARRANTY; without even the implied warranty
+
22// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
23//
+
24// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
25// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
26// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
27
+
28#pragma once
+
29
+
30#include "MMDevice.h"
+
31
+
33
+
37// If any of the exported module API calls (below) changes, the interface
+
38// version must be incremented. Note that the signature and name of
+
39// GetModuleVersion() must never change.
+
40#define MODULE_INTERFACE_VERSION 10
+
41
+
42extern "C" {
+
43#ifndef MMDEVICE_CLIENT_BUILD
+
44
+
45// Make the module interface functions visible from outside the module.
+
46#ifdef _MSC_VER
+
47# define MODULE_API __declspec(dllexport)
+
48#else
+
49# define MODULE_API __attribute__((visibility("default")))
+
50#endif
+
51
+
52 /*
+
53 * Exported module interface
+
54 */
+
55
+
57
+
70 MODULE_API void InitializeModuleData();
+
71
+
73
+
81 MODULE_API MM::Device* CreateDevice(const char* name);
+
82
+
84
+
93 MODULE_API void DeleteDevice(MM::Device* pDevice);
+
94
+
95 // A common implementation is provided for the following functions.
+
96 // Individual device adapters need not concern themselves with these
+
97 // details.
+
98 MODULE_API long GetModuleVersion();
+
99 MODULE_API long GetDeviceInterfaceVersion();
+
100 MODULE_API unsigned GetNumberOfDevices();
+
101 MODULE_API bool GetDeviceName(unsigned deviceIndex, char* name, unsigned bufferLength);
+
102 MODULE_API bool GetDeviceType(const char* deviceName, int* type);
+
103 MODULE_API bool GetDeviceDescription(const char* deviceName, char* name, unsigned bufferLength);
+
104#endif // MMDEVICE_CLIENT_BUILD
+
105
+
106#ifdef MMDEVICE_CLIENT_BUILD
+
107 // Function pointer types for module interface functions
+
108 typedef void (*fnInitializeModuleData)();
+
109 typedef MM::Device* (*fnCreateDevice)(const char*);
+
110 typedef void (*fnDeleteDevice)(MM::Device*);
+
111 typedef long (*fnGetModuleVersion)();
+
112 typedef long (*fnGetDeviceInterfaceVersion) ();
+
113 typedef unsigned (*fnGetNumberOfDevices)();
+
114 typedef bool (*fnGetDeviceName)(unsigned, char*, unsigned);
+
115 typedef bool (*fnGetDeviceType)(const char*, int*);
+
116 typedef bool (*fnGetDeviceDescription)(const char*, char*, unsigned);
+
117#endif // MMDEVICE_CLIENT_BUILD
+
118}
+
119
+
120#ifndef MMDEVICE_CLIENT_BUILD
+
121
+
122/*
+
123 * Functions for use by the device adapter module
+
124 */
+
125
+
127
+
136void RegisterDevice(const char* deviceName, MM::DeviceType deviceType, const char* description);
+
137
+
138#endif // MMDEVICE_CLIENT_BUILD
+
Definition MMDevice.h:225
diff --git a/_property_8h_source.html b/_property_8h_source.html index e3e85b4..ec20122 100644 --- a/_property_8h_source.html +++ b/_property_8h_source.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Property.h Source File @@ -16,10 +16,9 @@
- - + @@ -27,468 +26,494 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + +
-
-
Property.h
+
Property.h
-
1 // FILE: Property.h
-
3 // PROJECT: Micro-Manager
-
4 // SUBSYSTEM: MMDevice - Device adapter kit
-
5 //-----------------------------------------------------------------------------
-
6 // DESCRIPTION: This class implements the basic property mechanism in
-
7 // Micro-Manager devices.
-
8 // AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/05/2005
-
9 // COPYRIGHT: University of California, San Francisco, 2006
-
10 // LICENSE: This file is distributed under the BSD license.
-
11 // License text is included with the source distribution.
-
12 //
-
13 // This file is distributed in the hope that it will be useful,
-
14 // but WITHOUT ANY WARRANTY; without even the implied warranty
-
15 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
16 //
-
17 // IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-
18 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-
19 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
-
20 //
-
21 
-
22 #pragma once
-
23 
-
24 #include "MMDeviceConstants.h"
-
25 
-
26 #include <functional>
-
27 #include <map>
-
28 #include <string>
-
29 #include <vector>
-
30 
-
31 namespace MM {
-
32 
- -
38 {
-
39 public:
-
40  virtual ~PropertyBase() {}
-
41 
-
42  // property type
-
43  virtual PropertyType GetType() = 0;
-
44 
-
45  // setting and getting values
-
46  virtual bool Set(double dVal) = 0;
-
47  virtual bool Set(long lVal) = 0;
-
48  virtual bool Set(const char* Val) = 0;
-
49 
-
50  virtual bool Get(double& dVal) const = 0;
-
51  virtual bool Get(long& lVal) const = 0;
-
52  virtual bool Get(std::string& strVal) const = 0;
-
53 
-
54  // Limits
-
55  virtual bool HasLimits() const = 0;
-
56  virtual double GetLowerLimit() const = 0;
-
57  virtual double GetUpperLimit() const = 0;
-
58  virtual bool SetLimits(double lowerLimit, double upperLimit) = 0;
-
59 
-
60  // Sequence
-
61  virtual void SetSequenceable(long sequenceSize) = 0;
-
62  virtual long GetSequenceMaxSize() const = 0;
-
63  virtual std::vector<std::string> GetSequence() const = 0;
-
64  virtual int ClearSequence() = 0;
-
65  virtual int AddToSequence(const char* value) = 0;
-
66  virtual int SendSequence() = 0;
-
67 
-
68  virtual std::string GetName() const = 0;
-
69 };
-
70 
- -
75 {
-
76 public:
-
77  virtual ~ActionFunctor() {}
-
78  virtual int Execute(PropertyBase* pProp, ActionType eAct) = 0;
-
79 };
-
80 
-
84 template <class T>
-
85 class Action : public ActionFunctor
-
86 {
-
87 private:
-
88  T* pObj_;
-
89  int (T::*fpt_)(PropertyBase* pProp, ActionType eAct);
-
90 
-
91 public:
-
92  Action(T* pObj, int(T::*fpt)(PropertyBase* pProp, ActionType eAct) ) :
-
93  pObj_(pObj), fpt_(fpt) {}
-
94  ~Action() {}
-
95 
-
96  int Execute(PropertyBase* pProp, ActionType eAct)
-
97  { return (*pObj_.*fpt_)(pProp, eAct);};
-
98 };
-
99 
-
105 template <class T>
-
106 class ActionEx : public ActionFunctor
-
107 {
-
108 private:
-
109  T* pObj_;
-
110  int (T::*fpt_)(PropertyBase* pProp, ActionType eAct, long param);
-
111  long param_;
-
112 
-
113 public:
-
114  ActionEx(T* pObj, int(T::*fpt)(PropertyBase* pProp, ActionType eAct, long data), long data) :
-
115  pObj_(pObj), fpt_(fpt), param_(data) {};
-
116  ~ActionEx() {}
-
117  int Execute(MM::PropertyBase* pProp, MM::ActionType eAct)
-
118  { return (*pObj_.*fpt_)(pProp, eAct, param_);};
-
119 };
-
120 
-
127 class ActionLambda final : public ActionFunctor
-
128 {
-
129  std::function<int(PropertyBase*, ActionType)> func_;
-
130 
-
131 public:
-
132  template <typename F> explicit ActionLambda(F func) : func_(func) {}
-
133 
-
134  int Execute(PropertyBase* pProp, ActionType eAct) final {
-
135  return func_(pProp, eAct);
-
136  }
-
137 };
-
138 
-
142 class Property : public PropertyBase
-
143 {
-
144 public:
-
145  Property(const char* name) :
-
146  readOnly_(false),
-
147  fpAction_(0),
-
148  cached_(false),
-
149  hasData_(false),
-
150  initStatus_(true),
-
151  limits_(false),
-
152  sequenceable_(false),
-
153  sequenceMaxSize_(0),
-
154  sequenceEvents_(),
-
155  lowerLimit_(0.0),
-
156  upperLimit_(0.0),
-
157  name_(name)
-
158  {}
-
159 
-
160  virtual ~Property()
-
161  {
-
162  delete fpAction_;
-
163  }
-
164 
-
165  bool GetCached()const {return cached_;}
-
166  void SetCached(bool bState=true) {cached_ = bState;}
-
167 
-
168  bool GetReadOnly()const {return readOnly_;}
-
169  void SetReadOnly(bool bState=true) {readOnly_ = bState;}
-
170 
-
171  bool GetInitStatus() const {return initStatus_;}
-
172  void SetInitStatus(bool init) {initStatus_ = init;}
-
173 
-
174  void RegisterAction(ActionFunctor* fpAction) {delete fpAction_; fpAction_ = fpAction;}
-
175  int Update()
-
176  {
-
177  if (fpAction_)
-
178  return fpAction_->Execute(this, BeforeGet);
-
179  else
-
180  return DEVICE_OK;
-
181  }
-
182  int Apply()
-
183  {
-
184  if (fpAction_)
-
185  return fpAction_->Execute(this, AfterSet);
-
186  else
-
187  return DEVICE_OK;
-
188  }
-
189 
-
190  // discrete set of allowed values
-
191  std::vector<std::string> GetAllowedValues() const;
-
192 
-
193  void ClearAllowedValues()
-
194  {
-
195  values_.clear();
-
196  }
-
197 
-
198  void AddAllowedValue(const char* value);
-
199  void AddAllowedValue(const char* value, long data);
-
200  bool IsAllowed(const char* value) const;
-
201  bool GetData(const char* value, long& data) const;
-
202 
-
203  bool HasLimits() const
-
204  {
-
205  return limits_;
-
206  }
-
207 
-
208  double GetLowerLimit() const
-
209  {
-
210  return limits_ ? lowerLimit_ : 0.0;
-
211  }
-
212 
-
213  double GetUpperLimit() const
-
214  {
-
215  return limits_ ? upperLimit_ : 0.0;
-
216  }
-
217 
-
218  bool SetLimits(double lowerLimit, double upperLimit)
-
219  {
-
220  limits_ = true;
-
221  // do not allow limits for properties with discrete values defined
-
222  if (values_.size() > 0)
-
223  limits_ = false;
-
224 
-
225  if (lowerLimit >= upperLimit)
-
226  limits_ = false;
-
227 
-
228  lowerLimit_ = lowerLimit;
-
229  upperLimit_ = upperLimit;
-
230 
-
231  return limits_;
-
232  }
-
233 
-
234  bool IsSequenceable()
-
235  {
-
236  if (fpAction_)
-
237  fpAction_->Execute(this, MM::IsSequenceable);
-
238  return sequenceable_;
-
239  }
-
240 
-
241  void SetSequenceable(long sequenceMaxSize);
-
242 
-
243  long GetSequenceMaxSize() const
-
244  {
-
245  return sequenceMaxSize_;
-
246  }
-
247 
-
248  int ClearSequence()
-
249  {
-
250  try
-
251  {
-
252  if (sequenceEvents_.size() > 0){
-
253  sequenceEvents_.clear();
-
254  }
-
255  } catch (...)
-
256  {
-
257  return MM_CODE_ERR;
-
258  }
-
259 
-
260  return DEVICE_OK;
-
261  }
-
262 
-
263  int AddToSequence(const char* value)
-
264  {
-
265  try
-
266  {
-
267  sequenceEvents_.push_back(value);
-
268  if (sequenceEvents_.size() > (unsigned) GetSequenceMaxSize())
-
269  return DEVICE_SEQUENCE_TOO_LARGE;
-
270  } catch (...)
-
271  {
-
272  return MM_CODE_ERR;
-
273  }
-
274 
-
275  return DEVICE_OK;
-
276  }
-
277 
-
278  int SendSequence()
-
279  {
-
280  if (fpAction_)
-
281  return fpAction_->Execute(this, AfterLoadSequence);
-
282 
-
283  return DEVICE_OK; // Return an error instead???
-
284  }
-
285 
-
286  std::string GetName() const
-
287  {
-
288  return name_;
-
289  }
-
290 
-
291  std::vector<std::string> GetSequence() const
-
292  {
-
293  return sequenceEvents_;
-
294  }
-
295 
-
296  int StartSequence()
-
297  {
-
298  if (fpAction_)
-
299  return fpAction_->Execute(this, MM::StartSequence);
-
300  return DEVICE_OK; // Return an error instead???
-
301  }
-
302 
-
303  int StopSequence()
-
304  {
-
305  if (fpAction_)
-
306  return fpAction_->Execute(this, MM::StopSequence);
-
307  return DEVICE_OK; // Return an error instead???
-
308  }
-
309 
-
310 protected:
-
311  bool readOnly_;
-
312  ActionFunctor* fpAction_;
-
313  bool cached_;
-
314  bool hasData_;
-
315  bool initStatus_;
-
316  bool limits_;
-
317  bool sequenceable_;
-
318  long sequenceMaxSize_;
-
319  std::vector<std::string> sequenceEvents_;
-
320  double lowerLimit_;
-
321  double upperLimit_;
-
322  std::map<std::string, long> values_; // allowed values
-
323  const std::string name_;
-
324 
-
325 private:
-
326  Property& operator=(const Property&);
-
327 };
-
328 
-
332 class StringProperty : public Property
-
333 {
-
334 public:
-
335  StringProperty(const char* name) :
-
336  Property(name)
-
337  {}
-
338  virtual ~StringProperty(){};
-
339 
-
340  PropertyType GetType() {return String;}
-
341 
-
342  // setting and getting values
-
343  bool Set(double val);
-
344  bool Set(long val);
-
345  bool Set(const char* val);
-
346 
-
347  bool Get(double& val) const;
-
348  bool Get(long& val) const ;
-
349  bool Get(std::string& val) const;
-
350 
-
351  bool SetLimits(double /*lowerLimit*/, double /*upperLimit*/) {return false;}
-
352 
-
353 private:
-
354  StringProperty& operator=(const StringProperty&);
-
355 
-
356  std::string value_;
-
357 };
-
358 
-
362 class FloatProperty : public Property
-
363 {
-
364 public:
-
365  FloatProperty(const char* name) :
-
366  Property(name),
-
367  value_(0.0),
-
368  decimalPlaces_(4)
-
369  {
-
370  int rms = 1;
-
371  for (int i = 0; i < decimalPlaces_; ++i)
-
372  rms *= 10;
-
373  reciprocalMinimalStep_ = rms;
-
374  }
-
375 
-
376  virtual ~FloatProperty() {}
-
377 
-
378  PropertyType GetType() {return Float;}
-
379 
-
380  // setting and getting values
-
381  bool Set(double val);
-
382  bool Set(long val);
-
383  bool Set(const char* val);
-
384 
-
385  bool Get(double& val) const;
-
386  bool Get(long& val) const ;
-
387  bool Get(std::string& val) const;
-
388 
-
389  bool SetLimits(double lowerLimit, double upperLimit);
-
390 
-
391 private:
-
392  FloatProperty& operator=(const FloatProperty&);
-
393 
-
394  double Truncate(double dVal);
-
395  double TruncateDown(double dVal);
-
396  double TruncateUp(double dVal);
-
397  double value_;
-
398  int decimalPlaces_;
-
399  double reciprocalMinimalStep_;
-
400 };
-
401 
-
405 class IntegerProperty : public Property
-
406 {
-
407 public:
-
408  IntegerProperty(const char* name) :
-
409  Property(name),
-
410  value_(0)
-
411  {}
-
412  ~IntegerProperty() {};
-
413 
-
414  PropertyType GetType() {return Integer;}
-
415 
-
416  // setting and getting values
-
417  bool Set(double val);
-
418  bool Set(long val);
-
419  bool Set(const char* val);
-
420 
-
421  bool Get(double& val) const;
-
422  bool Get(long& val) const ;
-
423  bool Get(std::string& val) const;
-
424 
-
425 private:
-
426  IntegerProperty& operator=(const IntegerProperty&);
-
427 
-
428  long value_;
-
429 };
-
430 
- -
435 {
-
436 public:
- - -
439 
-
440  int CreateProperty(const char* name, const char* value, PropertyType eType, bool bReadOnly, ActionFunctor* pAct=0, bool isPreInitProperty=false);
-
441  int RegisterAction(const char* name, ActionFunctor* fpAct);
-
442  int SetAllowedValues(const char* name, std::vector<std::string>& values);
-
443  int ClearAllowedValues(const char* name);
-
444  int AddAllowedValue(const char* name, const char* value, long data);
-
445  int AddAllowedValue(const char* name, const char* value);
-
446  int GetPropertyData(const char* name, const char* value, long& data);
-
447  int GetCurrentPropertyData(const char* name, long& data);
-
448  int Set(const char* propName, const char* Value);
-
449  int Get(const char* propName, std::string& val) const;
-
450  Property* Find(const char* name) const;
-
451  std::vector<std::string> GetNames() const;
-
452  unsigned GetSize() const;
-
453  bool GetName(unsigned uIdx, std::string& strName) const;
-
454  int UpdateAll();
-
455  int ApplyAll();
-
456  int Update(const char* Name);
-
457  int Apply(const char* Name);
-
458 
-
459 private:
-
460  typedef std::map<std::string, Property*> CPropArray;
-
461  CPropArray properties_;
-
462 };
-
463 
-
464 
-
465 } // namespace MM
-
Definition: Property.h:107
-
Definition: Property.h:75
-
Definition: Property.h:86
-
Definition: Property.h:128
-
Definition: Property.h:363
-
Definition: Property.h:406
-
Definition: Property.h:38
-
Definition: Property.h:435
-
Definition: Property.h:143
-
Definition: Property.h:333
+
1
+
2// FILE: Property.h
+
3// PROJECT: Micro-Manager
+
4// SUBSYSTEM: MMDevice - Device adapter kit
+
5//-----------------------------------------------------------------------------
+
6// DESCRIPTION: This class implements the basic property mechanism in
+
7// Micro-Manager devices.
+
8// AUTHOR: Nenad Amodaj, nenad@amodaj.com, 08/05/2005
+
9// COPYRIGHT: University of California, San Francisco, 2006
+
10// LICENSE: This file is distributed under the BSD license.
+
11// License text is included with the source distribution.
+
12//
+
13// This file is distributed in the hope that it will be useful,
+
14// but WITHOUT ANY WARRANTY; without even the implied warranty
+
15// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
16//
+
17// IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+
18// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+
19// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.
+
20//
+
21
+
22#pragma once
+
23
+
24#include "MMDeviceConstants.h"
+
25
+
26#include <functional>
+
27#include <map>
+
28#include <string>
+
29#include <vector>
+
30
+
31namespace MM {
+
32
+
+ +
38{
+
39public:
+
40 virtual ~PropertyBase() {}
+
41
+
42 // property type
+
43 virtual PropertyType GetType() = 0;
+
44
+
45 // setting and getting values
+
46 virtual bool Set(double dVal) = 0;
+
47 virtual bool Set(long lVal) = 0;
+
48 virtual bool Set(const char* Val) = 0;
+
49
+
50 virtual bool Get(double& dVal) const = 0;
+
51 virtual bool Get(long& lVal) const = 0;
+
52 virtual bool Get(std::string& strVal) const = 0;
+
53
+
54 // Limits
+
55 virtual bool HasLimits() const = 0;
+
56 virtual double GetLowerLimit() const = 0;
+
57 virtual double GetUpperLimit() const = 0;
+
58 virtual bool SetLimits(double lowerLimit, double upperLimit) = 0;
+
59
+
60 // Sequence
+
61 virtual void SetSequenceable(long sequenceSize) = 0;
+
62 virtual long GetSequenceMaxSize() const = 0;
+
63 virtual std::vector<std::string> GetSequence() const = 0;
+
64 virtual int ClearSequence() = 0;
+
65 virtual int AddToSequence(const char* value) = 0;
+
66 virtual int SendSequence() = 0;
+
67
+
68 virtual std::string GetName() const = 0;
+
69};
+
+
70
+
+ +
75{
+
76public:
+
77 virtual ~ActionFunctor() {}
+
78 virtual int Execute(PropertyBase* pProp, ActionType eAct) = 0;
+
79};
+
+
80
+
84template <class T>
+
+
85class Action : public ActionFunctor
+
86{
+
87private:
+
88 T* pObj_;
+
89 int (T::*fpt_)(PropertyBase* pProp, ActionType eAct);
+
90
+
91public:
+
92 Action(T* pObj, int(T::*fpt)(PropertyBase* pProp, ActionType eAct) ) :
+
93 pObj_(pObj), fpt_(fpt) {}
+
94 ~Action() {}
+
95
+
96 int Execute(PropertyBase* pProp, ActionType eAct)
+
97 { return (*pObj_.*fpt_)(pProp, eAct);};
+
98};
+
+
99
+
105template <class T>
+
+ +
107{
+
108private:
+
109 T* pObj_;
+
110 int (T::*fpt_)(PropertyBase* pProp, ActionType eAct, long param);
+
111 long param_;
+
112
+
113public:
+
114 ActionEx(T* pObj, int(T::*fpt)(PropertyBase* pProp, ActionType eAct, long data), long data) :
+
115 pObj_(pObj), fpt_(fpt), param_(data) {};
+
116 ~ActionEx() {}
+
117 int Execute(MM::PropertyBase* pProp, MM::ActionType eAct)
+
118 { return (*pObj_.*fpt_)(pProp, eAct, param_);};
+
119};
+
+
120
+
+
127class ActionLambda final : public ActionFunctor
+
128{
+
129 std::function<int(PropertyBase*, ActionType)> func_;
+
130
+
131public:
+
132 template <typename F> explicit ActionLambda(F func) : func_(func) {}
+
133
+
134 int Execute(PropertyBase* pProp, ActionType eAct) final {
+
135 return func_(pProp, eAct);
+
136 }
+
137};
+
+
138
+
+
142class Property : public PropertyBase
+
143{
+
144public:
+
145 Property(const char* name) :
+
146 readOnly_(false),
+
147 fpAction_(0),
+
148 cached_(false),
+
149 hasData_(false),
+
150 initStatus_(true),
+
151 limits_(false),
+
152 sequenceable_(false),
+
153 sequenceMaxSize_(0),
+
154 sequenceEvents_(),
+
155 lowerLimit_(0.0),
+
156 upperLimit_(0.0),
+
157 name_(name)
+
158 {}
+
159
+
160 virtual ~Property()
+
161 {
+
162 delete fpAction_;
+
163 }
+
164
+
165 bool GetCached()const {return cached_;}
+
166 void SetCached(bool bState=true) {cached_ = bState;}
+
167
+
168 bool GetReadOnly()const {return readOnly_;}
+
169 void SetReadOnly(bool bState=true) {readOnly_ = bState;}
+
170
+
171 bool GetInitStatus() const {return initStatus_;}
+
172 void SetInitStatus(bool init) {initStatus_ = init;}
+
173
+
174 void RegisterAction(ActionFunctor* fpAction) {delete fpAction_; fpAction_ = fpAction;}
+
175 int Update()
+
176 {
+
177 if (fpAction_)
+
178 return fpAction_->Execute(this, BeforeGet);
+
179 else
+
180 return DEVICE_OK;
+
181 }
+
182 int Apply()
+
183 {
+
184 if (fpAction_)
+
185 return fpAction_->Execute(this, AfterSet);
+
186 else
+
187 return DEVICE_OK;
+
188 }
+
189
+
190 // discrete set of allowed values
+
191 std::vector<std::string> GetAllowedValues() const;
+
192
+
193 void ClearAllowedValues()
+
194 {
+
195 values_.clear();
+
196 }
+
197
+
198 void AddAllowedValue(const char* value);
+
199 void AddAllowedValue(const char* value, long data);
+
200 bool IsAllowed(const char* value) const;
+
201 bool GetData(const char* value, long& data) const;
+
202
+
203 bool HasLimits() const
+
204 {
+
205 return limits_;
+
206 }
+
207
+
208 double GetLowerLimit() const
+
209 {
+
210 return limits_ ? lowerLimit_ : 0.0;
+
211 }
+
212
+
213 double GetUpperLimit() const
+
214 {
+
215 return limits_ ? upperLimit_ : 0.0;
+
216 }
+
217
+
218 bool SetLimits(double lowerLimit, double upperLimit)
+
219 {
+
220 limits_ = true;
+
221 // do not allow limits for properties with discrete values defined
+
222 if (values_.size() > 0)
+
223 limits_ = false;
+
224
+
225 if (lowerLimit >= upperLimit)
+
226 limits_ = false;
+
227
+
228 lowerLimit_ = lowerLimit;
+
229 upperLimit_ = upperLimit;
+
230
+
231 return limits_;
+
232 }
+
233
+
234 bool IsSequenceable()
+
235 {
+
236 if (fpAction_)
+
237 fpAction_->Execute(this, MM::IsSequenceable);
+
238 return sequenceable_;
+
239 }
+
240
+
241 void SetSequenceable(long sequenceMaxSize);
+
242
+
243 long GetSequenceMaxSize() const
+
244 {
+
245 return sequenceMaxSize_;
+
246 }
+
247
+
248 int ClearSequence()
+
249 {
+
250 try
+
251 {
+
252 if (sequenceEvents_.size() > 0){
+
253 sequenceEvents_.clear();
+
254 }
+
255 } catch (...)
+
256 {
+
257 return MM_CODE_ERR;
+
258 }
+
259
+
260 return DEVICE_OK;
+
261 }
+
262
+
263 int AddToSequence(const char* value)
+
264 {
+
265 try
+
266 {
+
267 sequenceEvents_.push_back(value);
+
268 if (sequenceEvents_.size() > (unsigned) GetSequenceMaxSize())
+
269 return DEVICE_SEQUENCE_TOO_LARGE;
+
270 } catch (...)
+
271 {
+
272 return MM_CODE_ERR;
+
273 }
+
274
+
275 return DEVICE_OK;
+
276 }
+
277
+
278 int SendSequence()
+
279 {
+
280 if (fpAction_)
+
281 return fpAction_->Execute(this, AfterLoadSequence);
+
282
+
283 return DEVICE_OK; // Return an error instead???
+
284 }
+
285
+
286 std::string GetName() const
+
287 {
+
288 return name_;
+
289 }
+
290
+
291 std::vector<std::string> GetSequence() const
+
292 {
+
293 return sequenceEvents_;
+
294 }
+
295
+
296 int StartSequence()
+
297 {
+
298 if (fpAction_)
+
299 return fpAction_->Execute(this, MM::StartSequence);
+
300 return DEVICE_OK; // Return an error instead???
+
301 }
+
302
+
303 int StopSequence()
+
304 {
+
305 if (fpAction_)
+
306 return fpAction_->Execute(this, MM::StopSequence);
+
307 return DEVICE_OK; // Return an error instead???
+
308 }
+
309
+
310protected:
+
311 bool readOnly_;
+
312 ActionFunctor* fpAction_;
+
313 bool cached_;
+
314 bool hasData_;
+
315 bool initStatus_;
+
316 bool limits_;
+
317 bool sequenceable_;
+
318 long sequenceMaxSize_;
+
319 std::vector<std::string> sequenceEvents_;
+
320 double lowerLimit_;
+
321 double upperLimit_;
+
322 std::map<std::string, long> values_; // allowed values
+
323 const std::string name_;
+
324
+
325private:
+
326 Property& operator=(const Property&);
+
327};
+
+
328
+
+ +
333{
+
334public:
+
335 StringProperty(const char* name) :
+
336 Property(name)
+
337 {}
+
338 virtual ~StringProperty(){};
+
339
+
340 PropertyType GetType() {return String;}
+
341
+
342 // setting and getting values
+
343 bool Set(double val);
+
344 bool Set(long val);
+
345 bool Set(const char* val);
+
346
+
347 bool Get(double& val) const;
+
348 bool Get(long& val) const ;
+
349 bool Get(std::string& val) const;
+
350
+
351 bool SetLimits(double /*lowerLimit*/, double /*upperLimit*/) {return false;}
+
352
+
353private:
+
354 StringProperty& operator=(const StringProperty&);
+
355
+
356 std::string value_;
+
357};
+
+
358
+
+ +
363{
+
364public:
+
365 FloatProperty(const char* name) :
+
366 Property(name),
+
367 value_(0.0),
+
368 decimalPlaces_(4)
+
369 {
+
370 int rms = 1;
+
371 for (int i = 0; i < decimalPlaces_; ++i)
+
372 rms *= 10;
+
373 reciprocalMinimalStep_ = rms;
+
374 }
+
375
+
376 virtual ~FloatProperty() {}
+
377
+
378 PropertyType GetType() {return Float;}
+
379
+
380 // setting and getting values
+
381 bool Set(double val);
+
382 bool Set(long val);
+
383 bool Set(const char* val);
+
384
+
385 bool Get(double& val) const;
+
386 bool Get(long& val) const ;
+
387 bool Get(std::string& val) const;
+
388
+
389 bool SetLimits(double lowerLimit, double upperLimit);
+
390
+
391private:
+
392 FloatProperty& operator=(const FloatProperty&);
+
393
+
394 double Truncate(double dVal);
+
395 double TruncateDown(double dVal);
+
396 double TruncateUp(double dVal);
+
397 double value_;
+
398 int decimalPlaces_;
+
399 double reciprocalMinimalStep_;
+
400};
+
+
401
+
+ +
406{
+
407public:
+
408 IntegerProperty(const char* name) :
+
409 Property(name),
+
410 value_(0)
+
411 {}
+
412 ~IntegerProperty() {};
+
413
+
414 PropertyType GetType() {return Integer;}
+
415
+
416 // setting and getting values
+
417 bool Set(double val);
+
418 bool Set(long val);
+
419 bool Set(const char* val);
+
420
+
421 bool Get(double& val) const;
+
422 bool Get(long& val) const ;
+
423 bool Get(std::string& val) const;
+
424
+
425private:
+
426 IntegerProperty& operator=(const IntegerProperty&);
+
427
+
428 long value_;
+
429};
+
+
430
+
+ +
435{
+
436public:
+ + +
439
+
440 int CreateProperty(const char* name, const char* value, PropertyType eType, bool bReadOnly, ActionFunctor* pAct=0, bool isPreInitProperty=false);
+
441 int RegisterAction(const char* name, ActionFunctor* fpAct);
+
442 int SetAllowedValues(const char* name, std::vector<std::string>& values);
+
443 int ClearAllowedValues(const char* name);
+
444 int AddAllowedValue(const char* name, const char* value, long data);
+
445 int AddAllowedValue(const char* name, const char* value);
+
446 int GetPropertyData(const char* name, const char* value, long& data);
+
447 int GetCurrentPropertyData(const char* name, long& data);
+
448 int Set(const char* propName, const char* Value);
+
449 int Get(const char* propName, std::string& val) const;
+
450 Property* Find(const char* name) const;
+
451 std::vector<std::string> GetNames() const;
+
452 unsigned GetSize() const;
+
453 bool GetName(unsigned uIdx, std::string& strName) const;
+
454 int UpdateAll();
+
455 int ApplyAll();
+
456 int Update(const char* Name);
+
457 int Apply(const char* Name);
+
458
+
459private:
+
460 typedef std::map<std::string, Property*> CPropArray;
+
461 CPropArray properties_;
+
462};
+
+
463
+
464
+
465} // namespace MM
+
Definition Property.h:107
+
Definition Property.h:75
+
Definition Property.h:86
+
Definition Property.h:128
+
Definition Property.h:363
+
Definition Property.h:406
+
Definition Property.h:38
+
Definition Property.h:435
+
Definition Property.h:143
+
Definition Property.h:333
diff --git a/annotated.html b/annotated.html index 956414d..dbd0fad 100644 --- a/annotated.html +++ b/annotated.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class List @@ -16,10 +16,9 @@
- - + @@ -27,90 +26,90 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
Class List
+
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
 NMM
 CMMTime
 CTimeoutMs
 CDevice
 CGeneric
 CCamera
 CShutter
 CStage
 CXYStage
 CState
 CSerial
 CAutoFocus
 CImageProcessor
 CSignalIO
 CMagnifier
 CSLM
 CGalvo
 CHub
 CCore
 CPropertyBase
 CActionFunctor
 CAction
 CActionEx
 CActionLambda
 CProperty
 CStringProperty
 CFloatProperty
 CIntegerProperty
 CPropertyCollection
 CCAutoFocusBase
 CAction
 CActionEx
 CActionFunctor
 CActionLambda
 CAutoFocus
 CCamera
 CCore
 CDevice
 CFloatProperty
 CGalvo
 CGeneric
 CHub
 CImageProcessor
 CIntegerProperty
 CMagnifier
 CMMTime
 CProperty
 CPropertyBase
 CPropertyCollection
 CSerial
 CShutter
 CSignalIO
 CSLM
 CStage
 CState
 CStringProperty
 CTimeoutMs
 CXYStage
 CCAutoFocusBase
 CCCameraBase
 CBaseSequenceThread
 CBaseSequenceThread
 CCaptureRestartHelper
 CCDeviceBase
 CCDeviceBase
 CCDeviceBase< MM::Device, U >
 CCDeviceUtils
 CCDeviceUtils
 CCGalvoBase
 CCGenericBase
 CCGenericBase
 CCImageProcessorBase
 CCMagnifierBase
 CCMagnifierBase
 CCSerialBase
 CCShutterBase
 CCShutterBase
 CCSignalIOBase
 CCSLMBase
 CCSLMBase
 CCStageBase
 CCStateDeviceBase
 CCStateDeviceBase
 CCXYStageBase
 CDebayer
 CDebayer
 CHubBase
 CImgBuffer
 CImgBuffer
 CMetadata
 CMetadataArrayTag
 CMetadataArrayTag
 CMetadataError
 CMetadataIndexError
 CMetadataIndexError
 CMetadataKeyError
 CMetadataSingleTag
 CMetadataSingleTag
 CMetadataTag
 CMMDeviceThreadBase
 CMMDeviceThreadBase
 CMMThreadGuard
 CMMThreadLock
 CMMThreadLock
diff --git a/bc_sd.png b/bc_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..31ca888dc71049713b35c351933a8d0f36180bf1 GIT binary patch literal 635 zcmV->0)+jEP)Jwi0r1~gdSq#w{Bu1q z`craw(p2!hu$4C_$Oc3X(sI6e=9QSTwPt{G) z=htT&^~&c~L2~e{r5_5SYe7#Is-$ln>~Kd%$F#tC65?{LvQ}8O`A~RBB0N~`2M+waajO;5>3B&-viHGJeEK2TQOiPRa zfDKyqwMc4wfaEh4jt>H`nW_Zidwk@Bowp`}(VUaj-pSI(-1L>FJVsX}Yl9~JsqgsZ zUD9(rMwf23Gez6KPa|wwInZodP-2}9@fK0Ga_9{8SOjU&4l`pH4@qlQp83>>HT$xW zER^U>)MyV%t(Lu=`d=Y?{k1@}&r7ZGkFQ%z%N+sE9BtYjovzxyxCPxN6&@wLK{soQ zSmkj$aLI}miuE^p@~4}mg9OjDfGEkgY4~^XzLRUBB*O{+&vq<3v(E%+k_i%=`~j%{ Vj14gnt9}3g002ovPDHLkV1n!oC4m3{ literal 0 HcmV?d00001 diff --git a/bdwn.png b/bdwn.png deleted file mode 100644 index 940a0b950443a0bb1b216ac03c45b8a16c955452..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
- - + @@ -27,141 +26,125 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CAutoFocusBase< U > Member List
+
CAutoFocusBase< U > Member List

This is the complete list of members for CAutoFocusBase< U >, including all inherited members.

- + - - - + + + - - - - - - - - - - - - - + + + + + + + + + - + - - - + + + - + - - - + + + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - + - + - + - - - - - - - - - + + + + + + +
AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::AutoFocus, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::AutoFocus, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::AutoFocus, U >inline
AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::AutoFocus, U >inlinevirtual
ApplyProperty(const char *name)CDeviceBase< MM::AutoFocus, U >inline
AssignToHub()CDeviceBase< MM::AutoFocus, U >inlineprotected
AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinline
ApplyProperty(const char *name)CDeviceBase< MM::AutoFocus, U >inline
AssignToHub()CDeviceBase< MM::AutoFocus, U >inlineprotected
AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinline
Busy()=0 (defined in MM::Device)MM::Devicepure virtual
CDeviceBase() (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
ClearAllowedValues(const char *name)CDeviceBase< MM::AutoFocus, U >inline
ClearPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
CPropertyAction typedef (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >
CPropertyActionEx typedef (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >
CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateHubIDProperty()CDeviceBase< MM::AutoFocus, U >inlineprotected
CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
DetectDevice(void) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlinevirtual
Device() (defined in MM::Device)MM::Deviceinline
ClearAllowedValues(const char *name)CDeviceBase< MM::AutoFocus, U >inline
ClearPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateHubIDProperty()CDeviceBase< MM::AutoFocus, U >inlineprotected
CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::AutoFocus, U >inline
Device() (defined in MM::Device)MM::Deviceinline
EnableDelay(bool state=true)CDeviceBase< MM::AutoFocus, U >inlineprotected
FullFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
FullFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetClockTicksUs()CDeviceBase< MM::AutoFocus, U >inlineprotected
GetContinuousFocusing(bool &state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetCoreCallback() constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetCurrentFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetContinuousFocusing(bool &state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetCoreCallback() constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetCurrentFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetCurrentMMTime()CDeviceBase< MM::AutoFocus, U >inlineprotected
GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::AutoFocus, U >inline
GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::AutoFocus, U >inline
GetDelayMs() constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetDescription(char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetDevice(const char *deviceLabel) constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetErrorText(int errorCode, char *text) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetDescription(char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetDevice(const char *deviceLabel) constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetErrorText(int errorCode, char *text) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetLabel(char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetLastFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetLastFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::AutoFocus, U >inlineprotected
GetModuleHandle() constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetModuleHandle() constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetModuleName(char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
GetNumberOfProperties() constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetOffset(double &offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetParentHub() constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetParentID(char *parentID) const (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlinevirtual
GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
GetNumberOfProperties() constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetOffset(double &offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
GetParentHub() constCDeviceBase< MM::AutoFocus, U >inlineprotected
GetProperty(const char *name, char *value) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetProperty(const char *name, double &val)CDeviceBase< MM::AutoFocus, U >inline
GetProperty(const char *name, double &val)CDeviceBase< MM::AutoFocus, U >inline
GetProperty(const char *name, long &val)CDeviceBase< MM::AutoFocus, U >inline
GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::AutoFocus, U >inline
GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::AutoFocus, U >inline
GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::AutoFocus, U >inlineprotected
GetSerialPortType(const char *portLabel)CDeviceBase< MM::AutoFocus, U >inlineprotected
GetSerialPortType(const char *portLabel)CDeviceBase< MM::AutoFocus, U >inlineprotected
GetType() const (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
HasProperty(const char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlinevirtual
IncrementalFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
InitializeDefaultErrorMessages()CDeviceBase< MM::AutoFocus, U >inlineprotected
IsCallbackRegistered() constCDeviceBase< MM::AutoFocus, U >inlineprotected
IsContinuousFocusLocked()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::AutoFocus, U >inline
IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
OnExposureChanged(double exposure) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
OnMagnifierChanged() (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
OnPropertiesChanged()CDeviceBase< MM::AutoFocus, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::AutoFocus, U >inlineprotected
OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
HasProperty(const char *name) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
IncrementalFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
InitializeDefaultErrorMessages()CDeviceBase< MM::AutoFocus, U >inlineprotected
IsCallbackRegistered() constCDeviceBase< MM::AutoFocus, U >inlineprotected
IsContinuousFocusLocked()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::AutoFocus, U >inline
IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::AutoFocus, U >inlinevirtual
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::AutoFocus, U >inlineprotected
MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
OnPropertiesChanged()CDeviceBase< MM::AutoFocus, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::AutoFocus, U >inlineprotected
PurgeComPort(const char *portLabel)CDeviceBase< MM::AutoFocus, U >inlineprotected
ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::AutoFocus, U >inlineprotected
ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::AutoFocus, U >inlineprotected
SendPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::AutoFocus, U >inlineprotected
SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::AutoFocus, U >inlineprotected
SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::AutoFocus, U >inline
SetCallback(MM::Core *cbk)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetCallback(MM::Core *cbk)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetContinuousFocusing(bool state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
SetDelayMs(double delay)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetDelayMs(double delay)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetDescription(const char *descr)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetErrorText(int errorCode, const char *text)CDeviceBase< MM::AutoFocus, U >inlineprotected
SetErrorText(int errorCode, const char *text)CDeviceBase< MM::AutoFocus, U >inlineprotected
SetLabel(const char *label)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetModuleName(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotected
SetOffset(double offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
SetParentID(const char *parentId) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetOffset(double offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
SetProperty(const char *name, const char *value)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::AutoFocus, U >inline
SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::AutoFocus, U >inline
Shutdown()=0MM::Devicepure virtual
StartPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
StartPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
StopPropertySequence(const char *name)CDeviceBase< MM::AutoFocus, U >inlinevirtual
SupportsDeviceDetection(void) (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlinevirtual
Type (defined in MM::AutoFocus)MM::AutoFocusstatic
UpdateProperty(const char *name)CDeviceBase< MM::AutoFocus, U >inline
UpdateStatus()CDeviceBase< MM::AutoFocus, U >inline
UsesDelay()CDeviceBase< MM::AutoFocus, U >inlinevirtual
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::AutoFocus, U >inlineprotected
~AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
~CDeviceBase() (defined in CDeviceBase< MM::AutoFocus, U >)CDeviceBase< MM::AutoFocus, U >inlineprotectedvirtual
~Device() (defined in MM::Device)MM::Deviceinlinevirtual
Type (defined in MM::AutoFocus)MM::AutoFocusstatic
UpdateProperty(const char *name)CDeviceBase< MM::AutoFocus, U >inline
UpdateStatus()CDeviceBase< MM::AutoFocus, U >inline
UsesDelay()CDeviceBase< MM::AutoFocus, U >inlinevirtual
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::AutoFocus, U >inlineprotected
~AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
~Device() (defined in MM::Device)MM::Deviceinlinevirtual
diff --git a/class_c_auto_focus_base.html b/class_c_auto_focus_base.html index d9c70e7..87b9406 100644 --- a/class_c_auto_focus_base.html +++ b/class_c_auto_focus_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CAutoFocusBase< U > Class Template Reference @@ -16,10 +16,9 @@
- - + @@ -27,22 +26,22 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CAutoFocusBase< U > Class Template Reference
+
CAutoFocusBase< U > Class Template Reference
@@ -59,269 +58,261 @@
- - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

+

Additional Inherited Members

- Public Types inherited from CDeviceBase< MM::AutoFocus, U >
+
typedef MM::Action< U > CPropertyAction
 
+
typedef MM::ActionEx< U > CPropertyActionEx
 
- Public Member Functions inherited from CDeviceBase< MM::AutoFocus, U >
virtual HDEVMODULE GetModuleHandle () const
virtual HDEVMODULE GetModuleHandle () const
 
virtual void SetModuleName (const char *name)
virtual void SetModuleName (const char *name)
 
virtual void GetModuleName (char *name) const
virtual void GetModuleName (char *name) const
 
virtual void SetDescription (const char *descr)
virtual void SetDescription (const char *descr)
 
virtual void GetDescription (char *name) const
virtual void GetDescription (char *name) const
 
virtual void SetModuleHandle (HDEVMODULE hModule)
virtual void SetModuleHandle (HDEVMODULE hModule)
 
virtual void SetLabel (const char *label)
virtual void SetLabel (const char *label)
 
virtual void GetLabel (char *name) const
virtual void GetLabel (char *name) const
 
virtual double GetDelayMs () const
virtual double GetDelayMs () const
 
virtual void SetDelayMs (double delay)
virtual void SetDelayMs (double delay)
 
virtual void SetCallback (MM::Core *cbk)
virtual void SetCallback (MM::Core *cbk)
 
virtual bool UsesDelay ()
virtual bool UsesDelay ()
 
virtual unsigned GetNumberOfProperties () const
virtual unsigned GetNumberOfProperties () const
 
virtual int GetProperty (const char *name, char *value) const
virtual int GetProperty (const char *name, char *value) const
 
int GetProperty (const char *name, double &val)
int GetProperty (const char *name, double &val)
 
int GetProperty (const char *name, long &val)
int GetProperty (const char *name, long &val)
 
bool IsPropertyEqualTo (const char *name, const char *val) const
bool IsPropertyEqualTo (const char *name, const char *val) const
 
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
 
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
 
-virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
 
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
 
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
 
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
 
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
 
virtual int StartPropertySequence (const char *name)
virtual int StartPropertySequence (const char *name)
 
virtual int StopPropertySequence (const char *name)
virtual int StopPropertySequence (const char *name)
 
virtual int ClearPropertySequence (const char *name)
virtual int ClearPropertySequence (const char *name)
 
virtual int AddToPropertySequence (const char *name, const char *value)
virtual int AddToPropertySequence (const char *name, const char *value)
 
virtual int SendPropertySequence (const char *name)
virtual int SendPropertySequence (const char *name)
 
virtual bool GetPropertyName (unsigned uIdx, char *name) const
virtual bool GetPropertyName (unsigned uIdx, char *name) const
 
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
 
virtual int SetProperty (const char *name, const char *value)
virtual int SetProperty (const char *name, const char *value)
 
virtual bool HasProperty (const char *name) const
virtual bool HasProperty (const char *name) const
 
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
 
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
 
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
 
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int SetPropertyLimits (const char *name, double low, double high)
int SetPropertyLimits (const char *name, double low, double high)
 
int SetAllowedValues (const char *name, std::vector< std::string > &values)
int SetAllowedValues (const char *name, std::vector< std::string > &values)
 
int ClearAllowedValues (const char *name)
int ClearAllowedValues (const char *name)
 
int AddAllowedValue (const char *name, const char *value)
int AddAllowedValue (const char *name, const char *value)
 
int AddAllowedValue (const char *name, const char *value, long data)
int AddAllowedValue (const char *name, const char *value, long data)
 
int GetPropertyData (const char *name, const char *value, long &data)
int GetPropertyData (const char *name, const char *value, long &data)
 
int GetCurrentPropertyData (const char *name, long &data)
int GetCurrentPropertyData (const char *name, long &data)
 
int UpdateStatus ()
int UpdateStatus ()
 
int UpdateProperty (const char *name)
int UpdateProperty (const char *name)
 
int ApplyProperty (const char *name)
int ApplyProperty (const char *name)
 
virtual bool GetErrorText (int errorCode, char *text) const
virtual bool GetErrorText (int errorCode, char *text) const
 
-virtual bool SupportsDeviceDetection (void)
virtual bool SupportsDeviceDetection (void)
 
-virtual MM::DeviceDetectionStatus DetectDevice (void)
virtual MM::DeviceDetectionStatus DetectDevice (void)
 
-virtual void SetParentID (const char *parentId)
virtual void SetParentID (const char *parentId)
 
-virtual void GetParentID (char *parentID) const
virtual void GetParentID (char *parentID) const
 
- Public Member Functions inherited from MM::AutoFocus
-virtual DeviceType GetType () const
virtual DeviceType GetType () const
 
+
virtual int SetContinuousFocusing (bool state)=0
 
+
virtual int GetContinuousFocusing (bool &state)=0
 
+
virtual bool IsContinuousFocusLocked ()=0
 
+
virtual int FullFocus ()=0
 
+
virtual int IncrementalFocus ()=0
 
+
virtual int GetLastFocusScore (double &score)=0
 
+
virtual int GetCurrentFocusScore (double &score)=0
 
+
virtual int GetOffset (double &offset)=0
 
+
virtual int SetOffset (double offset)=0
 
- Public Member Functions inherited from MM::Device
+
virtual bool Busy ()=0
 
+
 MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
 
+
 MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
 
+
virtual int Initialize ()=0
 
virtual int Shutdown ()=0
virtual int Shutdown ()=0
 
+
virtual void GetName (char *name) const =0
 
- Static Public Attributes inherited from MM::AutoFocus
+
static const DeviceType Type = AutoFocusDevice
 
- Protected Member Functions inherited from CDeviceBase< MM::AutoFocus, U >
void SetErrorText (int errorCode, const char *text)
void SetErrorText (int errorCode, const char *text)
 
+
const char * GetMorePropertyErrorInfo (void) const
 
+
 
void SetMorePropertyErrorInfo (const char *ptext) const
 
int LogMessage (const char *msg, bool debugOnly=false) const
int LogMessage (const char *msg, bool debugOnly=false) const
 
int LogMessage (const std::string &msg, bool debugOnly=false) const
int LogMessage (const std::string &msg, bool debugOnly=false) const
 
int LogMessageCode (const int errorCode, bool debugOnly=false) const
int LogMessageCode (const int errorCode, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
 
void InitializeDefaultErrorMessages ()
void InitializeDefaultErrorMessages ()
 
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
 
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
 
int SendSerialCommand (const char *portName, const char *command, const char *term)
int SendSerialCommand (const char *portName, const char *command, const char *term)
 
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
 
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
 
int PurgeComPort (const char *portLabel)
int PurgeComPort (const char *portLabel)
 
MM::PortType GetSerialPortType (const char *portLabel)
MM::PortType GetSerialPortType (const char *portLabel)
 
int OnPropertiesChanged ()
int OnPropertiesChanged ()
 
int OnPropertyChanged (const char *propName, const char *propValue)
int OnPropertyChanged (const char *propName, const char *propValue)
 
+
int OnStagePositionChanged (double pos)
 
+
int OnXYStagePositionChanged (double xPos, double yPos)
 
+
int OnExposureChanged (double exposure)
 
+
int OnSLMExposureChanged (double exposure)
 
+
int OnMagnifierChanged ()
 
unsigned long GetClockTicksUs ()
unsigned long GetClockTicksUs ()
 
MM::MMTime GetCurrentMMTime ()
MM::MMTime GetCurrentMMTime ()
 
bool IsCallbackRegistered () const
bool IsCallbackRegistered () const
 
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
 
void CreateHubIDProperty ()
void CreateHubIDProperty ()
 
MM::HubGetParentHub () const
 
T_HUB * AssignToHub ()
 
MM::HubGetParentHub () const
 
T_HUB * AssignToHub ()
 

Detailed Description

-

template<class U>
-class CAutoFocusBase< U >

- -

Base class for creating auto-focusing modules.

+
template<class U>
+class CAutoFocusBase< U >

Base class for creating auto-focusing modules.


The documentation for this class was generated from the following file:
diff --git a/class_c_auto_focus_base.png b/class_c_auto_focus_base.png index 6bcb3c6c66795ae4f356f3c5c875870e7b3dd562..4ff1b6c9813a60b4a9d5d4a7eec19b46dccbf012 100644 GIT binary patch delta 1129 zcmV-v1eW{D3FirrB!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00eSLL_t(|0qvdb(z_}Q2iG4no!tKwpH@*odHQy2 z{|%FlTM(nNC8S?TDWyRnNz#ynnQ)jTG?Ap1FT2g(%lc)?z}iUCDV&{?%Z%qaSKX4Nt4-as1Cn$O-*DTlTi2~Dq$Hig z>9wR;sj8+_Zn>ze_M2P3*htcQ{0q0;BG>CCNvCoCf52|{9P8vZx_)`tZ#}nsY$><3 zZQ=a!Iw?uNLoK*Tl0U*tlKc^FlH`xU-BLRDNqU=;YDu+HYqu^LPp;cf=H%aQdH=oa_B%OKx!*2*x4Diy-fvZyB)!k)-0B(T zEL$gjr%vXupUFu{`bEM`lKc^FlH`wYlO%r(?v_$YV*>C!E&zivu-oM_uH3+GSG8f~ zMs|xj3E+`%1Mo+aJpw6zr;t)ggF=#|Aqh80@<+Hyl0Pc9>H5jdt(8B&lJI zxwcie|J-siKmD1K(Ur_cy9L@&3AP@4n}@J%0CsWxUSGO=r2*q|EBH9?jg23V*NL z^EsI>KUlZ=hp%6-t3Ahinx*;Et&<~9x!uXh-nt#@WK%Hy&wktA*>}si@MynPVNdV3 z&i~ui9x7rJH)r8lojTcdt7n+AY@PU>I+?@PckN~_sW~b)Npi)b|3JrX5C7ghubU*@ zBitm(AK@lR{utaXrIf}5;CoyE24!Hk%Vk`-f!(fZ!^(~97IhN9BjE<%k8lIsAG4x7*jXds~NPF}9GrHf3~X3t7%`NEQDBZq0<(V{NK{L$ikT2A6v` z$HwicEH<-pe84SlrdG8%tM^+OtXH1PVVmeSL@bHYm<6zzm>4x+;1g~%KYbo`KV6jusZ$nwS050PF8=WW@fMQvYVNi v6T;2R%pc)qX6BD@Gc)tY;BM12O=I#O40aHN(!5=;00000NkvXXu0mjfXxCwl delta 1105 zcmV-X1g`t%3CjtPB!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00de|L_t(|0qvb()2bj4Mvo6O{{NqROHmf3(ysNk%r+iD zT#+NNeI=!oI)x-jT@r4R_1nbNQnl5`1IugQ7D)0j=QEYiis7IlLpUBfrrHuKhWD-$V6*Km0*sbtGHvoTx z8-PE;4Zt6h!2=XLAiB!7gPB>CeCx1p4#y1Tu(7^a^jeTqxm<`Lct zQ!O@a(T{3<*X@3~Rp+4jqD){ZRxVJ#W=-aSZ>k!kEv3~i-@3JgNz(g#&aEDL!!2*O zT6H5XNpEveE-^E;RBg&QIB!3>CLg=y{dd~!ch=-~yR_X(raba`znL&edY{j^*%9Vd zwha79p3GrCvnD0!7YR2>@<+Hyl0U*tlKj!RTS_VQ3BdOl0Xn5)w{h%Ou4A{GTDNjN zyG5P^@JN$M0x5s~2seOBNGYXGAxTn~gqtM!Bitm(AI5FC{c>?HCD~)w^dL@>DwddA zX{zmh%f;0Dk?xnL8nMM~iFgz#sX7kF%`x}FR7)>y(SusY+}3;f{qwh5YPP|&*RAE= zX}7t<>0#5m>9870)x%qER;t~wzh8#6zJ4D4bgrrzq%D7&-Zx)%8`g9)+GpL&>&%8& zZ#F(`+pQjY!)@99mFh;kJ#Xu~pSi8wZ(cCB+cmlB%=fA#vp6kBHMYIN<9R#2CiCqV z^JYK1eZeO8?4PNo=Am0-jT~}&vL;*ew$GDQ!uX&4wtcegme<0o{bs@r@3+SP+gk22 zVih;7!Y5F9vgu|=m{-{{@F#gPhb`~gj9gN67&l3B#jF27$8InG-aXHoBt0YCB*`D) zCQ1J2+%2V)`UK#6i~ya|vD-NIE7!5xO|4tGp4}o(0(c~oO#&s8Z~+H@z$FaBFmwt7 zK$nCYfIq?wz#pgGru>s1t@^3+F2F-xN0?6E|Mq9y%IoSUjT^voj*j`eZYDTCc|YB% z_j#BnV-3l3Q(7n1kohWynD`%Xs|LIrOJM?b#S+qLoS$7CE4M?d7%0aF-126sRjVtz z-%6vM+2*{RwR_)fr|@`e-kz<=(l}jI5~jTWd{jp8KnLtA@2o9ougu z>^JvYSw?02Qx~uDWDc{-FW<`#xALU - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
- - + @@ -27,186 +26,170 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CCameraBase< U > Member List
+
CCameraBase< U > Member List

This is the complete list of members for CCameraBase< U >, including all inherited members.

- + - + - - - + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - - - + + + - + - + - + - - - + + + - + - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - - - + - + - + - + - + - + - + - - - - - - - - - - - + + + + + + + + +
AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Camera, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Camera, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Camera, U >inline
AddTag(const char *key, const char *deviceLabel, const char *value)CCameraBase< U >inlinevirtual
AddToExposureSequence(double) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
AddToExposureSequence(double) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Camera, U >inlinevirtual
ApplyProperty(const char *name)CDeviceBase< MM::Camera, U >inline
AssignToHub()CDeviceBase< MM::Camera, U >inlineprotected
BaseSequenceThread (defined in CCameraBase< U >)CCameraBase< U >friend
ApplyProperty(const char *name)CDeviceBase< MM::Camera, U >inline
AssignToHub()CDeviceBase< MM::Camera, U >inlineprotected
BaseSequenceThread (defined in CCameraBase< U >)CCameraBase< U >friend
Busy() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
Camera() (defined in MM::Camera)MM::Camerainline
Camera() (defined in MM::Camera)MM::Camerainline
CCameraBase() (defined in CCameraBase< U >)CCameraBase< U >inline
CDeviceBase() (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
ClearAllowedValues(const char *name)CDeviceBase< MM::Camera, U >inline
ClearExposureSequence() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
ClearPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
ClearROI()=0MM::Camerapure virtual
CPropertyAction typedef (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >
CPropertyActionEx typedef (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >
CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateHubIDProperty()CDeviceBase< MM::Camera, U >inlineprotected
CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
DetectDevice(void) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlinevirtual
Device() (defined in MM::Device)MM::Deviceinline
ClearAllowedValues(const char *name)CDeviceBase< MM::Camera, U >inline
ClearExposureSequence() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
ClearPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
ClearROI()=0MM::Camerapure virtual
CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateHubIDProperty()CDeviceBase< MM::Camera, U >inlineprotected
CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Camera, U >inline
Device() (defined in MM::Device)MM::Deviceinline
EnableDelay(bool state=true)CDeviceBase< MM::Camera, U >inlineprotected
GetBinning() const =0MM::Camerapure virtual
GetBinning() const =0MM::Camerapure virtual
GetBitDepth() const =0MM::Camerapure virtual
GetChannelName(unsigned, char *name)CCameraBase< U >inlinevirtual
GetChannelName(unsigned, char *name)CCameraBase< U >inlinevirtual
GetClockTicksUs()CDeviceBase< MM::Camera, U >inlineprotected
GetComponentName(unsigned channel, char *name)CCameraBase< U >inlinevirtual
GetCoreCallback() constCDeviceBase< MM::Camera, U >inlineprotected
GetCurrentMMTime()CDeviceBase< MM::Camera, U >inlineprotected
GetComponentName(unsigned channel, char *name)CCameraBase< U >inlinevirtual
GetCoreCallback() constCDeviceBase< MM::Camera, U >inlineprotected
GetCurrentMMTime()CDeviceBase< MM::Camera, U >inlineprotected
GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Camera, U >inline
GetDelayMs() constCDeviceBase< MM::Camera, U >inlinevirtual
GetDelayMs() constCDeviceBase< MM::Camera, U >inlinevirtual
GetDescription(char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
GetDevice(const char *deviceLabel) constCDeviceBase< MM::Camera, U >inlineprotected
GetDevice(const char *deviceLabel) constCDeviceBase< MM::Camera, U >inlineprotected
GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Camera, U >inlinevirtual
GetExposure() const =0MM::Camerapure virtual
GetExposure() const =0MM::Camerapure virtual
GetExposureSequenceMaxLength(long &) const (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
GetImageBuffer()=0CCameraBase< U >pure virtual
GetImageBuffer(unsigned)CCameraBase< U >inlinevirtual
GetImageBufferAsRGB32()CCameraBase< U >inlinevirtual
GetImageBuffer()=0CCameraBase< U >pure virtual
GetImageBuffer(unsigned)CCameraBase< U >inlinevirtual
GetImageBufferAsRGB32()CCameraBase< U >inlinevirtual
GetImageBufferSize() const =0MM::Camerapure virtual
GetImageBytesPerPixel() const =0CCameraBase< U >pure virtual
GetImageBytesPerPixel() const =0CCameraBase< U >pure virtual
GetImageCounter() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetImageHeight() const =0CCameraBase< U >pure virtual
GetImageHeight() const =0CCameraBase< U >pure virtual
GetImageWidth() const =0CCameraBase< U >pure virtual
GetIntervalMs() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetIntervalMs() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetLabel(char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Camera, U >inlineprotected
GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Camera, U >inlineprotected
GetModuleHandle() constCDeviceBase< MM::Camera, U >inlinevirtual
GetModuleName(char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
GetMultiROI(unsigned *, unsigned *, unsigned *, unsigned *, unsigned *) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
GetMultiROICount(unsigned &) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
GetNumberOfChannels() constCCameraBase< U >inlinevirtual
GetNumberOfComponents() constCCameraBase< U >inlinevirtual
GetNumberOfImages() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetNumberOfProperties() constCDeviceBase< MM::Camera, U >inlinevirtual
GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Camera, U >inlinevirtual
GetParentHub() constCDeviceBase< MM::Camera, U >inlineprotected
GetParentID(char *parentID) const (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlinevirtual
GetPixelSizeUm() constCCameraBase< U >inlinevirtual
GetModuleName(char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
GetMultiROI(unsigned *, unsigned *, unsigned *, unsigned *, unsigned *) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
GetMultiROICount(unsigned &) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
GetNumberOfChannels() constCCameraBase< U >inlinevirtual
GetNumberOfComponents() constCCameraBase< U >inlinevirtual
GetNumberOfImages() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetNumberOfProperties() constCDeviceBase< MM::Camera, U >inlinevirtual
GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Camera, U >inlinevirtual
GetParentHub() constCDeviceBase< MM::Camera, U >inlineprotected
GetPixelSizeUm() constCCameraBase< U >inlinevirtual
GetProperty(const char *name, char *value) constCDeviceBase< MM::Camera, U >inlinevirtual
GetProperty(const char *name, double &val)CDeviceBase< MM::Camera, U >inline
GetProperty(const char *name, double &val)CDeviceBase< MM::Camera, U >inline
GetProperty(const char *name, long &val)CDeviceBase< MM::Camera, U >inline
GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Camera, U >inline
GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Camera, U >inline
GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Camera, U >inlinevirtual
GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Camera, U >inlinevirtual
GetROI(unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0MM::Camerapure virtual
GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Camera, U >inlineprotected
GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Camera, U >inlineprotected
GetSerialPortType(const char *portLabel)CDeviceBase< MM::Camera, U >inlineprotected
GetTagKeys() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetTagKeys() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetTags(char *serializedMetadata)CCameraBase< U >inlinevirtual
GetTagValue(const char *key) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetTagValue(const char *key) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
GetType() const (defined in MM::Camera)MM::Camerainlinevirtual
HasProperty(const char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlinevirtual
Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
InitializeDefaultErrorMessages()CDeviceBase< MM::Camera, U >inlineprotected
InsertImage() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
IsCallbackRegistered() constCDeviceBase< MM::Camera, U >inlineprotected
IsCapturing()CCameraBase< U >inlinevirtual
IsExposureSequenceable(bool &isSequenceable) const =0MM::Camerapure virtual
IsMultiROISet() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Camera, U >inline
IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Camera, U >inlinevirtual
isStopOnOverflow() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
OnMagnifierChanged() (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
OnPropertiesChanged()CDeviceBase< MM::Camera, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Camera, U >inlineprotected
OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
OnThreadExiting() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
HasProperty(const char *name) constCDeviceBase< MM::Camera, U >inlinevirtual
Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
InitializeDefaultErrorMessages()CDeviceBase< MM::Camera, U >inlineprotected
InsertImage() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
IsCallbackRegistered() constCDeviceBase< MM::Camera, U >inlineprotected
IsCapturing()CCameraBase< U >inlinevirtual
IsExposureSequenceable(bool &isSequenceable) const =0MM::Camerapure virtual
IsMultiROISet() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Camera, U >inline
IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Camera, U >inlinevirtual
isStopOnOverflow() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Camera, U >inlineprotected
MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
OnPropertiesChanged()CDeviceBase< MM::Camera, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Camera, U >inlineprotected
OnThreadExiting() (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
PrepareSequenceAcqusition()CCameraBase< U >inlinevirtual
PurgeComPort(const char *portLabel)CDeviceBase< MM::Camera, U >inlineprotected
PurgeComPort(const char *portLabel)CDeviceBase< MM::Camera, U >inlineprotected
ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Camera, U >inlineprotected
RemoveTag(const char *key)CCameraBase< U >inlinevirtual
RemoveTag(const char *key)CCameraBase< U >inlinevirtual
SendExposureSequence() const (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
SendPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
SendPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Camera, U >inlineprotected
SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Camera, U >inline
SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Camera, U >inline
SetBinning(int binSize)=0MM::Camerapure virtual
SetCallback(MM::Core *cbk)CDeviceBase< MM::Camera, U >inlinevirtual
SetCallback(MM::Core *cbk)CDeviceBase< MM::Camera, U >inlinevirtual
SetDelayMs(double delay)CDeviceBase< MM::Camera, U >inlinevirtual
SetDescription(const char *descr)CDeviceBase< MM::Camera, U >inlinevirtual
SetDescription(const char *descr)CDeviceBase< MM::Camera, U >inlinevirtual
SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Camera, U >inlineprotected
SetExposure(double exp_ms)=0MM::Camerapure virtual
SetExposure(double exp_ms)=0MM::Camerapure virtual
SetLabel(const char *label)CDeviceBase< MM::Camera, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Camera, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Camera, U >inlinevirtual
SetModuleName(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotected
SetMultiROI(const unsigned *, const unsigned *, const unsigned *, const unsigned *, unsigned) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
SetParentID(const char *parentId) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlinevirtual
SetMultiROI(const unsigned *, const unsigned *, const unsigned *, const unsigned *, unsigned) (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
SetProperty(const char *name, const char *value)CDeviceBase< MM::Camera, U >inlinevirtual
SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Camera, U >inline
SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Camera, U >inline
SetROI(unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0MM::Camerapure virtual
setStopOnOverflow(bool stop) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
setStopOnOverflow(bool stop) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
Shutdown()=0MM::Devicepure virtual
SnapImage()=0CCameraBase< U >pure virtual
SnapImage()=0CCameraBase< U >pure virtual
StartExposureSequence() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
StartPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
StartPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
StartSequenceAcquisition(double interval)CCameraBase< U >inlinevirtual
StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)CCameraBase< U >inlinevirtual
StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)CCameraBase< U >inlinevirtual
StopExposureSequence() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
StopPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
StopPropertySequence(const char *name)CDeviceBase< MM::Camera, U >inlinevirtual
StopSequenceAcquisition()CCameraBase< U >inlinevirtual
SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlinevirtual
SupportsMultiROI() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
ThreadRun(void) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
Type (defined in MM::Camera)MM::Camerastatic
UpdateProperty(const char *name)CDeviceBase< MM::Camera, U >inline
UpdateStatus()CDeviceBase< MM::Camera, U >inline
UsesDelay()CDeviceBase< MM::Camera, U >inlinevirtual
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Camera, U >inlineprotected
~Camera() (defined in MM::Camera)MM::Camerainlinevirtual
~CCameraBase() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
~CDeviceBase() (defined in CDeviceBase< MM::Camera, U >)CDeviceBase< MM::Camera, U >inlineprotectedvirtual
SupportsMultiROI() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
ThreadRun(void) (defined in CCameraBase< U >)CCameraBase< U >inlineprotectedvirtual
Type (defined in MM::Camera)MM::Camerastatic
UpdateProperty(const char *name)CDeviceBase< MM::Camera, U >inline
UpdateStatus()CDeviceBase< MM::Camera, U >inline
UsesDelay()CDeviceBase< MM::Camera, U >inlinevirtual
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Camera, U >inlineprotected
~Camera() (defined in MM::Camera)MM::Camerainlinevirtual
~CCameraBase() (defined in CCameraBase< U >)CCameraBase< U >inlinevirtual
~Device() (defined in MM::Device)MM::Deviceinlinevirtual
diff --git a/class_c_camera_base.html b/class_c_camera_base.html index 51b6200..305019f 100644 --- a/class_c_camera_base.html +++ b/class_c_camera_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CCameraBase< U > Class Template Reference @@ -16,10 +16,9 @@
- - + @@ -27,15 +26,16 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + -
-
CCameraBase< U > Class Template Referenceabstract
+
CCameraBase< U > Class Template Referenceabstract
@@ -63,380 +62,360 @@
-

+

Classes

class  BaseSequenceThread
 
class  CaptureRestartHelper
 
- - - - + + + - + - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + -

+

Public Member Functions

virtual const unsigned char * GetImageBuffer ()=0
 
virtual unsigned GetImageWidth () const =0
virtual const unsigned char * GetImageBuffer ()=0
 
virtual unsigned GetImageWidth () const =0
 
virtual unsigned GetImageHeight () const =0
virtual unsigned GetImageHeight () const =0
 
virtual unsigned GetImageBytesPerPixel () const =0
virtual unsigned GetImageBytesPerPixel () const =0
 
virtual int SnapImage ()=0
virtual int SnapImage ()=0
 
-virtual bool Busy ()
virtual bool Busy ()
 
virtual int StartSequenceAcquisition (double interval)
virtual int StartSequenceAcquisition (double interval)
 
virtual int StopSequenceAcquisition ()
virtual int StopSequenceAcquisition ()
 
virtual double GetPixelSizeUm () const
virtual double GetPixelSizeUm () const
 
virtual unsigned GetNumberOfComponents () const
virtual unsigned GetNumberOfComponents () const
 
virtual int GetComponentName (unsigned channel, char *name)
virtual int GetComponentName (unsigned channel, char *name)
 
virtual unsigned GetNumberOfChannels () const
virtual unsigned GetNumberOfChannels () const
 
virtual int GetChannelName (unsigned, char *name)
virtual int GetChannelName (unsigned, char *name)
 
virtual const unsigned char * GetImageBuffer (unsigned)
 
virtual const unsigned int * GetImageBufferAsRGB32 ()
 
virtual void GetTags (char *serializedMetadata)
virtual const unsigned char * GetImageBuffer (unsigned)
 
virtual const unsigned int * GetImageBufferAsRGB32 ()
 
virtual void GetTags (char *serializedMetadata)
 
virtual int PrepareSequenceAcqusition ()
virtual int PrepareSequenceAcqusition ()
 
virtual int StartSequenceAcquisition (long numImages, double interval_ms, bool stopOnOverflow)
virtual int StartSequenceAcquisition (long numImages, double interval_ms, bool stopOnOverflow)
 
-virtual int GetExposureSequenceMaxLength (long &) const
virtual int GetExposureSequenceMaxLength (long &) const
 
-virtual int StartExposureSequence ()
virtual int StartExposureSequence ()
 
-virtual int StopExposureSequence ()
virtual int StopExposureSequence ()
 
-virtual int ClearExposureSequence ()
virtual int ClearExposureSequence ()
 
-virtual int AddToExposureSequence (double)
virtual int AddToExposureSequence (double)
 
-virtual int SendExposureSequence () const
virtual int SendExposureSequence () const
 
virtual bool IsCapturing ()
virtual bool IsCapturing ()
 
virtual void AddTag (const char *key, const char *deviceLabel, const char *value)
virtual void AddTag (const char *key, const char *deviceLabel, const char *value)
 
virtual void RemoveTag (const char *key)
virtual void RemoveTag (const char *key)
 
-virtual bool SupportsMultiROI ()
virtual bool SupportsMultiROI ()
 
-virtual bool IsMultiROISet ()
virtual bool IsMultiROISet ()
 
-virtual int GetMultiROICount (unsigned &)
virtual int GetMultiROICount (unsigned &)
 
-virtual int SetMultiROI (const unsigned *, const unsigned *, const unsigned *, const unsigned *, unsigned)
virtual int SetMultiROI (const unsigned *, const unsigned *, const unsigned *, const unsigned *, unsigned)
 
-virtual int GetMultiROI (unsigned *, unsigned *, unsigned *, unsigned *, unsigned *)
virtual int GetMultiROI (unsigned *, unsigned *, unsigned *, unsigned *, unsigned *)
 
- Public Member Functions inherited from CDeviceBase< MM::Camera, U >
virtual HDEVMODULE GetModuleHandle () const
virtual HDEVMODULE GetModuleHandle () const
 
virtual void SetModuleName (const char *name)
virtual void SetModuleName (const char *name)
 
virtual void GetModuleName (char *name) const
virtual void GetModuleName (char *name) const
 
virtual void SetDescription (const char *descr)
virtual void SetDescription (const char *descr)
 
virtual void GetDescription (char *name) const
virtual void GetDescription (char *name) const
 
virtual void SetModuleHandle (HDEVMODULE hModule)
virtual void SetModuleHandle (HDEVMODULE hModule)
 
virtual void SetLabel (const char *label)
virtual void SetLabel (const char *label)
 
virtual void GetLabel (char *name) const
virtual void GetLabel (char *name) const
 
virtual double GetDelayMs () const
virtual double GetDelayMs () const
 
virtual void SetDelayMs (double delay)
virtual void SetDelayMs (double delay)
 
virtual void SetCallback (MM::Core *cbk)
virtual void SetCallback (MM::Core *cbk)
 
virtual bool UsesDelay ()
virtual bool UsesDelay ()
 
virtual unsigned GetNumberOfProperties () const
virtual unsigned GetNumberOfProperties () const
 
virtual int GetProperty (const char *name, char *value) const
virtual int GetProperty (const char *name, char *value) const
 
int GetProperty (const char *name, double &val)
int GetProperty (const char *name, double &val)
 
int GetProperty (const char *name, long &val)
int GetProperty (const char *name, long &val)
 
bool IsPropertyEqualTo (const char *name, const char *val) const
bool IsPropertyEqualTo (const char *name, const char *val) const
 
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
 
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
 
-virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
 
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
 
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
 
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
 
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
 
virtual int StartPropertySequence (const char *name)
virtual int StartPropertySequence (const char *name)
 
virtual int StopPropertySequence (const char *name)
virtual int StopPropertySequence (const char *name)
 
virtual int ClearPropertySequence (const char *name)
virtual int ClearPropertySequence (const char *name)
 
virtual int AddToPropertySequence (const char *name, const char *value)
virtual int AddToPropertySequence (const char *name, const char *value)
 
virtual int SendPropertySequence (const char *name)
virtual int SendPropertySequence (const char *name)
 
virtual bool GetPropertyName (unsigned uIdx, char *name) const
virtual bool GetPropertyName (unsigned uIdx, char *name) const
 
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
 
virtual int SetProperty (const char *name, const char *value)
virtual int SetProperty (const char *name, const char *value)
 
virtual bool HasProperty (const char *name) const
virtual bool HasProperty (const char *name) const
 
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
 
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
 
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
 
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int SetPropertyLimits (const char *name, double low, double high)
int SetPropertyLimits (const char *name, double low, double high)
 
int SetAllowedValues (const char *name, std::vector< std::string > &values)
int SetAllowedValues (const char *name, std::vector< std::string > &values)
 
int ClearAllowedValues (const char *name)
int ClearAllowedValues (const char *name)
 
int AddAllowedValue (const char *name, const char *value)
int AddAllowedValue (const char *name, const char *value)
 
int AddAllowedValue (const char *name, const char *value, long data)
int AddAllowedValue (const char *name, const char *value, long data)
 
int GetPropertyData (const char *name, const char *value, long &data)
int GetPropertyData (const char *name, const char *value, long &data)
 
int GetCurrentPropertyData (const char *name, long &data)
int GetCurrentPropertyData (const char *name, long &data)
 
int UpdateStatus ()
int UpdateStatus ()
 
int UpdateProperty (const char *name)
int UpdateProperty (const char *name)
 
int ApplyProperty (const char *name)
int ApplyProperty (const char *name)
 
virtual bool GetErrorText (int errorCode, char *text) const
virtual bool GetErrorText (int errorCode, char *text) const
 
-virtual bool SupportsDeviceDetection (void)
virtual bool SupportsDeviceDetection (void)
 
-virtual MM::DeviceDetectionStatus DetectDevice (void)
virtual MM::DeviceDetectionStatus DetectDevice (void)
 
-virtual void SetParentID (const char *parentId)
virtual void SetParentID (const char *parentId)
 
-virtual void GetParentID (char *parentID) const
virtual void GetParentID (char *parentID) const
 
- Public Member Functions inherited from MM::Camera
-virtual DeviceType GetType () const
virtual DeviceType GetType () const
 
virtual long GetImageBufferSize () const =0
virtual long GetImageBufferSize () const =0
 
virtual unsigned GetBitDepth () const =0
virtual unsigned GetBitDepth () const =0
 
virtual int GetBinning () const =0
virtual int GetBinning () const =0
 
virtual int SetBinning (int binSize)=0
virtual int SetBinning (int binSize)=0
 
virtual void SetExposure (double exp_ms)=0
virtual void SetExposure (double exp_ms)=0
 
virtual double GetExposure () const =0
virtual double GetExposure () const =0
 
virtual int SetROI (unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0
virtual int SetROI (unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0
 
virtual int GetROI (unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0
virtual int GetROI (unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0
 
virtual int ClearROI ()=0
virtual int ClearROI ()=0
 
virtual int IsExposureSequenceable (bool &isSequenceable) const =0
virtual int IsExposureSequenceable (bool &isSequenceable) const =0
 
- Public Member Functions inherited from MM::Device
+
 MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
 
+
 MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
 
+
virtual int Initialize ()=0
 
virtual int Shutdown ()=0
virtual int Shutdown ()=0
 
+
virtual void GetName (char *name) const =0
 
- - - - + - - - - - - - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

+

Protected Member Functions

+
virtual std::vector< std::string > GetTagKeys ()
 
+
 
virtual std::string GetTagValue (const char *key)
 
+
virtual int ThreadRun (void)
 
+
virtual int InsertImage ()
 
+
virtual double GetIntervalMs ()
 
+
virtual long GetImageCounter ()
 
+
virtual long GetNumberOfImages ()
 
+
virtual void OnThreadExiting ()
 
+
virtual bool isStopOnOverflow ()
 
+
virtual void setStopOnOverflow (bool stop)
 
- Protected Member Functions inherited from CDeviceBase< MM::Camera, U >
void SetErrorText (int errorCode, const char *text)
void SetErrorText (int errorCode, const char *text)
 
+
const char * GetMorePropertyErrorInfo (void) const
 
+
 
void SetMorePropertyErrorInfo (const char *ptext) const
 
int LogMessage (const char *msg, bool debugOnly=false) const
int LogMessage (const char *msg, bool debugOnly=false) const
 
int LogMessage (const std::string &msg, bool debugOnly=false) const
int LogMessage (const std::string &msg, bool debugOnly=false) const
 
int LogMessageCode (const int errorCode, bool debugOnly=false) const
int LogMessageCode (const int errorCode, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
 
void InitializeDefaultErrorMessages ()
void InitializeDefaultErrorMessages ()
 
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
 
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
 
int SendSerialCommand (const char *portName, const char *command, const char *term)
int SendSerialCommand (const char *portName, const char *command, const char *term)
 
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
 
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
 
int PurgeComPort (const char *portLabel)
int PurgeComPort (const char *portLabel)
 
MM::PortType GetSerialPortType (const char *portLabel)
MM::PortType GetSerialPortType (const char *portLabel)
 
int OnPropertiesChanged ()
int OnPropertiesChanged ()
 
int OnPropertyChanged (const char *propName, const char *propValue)
int OnPropertyChanged (const char *propName, const char *propValue)
 
+
int OnStagePositionChanged (double pos)
 
+
int OnXYStagePositionChanged (double xPos, double yPos)
 
+
int OnExposureChanged (double exposure)
 
+
int OnSLMExposureChanged (double exposure)
 
+
int OnMagnifierChanged ()
 
unsigned long GetClockTicksUs ()
unsigned long GetClockTicksUs ()
 
MM::MMTime GetCurrentMMTime ()
MM::MMTime GetCurrentMMTime ()
 
bool IsCallbackRegistered () const
bool IsCallbackRegistered () const
 
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
 
void CreateHubIDProperty ()
void CreateHubIDProperty ()
 
MM::HubGetParentHub () const
 
T_HUB * AssignToHub ()
 
MM::HubGetParentHub () const
 
T_HUB * AssignToHub ()
 
- -

+

Friends

+
class BaseSequenceThread
 
- - - -

+

Additional Inherited Members

- Public Types inherited from CDeviceBase< MM::Camera, U >
+
typedef MM::Action< U > CPropertyAction
 
+
typedef MM::ActionEx< U > CPropertyActionEx
 
- Static Public Attributes inherited from MM::Camera
+
static const DeviceType Type = CameraDevice
 

Detailed Description

-

template<class U>
-class CCameraBase< U >

- -

Base class for creating camera device adapters. This class has a functional constructor - must be invoked from the derived class.

+
template<class U>
+class CCameraBase< U >

Base class for creating camera device adapters. This class has a functional constructor - must be invoked from the derived class.

Member Function Documentation

- -

◆ AddTag()

+ +

◆ AddTag()

@@ -482,8 +461,96 @@

-

◆ GetChannelName()

+ +

◆ AddToExposureSequence()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + + +
virtual int CCameraBase< U >::AddToExposureSequence (double )
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ Busy()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual bool CCameraBase< U >::Busy ()
+
+inlinevirtual
+
+ +

Implements MM::Device.

+ +
+
+ +

◆ ClearExposureSequence()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual int CCameraBase< U >::ClearExposureSequence ()
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ GetChannelName()

@@ -525,8 +592,8 @@

-

◆ GetComponentName()

+ +

◆ GetComponentName()

@@ -568,8 +635,38 @@

-

◆ GetImageBuffer() [1/2]

+ +

◆ GetExposureSequenceMaxLength()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + + +
virtual int CCameraBase< U >::GetExposureSequenceMaxLength (long & ) const
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ GetImageBuffer() [1/2]

@@ -580,7 +677,7 @@

- + @@ -596,14 +693,14 @@

https://en.wikipedia.org/wiki/RGBA_color_model).

-

Implements MM::Camera.

+

Implements MM::Camera.

-

Referenced by CCameraBase< U >::GetImageBuffer().

+

Referenced by CCameraBase< U >::GetImageBuffer().

- -

◆ GetImageBuffer() [2/2]

+ +

◆ GetImageBuffer() [2/2]

@@ -614,7 +711,7 @@

virtual const unsigned char* CCameraBase< U >::GetImageBuffer virtual const unsigned char * CCameraBase< U >::GetImageBuffer ( )
- + @@ -629,14 +726,14 @@

Version of GetImageBuffer for multi-channel cameras Single channel (standard) cameras do not need to override this

-

Implements MM::Camera.

+

Implements MM::Camera.

-

References CCameraBase< U >::GetImageBuffer(), and CCameraBase< U >::GetNumberOfChannels().

+

References CCameraBase< U >::GetImageBuffer(), and CCameraBase< U >::GetNumberOfChannels().

- -

◆ GetImageBufferAsRGB32()

+ +

◆ GetImageBufferAsRGB32()

@@ -647,7 +744,7 @@

virtual const unsigned char* CCameraBase< U >::GetImageBuffer virtual const unsigned char * CCameraBase< U >::GetImageBuffer ( unsigned  )
- + @@ -661,12 +758,12 @@

Returns pixel data with interleaved RGB pixels in 32 bpp format

-

Implements MM::Camera.

+

Implements MM::Camera.

- -

◆ GetImageBytesPerPixel()

+ +

◆ GetImageBytesPerPixel()

@@ -695,8 +792,8 @@

-

◆ GetImageHeight()

+ +

◆ GetImageHeight()

@@ -725,8 +822,8 @@

-

◆ GetImageWidth()

+ +

◆ GetImageWidth()

@@ -755,8 +852,96 @@

-

◆ GetNumberOfChannels()

+ +

◆ GetMultiROI()

+ +
+
+
+template<class U >
+

virtual const unsigned int* CCameraBase< U >::GetImageBufferAsRGB32 virtual const unsigned int * CCameraBase< U >::GetImageBufferAsRGB32 ( )
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual int CCameraBase< U >::GetMultiROI (unsigned * ,
unsigned * ,
unsigned * ,
unsigned * ,
unsigned *  
)
+
+inlinevirtual
+

+ +

Implements MM::Camera.

+ +
+
+ +

◆ GetMultiROICount()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + + +
virtual int CCameraBase< U >::GetMultiROICount (unsigned & )
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ GetNumberOfChannels()

@@ -783,12 +968,12 @@

MM::Camera.

-

Referenced by CCameraBase< U >::GetImageBuffer().

+

Referenced by CCameraBase< U >::GetImageBuffer().

- -

◆ GetNumberOfComponents()

+ +

◆ GetNumberOfComponents()

@@ -817,8 +1002,8 @@

-

◆ GetPixelSizeUm()

+ +

◆ GetPixelSizeUm()

@@ -849,8 +1034,8 @@

-

◆ GetTags()

+ +

◆ GetTags()

@@ -880,8 +1065,8 @@

-

◆ IsCapturing()

+ +

◆ IsCapturing()

@@ -912,8 +1097,37 @@

-

◆ PrepareSequenceAcqusition()

+ +

◆ IsMultiROISet()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual bool CCameraBase< U >::IsMultiROISet ()
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ PrepareSequenceAcqusition()

@@ -942,8 +1156,8 @@

-

◆ RemoveTag()

+ +

◆ RemoveTag()

@@ -973,8 +1187,95 @@

-

◆ SnapImage()

+ +

◆ SendExposureSequence()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual int CCameraBase< U >::SendExposureSequence () const
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ SetMultiROI()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual int CCameraBase< U >::SetMultiROI (const unsigned * ,
const unsigned * ,
const unsigned * ,
const unsigned * ,
unsigned  
)
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ SnapImage()

@@ -1006,8 +1307,37 @@

-

◆ StartSequenceAcquisition() [1/2]

+ +

◆ StartExposureSequence()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual int CCameraBase< U >::StartExposureSequence ()
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ StartSequenceAcquisition() [1/2]

- -

◆ StartSequenceAcquisition() [2/2]

+ +

◆ StartSequenceAcquisition() [2/2]

- -

◆ StopSequenceAcquisition()

+ +

◆ StopExposureSequence()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual int CCameraBase< U >::StopExposureSequence ()
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+ +
+
+ +

◆ StopSequenceAcquisition()

@@ -1114,6 +1477,35 @@

MM::Camera.

+

+
+ +

◆ SupportsMultiROI()

+ +
+
+
+template<class U >
+ + + + + +
+ + + + + + + +
virtual bool CCameraBase< U >::SupportsMultiROI ()
+
+inlinevirtual
+
+ +

Implements MM::Camera.

+

The documentation for this class was generated from the following file:
    @@ -1122,7 +1514,7 @@

    diff --git a/class_c_camera_base.png b/class_c_camera_base.png index 7d7e95a6c74990c6ced5b12243a6827294e89da9..6842352cd21e844a33034713721f83dbe22da3ca 100644 GIT binary patch delta 1087 zcmV-F1i<^U3C#(RB!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00dY`L_t(|0qvdbva>1-MwbsW9q#{%k5<8;_QPGf z-)v4gu3~{|mVx+}lv3&gk|gy&s7R7GLPe6iagEBbw&rv>nSVZ#)N;@zNgr^L${g6# zm{Sw;^?^%L%P*QrSBqNk8X%DyCA^ie-|w zRR3yn8Mr9a3OEa~S?6K>5Fi(;i%ABz^r<Ohl++HV(FjeZ_$7DQ1f$2J*u`>#j6_r5gj7T7ZSA}jW>+N^BK#Qs0c&VH@3U8Ob~ zPZ!uxR`wOF+1sD&mF+)m91kusNZRuDUO9NL)OJ^^ntAsn^`wFws+dY;E@DDFN(D1F zc=0a!LvQ<6ub;o8^72Lchq59`&j=Ms@*1%7L!Q=7k|JBhG7``fFb9cdmvPD&e!!j`|i}=RjHHLf6Y&Pn0n?|<_ydo%UIE0hU`2?DodapZh@VXxom;itTa!3x4>*}{$W=373@f5gU`Kk@LsvE6B}QtVCz^r^ z=Pm!|w|&kz`y^Cy&e0B!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00covL_t(|0qvdb*0U-M1;@==-v1?^s(?Z5hfi(al#?!} zSfH9Q5dV@=N_{|*q#g(rN%BUhNRl_MQ5n|OoaU41BS|d>U4N4F1{bL;flZA$H8Ecw zxFofFNoD?CvXfamN+U_{aMc1^0-QrMr|XI}0r6ZN7U;zG;VF4PG z&jSm8fHy(~z#E|gaDtRl>I0G_^+2ddk~cy{lDu(+%CNTPw2t0BlJs#dQCUKr8gpu; zzT)y}72`B_4mEcs@8tnplDN;Q>^6-wv`3@hMWxNd zHW_yNuSYHiWwHH`N?BmrmAB1~B>j!6it!pu=_asJ!H!h6NYdZ=oQkPbwPKm%tre_} zNzxm{+g_5q5h{}8jZl#!Z-j~@dE=&%Qc7I_@OegnKIlhf9J_JpN9AVHi%Ul;QNaNG zld%ISe}Fea1>giJrPK!`N$P=6ktA<~iX?f%s0_DHZl+d}J$7Ap=1EdRnR9E+>E@=A z^eXfGgFme*WyZaklA7b?dCQ!sF{dXla!RF+<=ZV!ten{n)8F>4W3Q?hr+m%&Ec4~& zj`o^=P_Yij9sBX>xW+q2Q-ZYdniW?savQ5Uf6HUC*E~=$mS=XX?|zDR#4E0XkxP?02Wgo-42qc4?|QtASL&oct_ zK|d z>b){6oA|1V88dsOm^I4BSvf0n$pRZ-J#yS-5t*!%N|C>&A5CDmy9IVm=CTE5v(h~E z-2$_@`G;BASFj_M4LM>fH)<;#CE(<^TM)2k=R#0C*!*0K5?@ i0N%(iuwfX6pXWcM$a%>_rZKeu0000 - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

-
-
CCameraBase< U >::BaseSequenceThread Member List
+
CCameraBase< U >::BaseSequenceThread Member List

This is the complete list of members for CCameraBase< U >::BaseSequenceThread, including all inherited members.

- + - + - + - + - + - + - + - + - + - +
activate() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinlinevirtual
BaseSequenceThread(CCameraBase *pCam) (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
BaseSequenceThread(CCameraBase *pCam) (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
CCameraBase (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadfriend
GetActualDuration() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetActualDuration() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetCamera() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetImageCounter() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetImageCounter() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetIntervalMs() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetNumberOfImages() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetNumberOfImages() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
GetStartTime() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
IsStopped() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
IsStopped() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
IsSuspended() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
Resume() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
SetLength(long images) (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
SetLength(long images) (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
Start(long numImages, double intervalMs) (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
Stop() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
Stop() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
Suspend() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
UpdateActualDuration() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
UpdateActualDuration() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
wait() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
~BaseSequenceThread() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
~BaseSequenceThread() (defined in CCameraBase< U >::BaseSequenceThread)CCameraBase< U >::BaseSequenceThreadinline
~MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinlinevirtual
diff --git a/class_c_camera_base_1_1_base_sequence_thread.html b/class_c_camera_base_1_1_base_sequence_thread.html index b902206..c6ac0db 100644 --- a/class_c_camera_base_1_1_base_sequence_thread.html +++ b/class_c_camera_base_1_1_base_sequence_thread.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CCameraBase< U >::BaseSequenceThread Class Reference @@ -16,10 +16,9 @@
- - + @@ -27,15 +26,16 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ + -
-
CCameraBase< U >::BaseSequenceThread Class Reference
+
CCameraBase< U >::BaseSequenceThread Class Reference
@@ -61,64 +60,64 @@
- - - - - - - - - - - - - - - - + - - -

+

Public Member Functions

+
 BaseSequenceThread (CCameraBase *pCam)
 
+
void Stop ()
 
+
void Start (long numImages, double intervalMs)
 
+
bool IsStopped ()
 
+
void Suspend ()
 
+
bool IsSuspended ()
 
+
void Resume ()
 
+
double GetIntervalMs ()
 
+
void SetLength (long images)
 
+
long GetImageCounter ()
 
+
MM::MMTime GetStartTime ()
 
+
MM::MMTime GetActualDuration ()
 
+
CCameraBaseGetCamera ()
 
+
 
long GetNumberOfImages ()
 
+
void UpdateActualDuration ()
 
- Public Member Functions inherited from MMDeviceThreadBase
+
virtual int activate ()
 
+
void wait ()
 
- -

+

Friends

+
class CCameraBase
 
@@ -128,7 +127,7 @@

diff --git a/class_c_camera_base_1_1_base_sequence_thread.png b/class_c_camera_base_1_1_base_sequence_thread.png index 3071cc4edc7c4475d3510baefa82860b6bc4d980..a8f0fb69f3e9868b4b399c4d3c46944591f56001 100644 GIT binary patch delta 807 zcmZ3*wvTOsO1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(jc4uVE)oC7j%9bmHp8AHP?8a-5X^iu>#Q zo8J_!F7}$U^JZgJX7%Q%g+F@dKWkRGe`WoL?@bqG%BF~~`ka5dTgCo@`LB4@ZT)5+ zcA4|8Wjgz(^l07X)%CwJ*8R^nIV%5L{*=q}```9kes}(RV^a7&&rh+nPrv6|Tvm%u zp1c0M{mGQC<>&rS+CTN#h3Eah_TQVBH{s>h{dT|Rf2p7J=P=j52kM^dVI;`6Obz$1 z@G{7pw*3G0SvB*V&-XvZ<~Nl8d-4AuKSQ19ABG3vU`9QhMS!vY-25P~zE%~bM_~u$ z|0pQ|1F`r2Mc%i~9Vb?P-lr}wFRI@kzxnW-UYq)WXRqc>)y(}a_5V=wx-&-8H{W{u{=M3k zsDrBK4C5ZZl&t@G>F~Ch_Q_d2{*lFMp-K`&**8JyX}0ttz^? zyZ_$tmH+CWpPFIYvpeVK*NEnouhafLi(9)Z;{URcwf7fR`5K6Su7Biservv-@xGLZ z=l?YR7ypm{$p7ofAN`-pAKT2mRrlih@dsP}`JdbWYin+3h;&}I%C4Pnim!dy@PB>X z$+rumsxB0-&Au+TBKol7|LfL9b*az91%KZE`Zb~1{)el}9<3h=&G9ZrRyWx%og(vE Zei_H5-G4NeRsz#IgQu&X%Q~loCIDrLzyJUM delta 787 zcmdnTwu)_nO1(sYPl)UP|Nj{n7+$>jTH1eT0+0p92M!!y?Ytuo;TQ9$7RZ#wl|INAlm+s6uQaZhE z!JjL8Bi9=InLGcL^Q3uK+|Id)Wxvy%``;R;?_HU}n(<6u z`&)PHRk!|M_4V$-e@g!?^vU`6`=9yqx)t;HJ?YK&tP0Do{Lh=d>-6=A=dVBOYkvJ@ z|GfTWym#@7&)0wLzdJFl;6ikL?w9^A^`5_ubNzcTU1dFt%)M=Poax6BJ%+xgbN&~7 z+{<|G=l+ke`3>d&Ui?4E{~#O{*P{!d^5viVYpNbsV%!n>f!)3#oVEVx{oRS>%mu3! zH#5!2-X1A6uWE<=grnSV-I6}%7_T;r;}=_SdG9jyKk9OF94s5|TZi@iS7g3g@TVo({hD&hTF=d-Tl8cO2X6Z`S{R@1!j{=dsM=w>Eblo%jE>acy;h&Cau_ zyT4t(Av$B?{-YJAn-`uGp1Pm)`g*heRfT?Rl@Hhc;a9x6;>;Y&g{)~kbrb8Yi=Qb* zmmTz1$-Q}ke~IH^ySr=tv%H<{tlOHhDcmab-_70qcaN|9_x#ih+n(KbKHuJWD&X4L zKUeog)|aOLEnj-;x9qCz+|SPanP0J?`0LEmJ^GT@cJ80{f9L=8KiKyc{hR*ha^XC` zTzopr04w^a AAOHXW diff --git a/class_c_camera_base_1_1_capture_restart_helper-members.html b/class_c_camera_base_1_1_capture_restart_helper-members.html index 6197c5f..e30e17e 100644 --- a/class_c_camera_base_1_1_capture_restart_helper-members.html +++ b/class_c_camera_base_1_1_capture_restart_helper-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
- - + @@ -27,15 +26,16 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CCameraBase< U >::CaptureRestartHelper Member List
+
CCameraBase< U >::CaptureRestartHelper Member List

This is the complete list of members for CCameraBase< U >::CaptureRestartHelper, including all inherited members.

- +
CaptureRestartHelper(CCameraBase *pCam) (defined in CCameraBase< U >::CaptureRestartHelper)CCameraBase< U >::CaptureRestartHelperinline
operator bool() (defined in CCameraBase< U >::CaptureRestartHelper)CCameraBase< U >::CaptureRestartHelperinline
operator bool() (defined in CCameraBase< U >::CaptureRestartHelper)CCameraBase< U >::CaptureRestartHelperinline
diff --git a/class_c_camera_base_1_1_capture_restart_helper.html b/class_c_camera_base_1_1_capture_restart_helper.html index aafe7ce..bbd582f 100644 --- a/class_c_camera_base_1_1_capture_restart_helper.html +++ b/class_c_camera_base_1_1_capture_restart_helper.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CCameraBase< U >::CaptureRestartHelper Class Reference @@ -16,10 +16,9 @@
- - + @@ -27,15 +26,16 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
- - -

+

Public Member Functions

+
 CaptureRestartHelper (CCameraBase *pCam)
 
+
 operator bool ()
 
@@ -66,7 +65,7 @@
diff --git a/class_c_device_base-members.html b/class_c_device_base-members.html index 0dff42a..c3dee1f 100644 --- a/class_c_device_base-members.html +++ b/class_c_device_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
- - + @@ -27,120 +26,120 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +

-
-
CDeviceBase< T, U > Member List
+
CDeviceBase< T, U > Member List

This is the complete list of members for CDeviceBase< T, U >, including all inherited members.

- + - - - + + + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
AddAllowedValue(const char *name, const char *value)CDeviceBase< T, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< T, U >inline
AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< T, U >inline
AddToPropertySequence(const char *name, const char *value)CDeviceBase< T, U >inlinevirtual
ApplyProperty(const char *name)CDeviceBase< T, U >inline
AssignToHub()CDeviceBase< T, U >inlineprotected
CDeviceBase() (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
ApplyProperty(const char *name)CDeviceBase< T, U >inline
AssignToHub()CDeviceBase< T, U >inlineprotected
CDeviceBase() (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
ClearAllowedValues(const char *name)CDeviceBase< T, U >inline
ClearPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
ClearPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
CPropertyAction typedef (defined in CDeviceBase< T, U >)CDeviceBase< T, U >
CPropertyActionEx typedef (defined in CDeviceBase< T, U >)CDeviceBase< T, U >
CPropertyActionEx typedef (defined in CDeviceBase< T, U >)CDeviceBase< T, U >
CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreateHubIDProperty()CDeviceBase< T, U >inlineprotected
CreateHubIDProperty()CDeviceBase< T, U >inlineprotected
CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< T, U >inline
DetectDevice(void) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
EnableDelay(bool state=true)CDeviceBase< T, U >inlineprotected
EnableDelay(bool state=true)CDeviceBase< T, U >inlineprotected
GetClockTicksUs()CDeviceBase< T, U >inlineprotected
GetCoreCallback() constCDeviceBase< T, U >inlineprotected
GetCoreCallback() constCDeviceBase< T, U >inlineprotected
GetCurrentMMTime()CDeviceBase< T, U >inlineprotected
GetCurrentPropertyData(const char *name, long &data)CDeviceBase< T, U >inline
GetCurrentPropertyData(const char *name, long &data)CDeviceBase< T, U >inline
GetDelayMs() constCDeviceBase< T, U >inlinevirtual
GetDescription(char *name) constCDeviceBase< T, U >inlinevirtual
GetDevice(const char *deviceLabel) constCDeviceBase< T, U >inlineprotected
GetErrorText(int errorCode, char *text) constCDeviceBase< T, U >inlinevirtual
GetDescription(char *name) constCDeviceBase< T, U >inlinevirtual
GetDevice(const char *deviceLabel) constCDeviceBase< T, U >inlineprotected
GetErrorText(int errorCode, char *text) constCDeviceBase< T, U >inlinevirtual
GetLabel(char *name) constCDeviceBase< T, U >inlinevirtual
GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< T, U >inlineprotected
GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< T, U >inlineprotected
GetModuleHandle() constCDeviceBase< T, U >inlinevirtual
GetModuleName(char *name) constCDeviceBase< T, U >inlinevirtual
GetModuleName(char *name) constCDeviceBase< T, U >inlinevirtual
GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
GetNumberOfProperties() constCDeviceBase< T, U >inlinevirtual
GetNumberOfProperties() constCDeviceBase< T, U >inlinevirtual
GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< T, U >inlinevirtual
GetParentHub() constCDeviceBase< T, U >inlineprotected
GetParentHub() constCDeviceBase< T, U >inlineprotected
GetParentID(char *parentID) const (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
GetProperty(const char *name, char *value) constCDeviceBase< T, U >inlinevirtual
GetProperty(const char *name, char *value) constCDeviceBase< T, U >inlinevirtual
GetProperty(const char *name, double &val)CDeviceBase< T, U >inline
GetProperty(const char *name, long &val)CDeviceBase< T, U >inline
GetProperty(const char *name, long &val)CDeviceBase< T, U >inline
GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< T, U >inline
GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< T, U >inlinevirtual
GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< T, U >inlinevirtual
GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< T, U >inlinevirtual
GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< T, U >inlinevirtual
GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< T, U >inlinevirtual
GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< T, U >inlinevirtual
GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< T, U >inlinevirtual
GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< T, U >inlinevirtual
GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< T, U >inlinevirtual
GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< T, U >inlinevirtual
GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< T, U >inlinevirtual
GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< T, U >inlinevirtual
GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< T, U >inlineprotected
GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< T, U >inlineprotected
GetSerialPortType(const char *portLabel)CDeviceBase< T, U >inlineprotected
HasProperty(const char *name) constCDeviceBase< T, U >inlinevirtual
HasProperty(const char *name) constCDeviceBase< T, U >inlinevirtual
HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
InitializeDefaultErrorMessages()CDeviceBase< T, U >inlineprotected
InitializeDefaultErrorMessages()CDeviceBase< T, U >inlineprotected
IsCallbackRegistered() constCDeviceBase< T, U >inlineprotected
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< T, U >inline
IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< T, U >inline
IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< T, U >inlinevirtual
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< T, U >inlineprotected
OnExposureChanged(double exposure) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnMagnifierChanged() (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnMagnifierChanged() (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnPropertiesChanged()CDeviceBase< T, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< T, U >inlineprotected
OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< T, U >inlineprotected
OnSLMExposureChanged(double exposure) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnStagePositionChanged(double pos) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnStagePositionChanged(double pos) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
PurgeComPort(const char *portLabel)CDeviceBase< T, U >inlineprotected
PurgeComPort(const char *portLabel)CDeviceBase< T, U >inlineprotected
ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< T, U >inlineprotected
SendPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
SendPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< T, U >inlineprotected
SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< T, U >inline
SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< T, U >inline
SetCallback(MM::Core *cbk)CDeviceBase< T, U >inlinevirtual
SetDelayMs(double delay)CDeviceBase< T, U >inlinevirtual
SetDelayMs(double delay)CDeviceBase< T, U >inlinevirtual
SetDescription(const char *descr)CDeviceBase< T, U >inlinevirtual
SetErrorText(int errorCode, const char *text)CDeviceBase< T, U >inlineprotected
SetErrorText(int errorCode, const char *text)CDeviceBase< T, U >inlineprotected
SetLabel(const char *label)CDeviceBase< T, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< T, U >inlinevirtual
SetModuleHandle(HDEVMODULE hModule)CDeviceBase< T, U >inlinevirtual
SetModuleName(const char *name)CDeviceBase< T, U >inlinevirtual
SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotected
SetParentID(const char *parentId) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
SetProperty(const char *name, const char *value)CDeviceBase< T, U >inlinevirtual
SetProperty(const char *name, const char *value)CDeviceBase< T, U >inlinevirtual
SetPropertyLimits(const char *name, double low, double high)CDeviceBase< T, U >inline
StartPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
StartPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
StopPropertySequence(const char *name)CDeviceBase< T, U >inlinevirtual
SupportsDeviceDetection(void) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
SupportsDeviceDetection(void) (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlinevirtual
UpdateProperty(const char *name)CDeviceBase< T, U >inline
UpdateStatus()CDeviceBase< T, U >inline
UpdateStatus()CDeviceBase< T, U >inline
UsesDelay()CDeviceBase< T, U >inlinevirtual
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< T, U >inlineprotected
WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< T, U >inlineprotected
~CDeviceBase() (defined in CDeviceBase< T, U >)CDeviceBase< T, U >inlineprotectedvirtual
diff --git a/class_c_device_base.html b/class_c_device_base.html index d9080c0..b60afb7 100644 --- a/class_c_device_base.html +++ b/class_c_device_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CDeviceBase< T, U > Class Template Reference @@ -16,10 +16,9 @@
- - + @@ -27,15 +26,16 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CDeviceBase< T, U > Class Template Reference
+
CDeviceBase< T, U > Class Template Reference

@@ -57,216 +56,214 @@
- - -

+

Public Types

+
typedef MM::Action< U > CPropertyAction
 
+
typedef MM::ActionEx< U > CPropertyActionEx
 
- - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - -

+

Public Member Functions

virtual HDEVMODULE GetModuleHandle () const
virtual HDEVMODULE GetModuleHandle () const
 
virtual void SetModuleName (const char *name)
virtual void SetModuleName (const char *name)
 
virtual void GetModuleName (char *name) const
virtual void GetModuleName (char *name) const
 
virtual void SetDescription (const char *descr)
virtual void SetDescription (const char *descr)
 
virtual void GetDescription (char *name) const
virtual void GetDescription (char *name) const
 
virtual void SetModuleHandle (HDEVMODULE hModule)
virtual void SetModuleHandle (HDEVMODULE hModule)
 
virtual void SetLabel (const char *label)
virtual void SetLabel (const char *label)
 
virtual void GetLabel (char *name) const
virtual void GetLabel (char *name) const
 
virtual double GetDelayMs () const
virtual double GetDelayMs () const
 
virtual void SetDelayMs (double delay)
virtual void SetDelayMs (double delay)
 
virtual void SetCallback (MM::Core *cbk)
virtual void SetCallback (MM::Core *cbk)
 
virtual bool UsesDelay ()
virtual bool UsesDelay ()
 
virtual unsigned GetNumberOfProperties () const
virtual unsigned GetNumberOfProperties () const
 
virtual int GetProperty (const char *name, char *value) const
virtual int GetProperty (const char *name, char *value) const
 
int GetProperty (const char *name, double &val)
int GetProperty (const char *name, double &val)
 
int GetProperty (const char *name, long &val)
int GetProperty (const char *name, long &val)
 
bool IsPropertyEqualTo (const char *name, const char *val) const
bool IsPropertyEqualTo (const char *name, const char *val) const
 
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
 
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
 
+
virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
 
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
 
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
 
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
 
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
 
virtual int StartPropertySequence (const char *name)
virtual int StartPropertySequence (const char *name)
 
virtual int StopPropertySequence (const char *name)
virtual int StopPropertySequence (const char *name)
 
virtual int ClearPropertySequence (const char *name)
virtual int ClearPropertySequence (const char *name)
 
virtual int AddToPropertySequence (const char *name, const char *value)
virtual int AddToPropertySequence (const char *name, const char *value)
 
virtual int SendPropertySequence (const char *name)
virtual int SendPropertySequence (const char *name)
 
virtual bool GetPropertyName (unsigned uIdx, char *name) const
virtual bool GetPropertyName (unsigned uIdx, char *name) const
 
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
 
virtual int SetProperty (const char *name, const char *value)
virtual int SetProperty (const char *name, const char *value)
 
virtual bool HasProperty (const char *name) const
virtual bool HasProperty (const char *name) const
 
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
 
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
 
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
 
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
 
int SetPropertyLimits (const char *name, double low, double high)
int SetPropertyLimits (const char *name, double low, double high)
 
int SetAllowedValues (const char *name, std::vector< std::string > &values)
int SetAllowedValues (const char *name, std::vector< std::string > &values)
 
int ClearAllowedValues (const char *name)
int ClearAllowedValues (const char *name)
 
int AddAllowedValue (const char *name, const char *value)
int AddAllowedValue (const char *name, const char *value)
 
int AddAllowedValue (const char *name, const char *value, long data)
int AddAllowedValue (const char *name, const char *value, long data)
 
int GetPropertyData (const char *name, const char *value, long &data)
int GetPropertyData (const char *name, const char *value, long &data)
 
int GetCurrentPropertyData (const char *name, long &data)
int GetCurrentPropertyData (const char *name, long &data)
 
int UpdateStatus ()
int UpdateStatus ()
 
int UpdateProperty (const char *name)
int UpdateProperty (const char *name)
 
int ApplyProperty (const char *name)
int ApplyProperty (const char *name)
 
virtual bool GetErrorText (int errorCode, char *text) const
virtual bool GetErrorText (int errorCode, char *text) const
 
+
virtual bool SupportsDeviceDetection (void)
 
+
virtual MM::DeviceDetectionStatus DetectDevice (void)
 
+
virtual void SetParentID (const char *parentId)
 
+
virtual void GetParentID (char *parentID) const
 
- - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - - + + + + +

+

Protected Member Functions

void SetErrorText (int errorCode, const char *text)
void SetErrorText (int errorCode, const char *text)
 
+
const char * GetMorePropertyErrorInfo (void) const
 
+
 
void SetMorePropertyErrorInfo (const char *ptext) const
 
int LogMessage (const char *msg, bool debugOnly=false) const
int LogMessage (const char *msg, bool debugOnly=false) const
 
int LogMessage (const std::string &msg, bool debugOnly=false) const
int LogMessage (const std::string &msg, bool debugOnly=false) const
 
int LogMessageCode (const int errorCode, bool debugOnly=false) const
int LogMessageCode (const int errorCode, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
 
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
 
void InitializeDefaultErrorMessages ()
void InitializeDefaultErrorMessages ()
 
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
MM::DeviceGetDevice (const char *deviceLabel) const
 
void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
 
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
 
int SendSerialCommand (const char *portName, const char *command, const char *term)
int SendSerialCommand (const char *portName, const char *command, const char *term)
 
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
 
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
 
int PurgeComPort (const char *portLabel)
int PurgeComPort (const char *portLabel)
 
MM::PortType GetSerialPortType (const char *portLabel)
MM::PortType GetSerialPortType (const char *portLabel)
 
int OnPropertiesChanged ()
int OnPropertiesChanged ()
 
int OnPropertyChanged (const char *propName, const char *propValue)
int OnPropertyChanged (const char *propName, const char *propValue)
 
+
int OnStagePositionChanged (double pos)
 
+
int OnXYStagePositionChanged (double xPos, double yPos)
 
+
int OnExposureChanged (double exposure)
 
+
int OnSLMExposureChanged (double exposure)
 
+
int OnMagnifierChanged ()
 
unsigned long GetClockTicksUs ()
unsigned long GetClockTicksUs ()
 
MM::MMTime GetCurrentMMTime ()
MM::MMTime GetCurrentMMTime ()
 
bool IsCallbackRegistered () const
bool IsCallbackRegistered () const
 
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
MM::CoreGetCoreCallback () const
 
void EnableDelay (bool state=true)
 
void CreateHubIDProperty ()
void CreateHubIDProperty ()
 
MM::HubGetParentHub () const
 
template<class T_HUB >
T_HUB * AssignToHub ()
 
MM::HubGetParentHub () const
 
template<class T_HUB >
T_HUB * AssignToHub ()
 

Detailed Description

-

template<class T, class U>
-class CDeviceBase< T, U >

- -

Implements functionality common to all devices. Typically used as the base class for actual device adapters. In general, derived class do not override DeviceBase methods, but rather take advantage of using them to simplify development of specific drivers.

+
template<class T, class U>
+class CDeviceBase< T, U >

Implements functionality common to all devices. Typically used as the base class for actual device adapters. In general, derived class do not override DeviceBase methods, but rather take advantage of using them to simplify development of specific drivers.

Member Function Documentation

- -

◆ AddAllowedValue() [1/2]

+ +

◆ AddAllowedValue() [1/2]

@@ -304,8 +301,8 @@

-

◆ AddAllowedValue() [2/2]

+ +

◆ AddAllowedValue() [2/2]

@@ -349,8 +346,8 @@

-

◆ AddToPropertySequence()

+ +

◆ AddToPropertySequence()

@@ -393,8 +390,8 @@

-

◆ ApplyProperty()

+ +

◆ ApplyProperty()

@@ -422,8 +419,8 @@

-

◆ AssignToHub()

+ +

◆ AssignToHub()

@@ -436,7 +433,7 @@

- + @@ -450,12 +447,12 @@

Returns the parent Hub device pointer, or null if there isn't any. Makes sure the Parent ID has been assigned.

-

References CDeviceBase< T, U >::GetParentHub(), and CDeviceBase< T, U >::LogMessage().

+

References CDeviceBase< T, U >::GetParentHub(), and CDeviceBase< T, U >::LogMessage().

- -

◆ ClearAllowedValues()

+ +

◆ ClearAllowedValues()

@@ -483,8 +480,8 @@

-

◆ ClearPropertySequence()

+ +

◆ ClearPropertySequence()

@@ -517,8 +514,8 @@

-

◆ CreateFloatProperty()

+ +

◆ CreateFloatProperty()

@@ -576,8 +573,8 @@

-

◆ CreateHubIDProperty()

+ +

◆ CreateHubIDProperty()

@@ -606,8 +603,8 @@

-

◆ CreateIntegerProperty()

+ +

◆ CreateIntegerProperty()

@@ -665,8 +662,8 @@

-

◆ CreateProperty()

+ +

◆ CreateProperty()

@@ -740,8 +737,8 @@

-

◆ CreatePropertyWithHandler()

+ +

◆ CreatePropertyWithHandler()

@@ -815,8 +812,8 @@

-

◆ CreateStringProperty()

+ +

◆ CreateStringProperty()

@@ -874,8 +871,8 @@

-

◆ EnableDelay()

+ +

◆ EnableDelay()

@@ -903,8 +900,8 @@

-

◆ GetClockTicksUs()

+ +

◆ GetClockTicksUs()

@@ -931,8 +928,8 @@

-

◆ GetCoreCallback()

+ +

◆ GetCoreCallback()

@@ -943,7 +940,7 @@

T_HUB* CDeviceBase< T, U >::AssignToHub T_HUB * CDeviceBase< T, U >::AssignToHub ( )
- + @@ -957,12 +954,12 @@

Get the callback object.

-

Referenced by CDeviceBase< T, U >::GetParentHub().

+

Referenced by CDeviceBase< T, U >::GetParentHub().

- -

◆ GetCurrentMMTime()

+ +

◆ GetCurrentMMTime()

@@ -989,8 +986,8 @@

-

◆ GetCurrentPropertyData()

+ +

◆ GetCurrentPropertyData()

@@ -1028,8 +1025,8 @@

-

◆ GetDelayMs()

+ +

◆ GetDelayMs()

@@ -1056,8 +1053,8 @@

-

◆ GetDescription()

+ +

◆ GetDescription()

@@ -1087,8 +1084,8 @@

-

◆ GetDevice()

+ +

◆ GetDevice()

@@ -1099,7 +1096,7 @@

MM::Core* CDeviceBase< T, U >::GetCoreCallback MM::Core * CDeviceBase< T, U >::GetCoreCallback ( ) const
- + @@ -1114,12 +1111,12 @@

Gets the handle (pointer) to the specified device label. With this method we can get a handle to other devices loaded in the system, if we know the device name.

-

References MM::Core::GetDevice().

+

References MM::Core::GetDevice().

- -

◆ GetErrorText()

+ +

◆ GetErrorText()

@@ -1161,8 +1158,8 @@

-

◆ GetLabel()

+ +

◆ GetLabel()

@@ -1192,8 +1189,8 @@

-

◆ GetLoadedDeviceOfType()

+ +

◆ GetLoadedDeviceOfType()

@@ -1239,8 +1236,8 @@

-

◆ GetModuleHandle()

+ +

◆ GetModuleHandle()

@@ -1267,8 +1264,8 @@

-

◆ GetModuleName()

+ +

◆ GetModuleName()

@@ -1298,8 +1295,8 @@

-

◆ GetNumberOfProperties()

+ +

◆ GetNumberOfProperties()

@@ -1326,8 +1323,8 @@

-

◆ GetNumberOfPropertyValues()

+ +

◆ GetNumberOfPropertyValues()

@@ -1355,8 +1352,8 @@

-

◆ GetParentHub()

+ +

◆ GetParentHub()

@@ -1367,7 +1364,7 @@

MM::Device* CDeviceBase< T, U >::GetDevice MM::Device * CDeviceBase< T, U >::GetDevice ( const char *  deviceLabel)
- + @@ -1379,16 +1376,16 @@

-

Returns the parent Hub device pointer, or null if there isn't any. GetParentHub() call Makes sure that the hub pointer belongs to a class from the same module (device library). This is to avoid using dynamic_cast<> which won't work for Linux.

+

Returns the parent Hub device pointer, or null if there isn't any. GetParentHub() call Makes sure that the hub pointer belongs to a class from the same module (device library). This is to avoid using dynamic_cast<> which won't work for Linux.

-

References CDeviceBase< T, U >::GetCoreCallback(), and CDeviceBase< T, U >::IsCallbackRegistered().

+

References CDeviceBase< T, U >::GetCoreCallback(), and CDeviceBase< T, U >::IsCallbackRegistered().

-

Referenced by CDeviceBase< T, U >::AssignToHub().

+

Referenced by CDeviceBase< T, U >::AssignToHub().

- -

◆ GetProperty() [1/3]

+ +

◆ GetProperty() [1/3]

@@ -1434,8 +1431,8 @@

-

◆ GetProperty() [2/3]

+ +

◆ GetProperty() [2/3]

@@ -1479,8 +1476,8 @@

-

◆ GetProperty() [3/3]

+ +

◆ GetProperty() [3/3]

@@ -1524,8 +1521,8 @@

-

◆ GetPropertyData()

+ +

◆ GetPropertyData()

@@ -1569,8 +1566,8 @@

-

◆ GetPropertyInitStatus()

+ +

◆ GetPropertyInitStatus()

@@ -1614,8 +1611,8 @@

-

◆ GetPropertyLowerLimit()

+ +

◆ GetPropertyLowerLimit()

@@ -1659,8 +1656,8 @@

-

◆ GetPropertyName()

+ +

◆ GetPropertyName()

@@ -1706,8 +1703,8 @@

-

◆ GetPropertyReadOnly()

+ +

◆ GetPropertyReadOnly()

@@ -1751,8 +1748,8 @@

-

◆ GetPropertySequenceMaxLength()

+ +

◆ GetPropertySequenceMaxLength()

@@ -1798,8 +1795,8 @@

-

◆ GetPropertyType()

+ +

◆ GetPropertyType()

@@ -1837,8 +1834,8 @@

-

◆ GetPropertyUpperLimit()

+ +

◆ GetPropertyUpperLimit()

@@ -1882,8 +1879,8 @@

-

◆ GetPropertyValueAt()

+ +

◆ GetPropertyValueAt()

@@ -1936,8 +1933,8 @@

-

◆ GetSerialAnswer()

+ +

◆ GetSerialAnswer()

@@ -1988,8 +1985,8 @@

-

◆ GetSerialPortType()

+ +

◆ GetSerialPortType()

@@ -2017,8 +2014,8 @@

-

◆ HasProperty()

+ +

◆ HasProperty()

@@ -2046,8 +2043,8 @@

-

◆ InitializeDefaultErrorMessages()

+ +

◆ InitializeDefaultErrorMessages()

@@ -2076,8 +2073,8 @@

-

◆ IsCallbackRegistered()

+ +

◆ IsCallbackRegistered()

- -

◆ IsPropertyEqualTo()

+ +

◆ IsPropertyEqualTo()

@@ -2152,8 +2149,8 @@

-

◆ IsPropertySequenceable()

+ +

◆ IsPropertySequenceable()

@@ -2199,8 +2196,8 @@

-

◆ LogMessage() [1/2]

+ +

◆ LogMessage() [1/2]

- -

◆ LogMessage() [2/2]

+ +

◆ LogMessage() [2/2]

@@ -2295,8 +2292,8 @@

-

◆ LogMessageCode()

+ +

◆ LogMessageCode()

@@ -2342,8 +2339,8 @@

-

◆ LogTimeDiff() [1/2]

+ +

◆ LogTimeDiff() [1/2]

@@ -2396,8 +2393,8 @@

-

◆ LogTimeDiff() [2/2]

+ +

◆ LogTimeDiff() [2/2]

@@ -2459,8 +2456,8 @@

-

◆ OnPropertiesChanged()

+ +

◆ OnPropertiesChanged()

@@ -2487,8 +2484,8 @@

-

◆ OnPropertyChanged()

+ +

◆ OnPropertyChanged()

@@ -2528,8 +2525,8 @@

-

◆ PurgeComPort()

+ +

◆ PurgeComPort()

@@ -2557,8 +2554,8 @@

-

◆ ReadFromComPort()

+ +

◆ ReadFromComPort()

@@ -2608,8 +2605,8 @@

-

◆ SendPropertySequence()

+ +

◆ SendPropertySequence()

@@ -2642,8 +2639,8 @@

-

◆ SendSerialCommand()

+ +

◆ SendSerialCommand()

@@ -2694,8 +2691,8 @@

-

◆ SetAllowedValues()

+ +

◆ SetAllowedValues()

@@ -2733,8 +2730,8 @@

-

◆ SetCallback()

+ +

◆ SetCallback()

@@ -2762,8 +2759,8 @@

-

◆ SetDelayMs()

+ +

◆ SetDelayMs()

@@ -2791,8 +2788,8 @@

-

◆ SetDescription()

+ +

◆ SetDescription()

@@ -2820,8 +2817,8 @@

-

◆ SetErrorText()

+ +

◆ SetErrorText()

@@ -2861,8 +2858,8 @@

-

◆ SetLabel()

+ +

◆ SetLabel()

@@ -2890,8 +2887,8 @@

-

◆ SetModuleHandle()

+ +

◆ SetModuleHandle()

@@ -2919,8 +2916,8 @@

-

◆ SetModuleName()

+ +

◆ SetModuleName()

@@ -2948,8 +2945,8 @@

-

◆ SetProperty()

+ +

◆ SetProperty()

@@ -2993,8 +2990,8 @@

-

◆ SetPropertyLimits()

+ +

◆ SetPropertyLimits()

@@ -3040,8 +3037,8 @@

-

◆ StartPropertySequence()

+ +

◆ StartPropertySequence()

@@ -3076,8 +3073,8 @@

-

◆ StopPropertySequence()

+ +

◆ StopPropertySequence()

@@ -3112,8 +3109,8 @@

-

◆ UpdateProperty()

+ +

◆ UpdateProperty()

@@ -3141,8 +3138,8 @@

-

◆ UpdateStatus()

+ +

◆ UpdateStatus()

@@ -3169,8 +3166,8 @@

-

◆ UsesDelay()

+ +

◆ UsesDelay()

@@ -3197,8 +3194,8 @@

-

◆ WriteToComPort()

+ +

◆ WriteToComPort()

@@ -3248,7 +3245,7 @@

diff --git a/class_c_device_base.png b/class_c_device_base.png index a1d6727e773817cfde9a3a8c696b597a5e34fdc0..e8895a01c50a61c914c7d47178f271353834d6c1 100644 GIT binary patch delta 447 zcmX@be3N;CO1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(jH#X7_M?SMPhh`jJvunvvVzjTH1eT0+0p92M!!y?YtuolA40rq$fvQCe2~@x%I;PlI*;fCzZcQuR_3RN`2W0LVy z&(Nzp40oQf8n9lTu_tcx3ZLXpsz#lsY}9UAGejpbJvhR0pp&yfSeQXwjls`{Va^N& z3q!^NxWwm7wb0OD2Sy(Uh+Ol@^MAJOWqI(%NxiaRZEEt5UOsM}`h%*Eb%Zy3-Cuco ziTC8Krhhko%@ED`pW9nqvX_nL^|q5M3S@4?zwh#WbLz;Ze`!W0nH7KjCgneh_ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@

MM::Hub* CDeviceBase< T, U >::GetParentHub MM::Hub * CDeviceBase< T, U >::GetParentHub ( ) const
- - + @@ -27,20 +26,20 @@
-
MMDevice -  70 +
+
MMDevice 70

- + +/* @license-end */ +
-
-
CDeviceBase< MM::Device, U > Member List
+
CDeviceBase< MM::Device, U > Member List
@@ -48,7 +47,7 @@
diff --git a/class_c_device_base_3_01_m_m_1_1_device_00_01_u_01_4.html b/class_c_device_base_3_01_m_m_1_1_device_00_01_u_01_4.html index 7b93adc..b08d394 100644 --- a/class_c_device_base_3_01_m_m_1_1_device_00_01_u_01_4.html +++ b/class_c_device_base_3_01_m_m_1_1_device_00_01_u_01_4.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CDeviceBase< MM::Device, U > Class Template Reference @@ -16,10 +16,9 @@
- - + @@ -27,22 +26,22 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +

-
-
CDeviceBase< MM::Device, U > Class Template Reference
+
CDeviceBase< MM::Device, U > Class Template Reference

The documentation for this class was generated from the following file:
    @@ -51,7 +50,7 @@
diff --git a/class_c_device_utils-members.html b/class_c_device_utils-members.html index 1383ff5..af858ad 100644 --- a/class_c_device_utils-members.html +++ b/class_c_device_utils-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
- - + @@ -27,39 +26,39 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +
-
-
CDeviceUtils Member List
+
CDeviceUtils Member List

This is the complete list of members for CDeviceUtils, including all inherited members.

- + - + - + - + - +
ConvertToString(long lnVal)CDeviceUtilsstatic
ConvertToString(double dVal)CDeviceUtilsstatic
ConvertToString(double dVal)CDeviceUtilsstatic
ConvertToString(int val)CDeviceUtilsstatic
ConvertToString(bool val)CDeviceUtilsstatic
ConvertToString(bool val)CDeviceUtilsstatic
CopyLimitedString(char *pszTarget, const char *pszSource)CDeviceUtilsstatic
GetMaxStringLength()CDeviceUtilsstatic
GetMaxStringLength()CDeviceUtilsstatic
HexRep(std::vector< unsigned char >) (defined in CDeviceUtils)CDeviceUtilsstatic
NapMicros(unsigned long microsecs)CDeviceUtilsstatic
NapMicros(unsigned long microsecs)CDeviceUtilsstatic
SleepMs(long ms)CDeviceUtilsstatic
Tokenize(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")CDeviceUtilsstatic
Tokenize(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")CDeviceUtilsstatic
diff --git a/class_c_device_utils.html b/class_c_device_utils.html index dfb596a..e94684b 100644 --- a/class_c_device_utils.html +++ b/class_c_device_utils.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CDeviceUtils Class Reference @@ -16,10 +16,9 @@
- - + @@ -27,53 +26,53 @@
-
MMDevice -  70 +
+
MMDevice 70
- + +/* @license-end */ +

-
-
CDeviceUtils Class Reference
+
CDeviceUtils Class Reference
- - + - + - + - + - + - + - + - + - + -

+

Static Public Member Functions

static bool CopyLimitedString (char *pszTarget, const char *pszSource)
static bool CopyLimitedString (char *pszTarget, const char *pszSource)
 
static unsigned GetMaxStringLength ()
static unsigned GetMaxStringLength ()
 
static const char * ConvertToString (long lnVal)
static const char * ConvertToString (long lnVal)
 
static const char * ConvertToString (double dVal)
static const char * ConvertToString (double dVal)
 
static const char * ConvertToString (int val)
static const char * ConvertToString (int val)
 
static const char * ConvertToString (bool val)
static const char * ConvertToString (bool val)
 
static void Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")
static void Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=",")
 
static void SleepMs (long ms)
static void SleepMs (long ms)
 
static void NapMicros (unsigned long microsecs)
static void NapMicros (unsigned long microsecs)
 
+
static std::string HexRep (std::vector< unsigned char >)
 

Member Function Documentation

- -

◆ ConvertToString() [1/4]

+ +

◆ ConvertToString() [1/4]

@@ -100,8 +99,8 @@

-

◆ ConvertToString() [2/4]

+ +

◆ ConvertToString() [2/4]

@@ -128,8 +127,8 @@

-

◆ ConvertToString() [3/4]

+ +

◆ ConvertToString() [3/4]

@@ -158,8 +157,8 @@

-

◆ ConvertToString() [4/4]

+ +

◆ ConvertToString() [4/4]

@@ -188,8 +187,8 @@

-

◆ CopyLimitedString()

+ +

◆ CopyLimitedString()

@@ -228,8 +227,8 @@

-

◆ GetMaxStringLength()

+ +

◆ GetMaxStringLength()

@@ -254,8 +253,8 @@

-

◆ NapMicros()

+ +

◆ NapMicros()

@@ -281,8 +280,8 @@

-

◆ SleepMs()

+ +

◆ SleepMs()

@@ -308,8 +307,8 @@

-

◆ Tokenize()

+ +

◆ Tokenize()

@@ -360,12 +359,12 @@

DeviceUtils.h -
  • DeviceUtils.cpp
  • +
  • DeviceUtils.cpp
  • diff --git a/class_c_galvo_base-members.html b/class_c_galvo_base-members.html index b2cacc7..6e0d419 100644 --- a/class_c_galvo_base-members.html +++ b/class_c_galvo_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,147 +26,131 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CGalvoBase< U > Member List
    +
    CGalvoBase< U > Member List

    This is the complete list of members for CGalvoBase< U >, including all inherited members.

    - + - + - + - - - - - - - - - - - - - + + + + + + + + + - + - + - + - + - - - + + + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - - - + - + - + - + - + - - - - - - - + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Galvo, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Galvo, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Galvo, U >inline
    AddPolygonVertex(int polygonIndex, double x, double y)=0MM::Galvopure virtual
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Galvo, U >inlinevirtual
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Galvo, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Galvo, U >inline
    AssignToHub()CDeviceBase< MM::Galvo, U >inlineprotected
    AssignToHub()CDeviceBase< MM::Galvo, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Galvo, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Galvo, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    DeletePolygons()=0MM::Galvopure virtual
    DetectDevice(void) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlinevirtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Galvo, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Galvo, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Galvo, U >inline
    DeletePolygons()=0MM::Galvopure virtual
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Galvo, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Galvo, U >inlineprotected
    Galvo() (defined in MM::Galvo)MM::Galvoinline
    GetChannel(char *channelName)=0MM::Galvopure virtual
    GetChannel(char *channelName)=0MM::Galvopure virtual
    GetClockTicksUs()CDeviceBase< MM::Galvo, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Galvo, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Galvo, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Galvo, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Galvo, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Galvo, U >inline
    GetDelayMs() constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Galvo, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Galvo, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Galvo, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Galvo, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Galvo, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Galvo, U >inlineprotected
    GetPosition(double &x, double &y)=0MM::Galvopure virtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Galvo, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Galvo, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Galvo, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Galvo, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Galvo, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Galvo, U >inlineprotected
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Galvo, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Galvo, U >inlineprotected
    GetType() const (defined in MM::Galvo)MM::Galvoinlinevirtual
    GetType() const (defined in MM::Galvo)MM::Galvoinlinevirtual
    GetXRange()=0MM::Galvopure virtual
    GetYRange()=0MM::Galvopure virtual
    GetYRange()=0MM::Galvopure virtual
    HasProperty(const char *name) constCDeviceBase< MM::Galvo, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Galvo, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Galvo, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Galvo, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Galvo, U >inlinevirtual
    LoadPolygons()=0MM::Galvopure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Galvo, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Galvo, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Galvo, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Galvo, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Galvo, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Galvo, U >inlinevirtual
    LoadPolygons()=0MM::Galvopure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Galvo, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Galvo, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Galvo, U >inlineprotected
    PointAndFire(double x, double y, double time_us)=0MM::Galvopure virtual
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Galvo, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Galvo, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Galvo, U >inlineprotected
    RunPolygons()=0MM::Galvopure virtual
    RunPolygons()=0MM::Galvopure virtual
    RunSequence()=0MM::Galvopure virtual
    SendPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    SendPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Galvo, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Galvo, U >inline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Galvo, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Galvo, U >inlineprotected
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Galvo, U >inlineprotected
    SetIlluminationState(bool on)=0MM::Galvopure virtual
    SetLabel(const char *label)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetPolygonRepetitions(int repetitions)=0MM::Galvopure virtual
    SetPosition(double x, double y)=0MM::Galvopure virtual
    SetPosition(double x, double y)=0MM::Galvopure virtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Galvo, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Galvo, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Galvo, U >inline
    SetSpotInterval(double pulseInterval_us)=0MM::Galvopure virtual
    Shutdown()=0MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Galvo, U >inlinevirtual
    StopSequence()=0MM::Galvopure virtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlinevirtual
    Type (defined in MM::Galvo)MM::Galvostatic
    UpdateProperty(const char *name)CDeviceBase< MM::Galvo, U >inline
    UpdateStatus()CDeviceBase< MM::Galvo, U >inline
    UsesDelay()CDeviceBase< MM::Galvo, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Galvo, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Galvo, U >)CDeviceBase< MM::Galvo, U >inlineprotectedvirtual
    Type (defined in MM::Galvo)MM::Galvostatic
    UpdateProperty(const char *name)CDeviceBase< MM::Galvo, U >inline
    UpdateStatus()CDeviceBase< MM::Galvo, U >inline
    UsesDelay()CDeviceBase< MM::Galvo, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Galvo, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Galvo() (defined in MM::Galvo)MM::Galvoinlinevirtual
    ~Galvo() (defined in MM::Galvo)MM::Galvoinlinevirtual
    diff --git a/class_c_galvo_base.html b/class_c_galvo_base.html index 53a08e1..f60c34e 100644 --- a/class_c_galvo_base.html +++ b/class_c_galvo_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CGalvoBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CGalvoBase< U > Class Template Reference
    +
    CGalvoBase< U > Class Template Reference
    @@ -59,272 +58,264 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Galvo, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Galvo, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Galvo
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    virtual int PointAndFire (double x, double y, double time_us)=0
    virtual int PointAndFire (double x, double y, double time_us)=0
     
    virtual int SetSpotInterval (double pulseInterval_us)=0
    virtual int SetSpotInterval (double pulseInterval_us)=0
     
    virtual int SetPosition (double x, double y)=0
    virtual int SetPosition (double x, double y)=0
     
    virtual int GetPosition (double &x, double &y)=0
    virtual int GetPosition (double &x, double &y)=0
     
    virtual int SetIlluminationState (bool on)=0
    virtual int SetIlluminationState (bool on)=0
     
    virtual double GetXRange ()=0
    virtual double GetXRange ()=0
     
    virtual double GetYRange ()=0
    virtual double GetYRange ()=0
     
    virtual int AddPolygonVertex (int polygonIndex, double x, double y)=0
    virtual int AddPolygonVertex (int polygonIndex, double x, double y)=0
     
    virtual int DeletePolygons ()=0
    virtual int DeletePolygons ()=0
     
    virtual int RunSequence ()=0
    virtual int RunSequence ()=0
     
    virtual int LoadPolygons ()=0
    virtual int LoadPolygons ()=0
     
    virtual int SetPolygonRepetitions (int repetitions)=0
    virtual int SetPolygonRepetitions (int repetitions)=0
     
    virtual int RunPolygons ()=0
    virtual int RunPolygons ()=0
     
    virtual int StopSequence ()=0
    virtual int StopSequence ()=0
     
    virtual int GetChannel (char *channelName)=0
    virtual int GetChannel (char *channelName)=0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Galvo
    +
    static const DeviceType Type = GalvoDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Galvo, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CGalvoBase< U >

    - -

    Base class for creating Galvo devices.

    +
    template<class U>
    +class CGalvoBase< U >

    Base class for creating Galvo devices.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_galvo_base.png b/class_c_galvo_base.png index 93e026710155fc85ca8ff5697d736bdb9114cb51..d0c57c787922eb395a0103c3c1ba6bbd79faa2ec 100644 GIT binary patch literal 1171 zcmeAS@N?(olHy`uVBq!ia0vp^`+@iX2Q!dNa&S@rQqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#LXOJY5_^Dj46+eOt8Iiid6b zabwB5|3&AkG)!!)Q5UW2x5{}dCBD8T=UtB!M$};=r zYpvk<{*(0o(0}EBr;95A*{y$Xr`&m){M!d|^MCMr zzuxur-OqIE@Jag)hW~M23G{DV#nAlVW&ehbV#cry-ApP$x z^LMsw-?J0CpBV7Qz2CJ?f5q(XH@|mZi2GWez4Ovq^XYGPPW}Gp?&4=V&;Q>2{Ql?p z<|UIqTD^O{T&w^4tZ@74^VhB3{!=_#^!-mZ3;(D0!Y@AWzxDq1|IBYslK-o{_WzOp zdB1J_EZ<+AfAhN**%nMYviaQ2>vPT3eU0Bo8J3@$ANya+`rqd(R;PbH{4L*= zw{L&HodNsz`X9A6RluYr2MgMd{6D4#dF^NTGfCLtc*(nZtFN*S&;O3xqZq0nUOLt^V7tRpZ+)9_I}y1{b$zfT-V+_^Ct7U;(O;G zuKriL^XjhX|LS}HUEA+h_UyXJ{F#eaG5)e@X zuZ925IulzT{=eAbo#@?D|5ppvO#811OiO=n{aSe{IiUCPvbwnL2cYn={el~vzh6J|#sThB_g}MT9xePP f-sMkGb{9cINBeXB^un?pf7-{>k}8Cc9^@@?DV=`}eb%%FEh)&-1qwFVKH| z->pXa+otZM*dUKdejl^{`Cid~zTda&+o6?>=GQM?{oDN}WxoHxDuYj|r4xbv+rt41 zZJPU!|FOM~eRiR?>do})CFyfiOrIDAXRey<`d;_aH<^;~|2B{Ad3c`v{AEY#nY9L2 zAA9=!n7*&HSJiB1nzT>#?Wo`LzM4O)Jhv&u`l9r|w=M3xzyEF8sAajPw|M=^TP?eG zpV+wn=B?HL(sU>9TDsZo{F<64`O8iv&;M@z+5Xdc_FbJ7ncIH`Pno{&+12#-e{v4z zsb@~BeiC2y!TC=vL+&5*=e7Us&(8dFbARVA;eWq>ynjFc*@Sr~|HlSx5%=S**?lMb zXMMr{=|$z2O&&k%sVw*}^Gp2Z)A`pgMLav%Z!dDUroR5yftWl0kH3F>^|8KZKRj6N zAIuN(`pfje*R7%N<(+z&-}fAz|C?NQUHZjc`*-pT{=_C1U}9=u=Q(Up!o%#ay~Vyk z{vrQ^S)t3_f z&*`%I;q@o%fOVx|Ht=~%(Ij4kL}-EpY@>k*wWAY_x?Yv8IitHR_*`w z!td|qpDky3Ao_3jd;J5gNQpoBlYCp^i|O^{ImJ;np)!+!1qFkrtDnm{r-UW|@v~WC diff --git a/class_c_generic_base-members.html b/class_c_generic_base-members.html index 15d96b7..a217bba 100644 --- a/class_c_generic_base-members.html +++ b/class_c_generic_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,130 +26,114 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CGenericBase< U > Member List
    +
    CGenericBase< U > Member List

    This is the complete list of members for CGenericBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - - - + + + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - - - + - + - + - - - - - - - + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Generic, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Generic, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Generic, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Generic, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Generic, U >inline
    AssignToHub()CDeviceBase< MM::Generic, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Generic, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Generic, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Generic, U >inline
    AssignToHub()CDeviceBase< MM::Generic, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Generic, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Generic, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Generic, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Generic, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Generic, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Generic, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Generic, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Generic, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Generic, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Generic, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Generic, U >inline
    GetDelayMs() constCDeviceBase< MM::Generic, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Generic, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Generic, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Generic, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Generic, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Generic, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Generic, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Generic, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Generic, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Generic, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Generic, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::Generic, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Generic, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Generic, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Generic, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Generic, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Generic, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Generic, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Generic, U >inlineprotected
    GetType() const (defined in MM::Generic)MM::Genericinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Generic, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Generic, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Generic, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Generic, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Generic, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Generic, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::Generic, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Generic, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Generic, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Generic, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Generic, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Generic, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Generic, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Generic, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Generic, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Generic, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Generic, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Generic, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Generic, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Generic, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Generic, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Generic, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Generic, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Generic, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Generic, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Generic, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Generic, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Generic, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Generic, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Generic, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Generic, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Generic, U >inline
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Generic, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlinevirtual
    Type (defined in MM::Generic)MM::Genericstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Generic, U >inline
    UpdateStatus()CDeviceBase< MM::Generic, U >inline
    UsesDelay()CDeviceBase< MM::Generic, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Generic, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Generic, U >)CDeviceBase< MM::Generic, U >inlineprotectedvirtual
    Type (defined in MM::Generic)MM::Genericstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Generic, U >inline
    UpdateStatus()CDeviceBase< MM::Generic, U >inline
    UsesDelay()CDeviceBase< MM::Generic, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Generic, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    diff --git a/class_c_generic_base.html b/class_c_generic_base.html index 31fe617..f0bef68 100644 --- a/class_c_generic_base.html +++ b/class_c_generic_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CGenericBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CGenericBase< U > Class Template Reference
    +
    CGenericBase< U > Class Template Reference
    @@ -59,242 +58,234 @@

    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Generic, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Generic, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Generic
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Generic
    +
    static const DeviceType Type = GenericDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Generic, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CGenericBase< U >

    - -

    Base class for creating generic devices.

    +
    template<class U>
    +class CGenericBase< U >

    Base class for creating generic devices.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_generic_base.png b/class_c_generic_base.png index e860d39c9222709e33b4072ed75fa9b9eb0bcf5f..e7d103c9ba664cda51715a086f4d9982d52c5254 100644 GIT binary patch literal 1234 zcmeAS@N?(olHy`uVBq!ia0vp^r-AqY2Q!eI`zZYokdhAY332`Z|38rV;?396{zJ*?YcQo;Ck?%SfxRy=Ie zj~h$g{VzISMM7ElljGzsE9#~ub{pzt$*}Hn>gJBRSe2K# zcHxuFZ`Ma2k9z+}{Z-w~;+5{+3(MYdM{lrF^ZalBQpxk9hqz~#`!0_l8@6K2rBe(U ze%PruI7*y&S|a71rZ9c;DFY+rohh=+9Ui+Fjwr`6JesJ-0Mye^v4q>f<`S!d+)E~b z{u0IxcT{QTDM6Q@{RY zVx3Nm=dRP+W9MAiTDz(JVovUK|)Yvj?@g0-eOIQCz?ugCRSAF@s=KN93 zD;=>{&Mv*5Ht9>T-InjWr{2(WkDcJRGOWe^)urXP)INj!9Xh$Z=(ze#ZcDM${cn!$ z@cFJf^IFi>ykB8!oUa;sb~%8240qeX7%$CK9)^AAITHlfiY(_In<#nW=^CS+Gah=8 z#~G9+5#?oQh&&KjI>m@X#8avX6xB<*RgNCs>GM3^Hul`4KZTb|)90v^>Li~_zkX*= z$fR#O#ZUSDf3>M+hj~y?`5v1*xnj$m&knYGMD;J%dmC4K-zMGrboq{d`^xuzU)4Q% z)%iE`iuQfUuQ+_v`%U?sd-;>H517vRxi0(Hl5GB$^Ed6hQ(8F7J@!xa^_N-ZwIckn zcNS+I*}ncw+S`A-wv^izMRpy0HgoI!=MmiX`>roN@@Rw1?WZ5!-}1Sft#|g>$z4A> zzrNnIQgr+O%en8xV}7aLPnoAuZxcKHw$-)V59QxZ=e_%(QmuHL@9p%t@4c<>hpfrF zW4c=I%Es8~W|E)nznd1XO*Wt2Z|7D2a`*o?)?eCV=G6uLzqHHak}{0~`m%{{^MRB! zGnSW0X=42)hQ{5;6Q_IceIcEeR=uWtz3Z_vZ#b_T+RwkeSnqAA`@P?iT9F$Ycgo8+y1zVTo$%{J zU-kSJ-Pd1xJ^TIo(}AHE<+JHA%l3c%m2$0d>BJ@8ccvy6w*>br+pTt2Xm9Q-M$cWx z%wuPj-Ykt2_nNe>@b%&SI~aZ_$1wa6)MEf@W2kT8Zm>VZdO#jk+HYcz z*Ib85OZ31d@9>yp|E@st+O?9?SC9Koiu?3$m5S^WvFVnx(vx?YUAlc}>XPX-w~u=G zHaqW|CjPq6%J=7%vPoYiRu}2G-z>?!^z>uojyYSGPx?~4?|G6)(Gj&*kAm`zJ%3r6 zzx|t~dh6*4?jX&lT_4>!tU` zve4ryCz;`X2D!|t*i&<<9m5YhWe4?=Cq{jLPn10Q6!6k*nfmk<$qaIwI6a9a3<|oY z1ifOJq*Ce#GWn3}q(6xy)eX(P;7F)iNKyO}rXiy;tvP zdtzeZ4j7&EDSa|2x%QZ; zyk$o9t|L3<&05(V^}0wyyYcIeM@D-igx8fC3Vp59TpU(iAA9arO!V|jN3EqYrH_-| zc>nl(MeCk#-`veR-vup?np|1hqqerJ_+|O^rR$R0i_W~QTe)A~cjcz3tE_Z?tNuT~ z+UncS*{mNX{r_4ne?Su{n>>DK#B=xp`+r8m)T;QE-@JH$g$#qItDnm{r-UW|>RnWN diff --git a/class_c_image_processor_base-members.html b/class_c_image_processor_base-members.html index d46fd65..98ae666 100644 --- a/class_c_image_processor_base-members.html +++ b/class_c_image_processor_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,133 +26,117 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CImageProcessorBase< U > Member List
    +
    CImageProcessorBase< U > Member List

    This is the complete list of members for CImageProcessorBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - - - + + + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - + - + - + - - - - - - - + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::ImageProcessor, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::ImageProcessor, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::ImageProcessor, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    AssignToHub()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateHubIDProperty()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    AssignToHub()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateHubIDProperty()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::ImageProcessor, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::ImageProcessor, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::ImageProcessor, U >inline
    GetDelayMs() constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::ImageProcessor, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::ImageProcessor, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::ImageProcessor, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::ImageProcessor, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::ImageProcessor, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    GetType() const (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinline
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::ImageProcessor, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    Process(unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0 (defined in MM::ImageProcessor)MM::ImageProcessorpure virtual
    HasProperty(const char *name) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinline
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::ImageProcessor, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::ImageProcessor, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::ImageProcessor, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::ImageProcessor, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    Process(unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0 (defined in MM::ImageProcessor)MM::ImageProcessorpure virtual
    PurgeComPort(const char *portLabel)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::ImageProcessor, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::ImageProcessor, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::ImageProcessor, U >inline
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    Type (defined in MM::ImageProcessor)MM::ImageProcessorstatic
    UpdateProperty(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    UpdateStatus()CDeviceBase< MM::ImageProcessor, U >inline
    UsesDelay()CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::ImageProcessor, U >)CDeviceBase< MM::ImageProcessor, U >inlineprotectedvirtual
    Type (defined in MM::ImageProcessor)MM::ImageProcessorstatic
    UpdateProperty(const char *name)CDeviceBase< MM::ImageProcessor, U >inline
    UpdateStatus()CDeviceBase< MM::ImageProcessor, U >inline
    UsesDelay()CDeviceBase< MM::ImageProcessor, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::ImageProcessor, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
    ~ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
    diff --git a/class_c_image_processor_base.html b/class_c_image_processor_base.html index 64f4211..ed21fc7 100644 --- a/class_c_image_processor_base.html +++ b/class_c_image_processor_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CImageProcessorBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CImageProcessorBase< U > Class Template Reference
    +
    CImageProcessorBase< U > Class Template Reference
    @@ -59,245 +58,237 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::ImageProcessor, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::ImageProcessor, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::ImageProcessor
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int Process (unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::ImageProcessor
    +
    static const DeviceType Type = ImageProcessorDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::ImageProcessor, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CImageProcessorBase< U >

    - -

    Base class for creating image processing modules.

    +
    template<class U>
    +class CImageProcessorBase< U >

    Base class for creating image processing modules.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_image_processor_base.png b/class_c_image_processor_base.png index 91cf38fe9167898b2411342a74dbb47937fe637a..24525486d17cf86e28ed73cd24f4d84d4bce8193 100644 GIT binary patch literal 1432 zcmaJ>X;4#F7=3^WQjj_$gB6t)!F4d8Y=IHS0%8PGL@d<+F)E0%1p0`8JP3#bYDSQN z1|fhOMx+phVMziZqEKlT9D|KXOvnIzQ9{^W4aN}C)MZDWHl#i%Z-3woU-tQ#fphvx#7$C#;bZmFhjmXB` zFxZ4sMtY6zECNbrt>E|zuhG{26mj2K#lv`s?j?I_$wdS4A?3kcw3E0g(>vL!+4hU* zLR9~Ho)ck}>I(_Ht#M*C=Hogi%#W9G2!EiNjYAH-X=3A%2U_aHRZp55{vyjw?<#N~ zaw6=+aBV=$d}wtz71bX{g;vAV3Ch2ZG;C?Cio3H+bjJHS~?ee2f3Vtt`Lib|+gWRmw_V+SBxoGUx0y@8lxNZe4VB~9qEq=Wnu z_!_}0NZHvjm$c&vK+LFT#Tz;-f9kzKO1PJr+WXKz-3E}=w`?VXwx%q*5p9xmho9r^ z-3|CFLpt&ZRL3{Qszi8FKY6&P{d|&=iD(lxwt$5T{=-mVI>!-aO>}hh7AVh2&J}j~ z_peula_20pr*zAa;xF#&+DZ_>|B2szq$+y;l3V^&iW}=$i~hH< zBZ?ON*6A1pGk4@1W`6(wBJ^1h?+sV}Qz`^O>71WSYZx!R`F>y~U>`2X@n&QPEU!tM z2?nM!IQe(W&vHZFP?puCWxrVi?x_~{!htT98Kn$Zkqk@mqSWFuM4X0sr%3&S%zGk|KAIzT8FxiZ~&vm=n!r<^BjSIR%o{DM{lZ}DIBxy{*ib>xE z@piwvvh^iG-5z+rI7F9Y+EJY5OPahX`poXpAHvIp9A>FdM}whwd95uX3YeLJ{-y=t zz&H&wo|jP8yj}TBF>lzHHtOwiOCGT|K8<0a&l5&QBb@PqzVkwqmd(>mWxG< z{6!_5sNT$bym+e9ijMtj+`MWSRn#!IcPVjhL+hh|C&P zd0zUGI#b(=w8QQnHuv=u<(3T^JvN+;j@Tl3N2MPCBHSz3?8Djd8TN@UyR z&y`RU)#qkjL>I`@-g%5mG^9+2RWm^rrDq|wZrB5?RMj3eO3__UWu7wgG*^;bfk-l zQq%YT@
    icB^Hv*+3%bWk^t9Ax)YRbc`K`@Mai8H%o(|4;xEiVbP~_V|TA0F6BR AY5)KL literal 1401 zcmb`He^AnQ7{|ZX{85*7dG6e;(%nK=odTLz1Zh@meq}&2-6|6_uRH^xLLw5aZQh)@ zMA4-}%3AhAO;0J?#gC{71w1%Vqc_&oM{2%{PYF>Gi-AY!o<&gFWzo;+i( zxa zmVGy_&mWGL5&O#D!aM9Ji+|yz*4+Ybbu_?F9w!SC>wNAT^)dsy&1UPb+-&AkI4DqVEQXh zc0Hc?aDn!5(qwb&jgUs37*&{)@f2r+Jmy74vD{Q4K261J22;+b!0g|rAL@-de9IVT zqNZE5P&YOoBP%c27EU8lO;7rmH5w%Ph+i-kS-6J$ZW)DL>qgeE0 zQO-~@L2pd6@+ELe=(b3^Dj*V~i5!`ktc@DnSZkZ3lGmoaN8$afwTlFU@JKebNW9V5 zVR$hclNl(Y#LFwKSyE+DDmRnGG!)ftDz7n(C|AyC^XD$W!AU{3mH3>y_8xf4<{;bN z+;CSHvlfND$|5uu4*ief?u{Uo5-Wf;zHk0OD(kn9sUF^U>WOsOQX) z76l%B((gPD#rh%abj~3q#u_{!r;Z&7jgOR32XdrM4k)jo=`h~f)Dn15wL+RGD^bGx zgXrPY756M>AVQkFb4sTdpiP$J{yclrR>?Yc>Byby3*#4{RPROIqfa+$<(BAX?Zk9z z=akeel`4IXax>-c{)j)Z7t&n>=DsZNaeKxdy#r|f*zP!d#VuF7&N|m%UOKbhGaaXn k-tlG%go!Er5j=Br>b38qWBi~it~m*S1oE!N9VuV^1;V7t?*IS* diff --git a/class_c_magnifier_base-members.html b/class_c_magnifier_base-members.html index 0db5527..7cdb5cb 100644 --- a/class_c_magnifier_base-members.html +++ b/class_c_magnifier_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,133 +26,117 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CMagnifierBase< U > Member List
    +
    CMagnifierBase< U > Member List

    This is the complete list of members for CMagnifierBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - - - + + + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - - - + - + - + - - - - - - - + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Magnifier, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Magnifier, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Magnifier, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Magnifier, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Magnifier, U >inline
    AssignToHub()CDeviceBase< MM::Magnifier, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Magnifier, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Magnifier, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Magnifier, U >inline
    AssignToHub()CDeviceBase< MM::Magnifier, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Magnifier, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Magnifier, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Magnifier, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Magnifier, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Magnifier, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Magnifier, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Magnifier, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Magnifier, U >inline
    GetDelayMs() constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetMagnification()=0 (defined in MM::Magnifier)MM::Magnifierpure virtual
    GetModuleHandle() constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetModuleHandle() constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Magnifier, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Magnifier, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Magnifier, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Magnifier, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Magnifier, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Magnifier, U >inlineprotected
    GetType() const (defined in MM::Magnifier)MM::Magnifierinlinevirtual
    GetType() const (defined in MM::Magnifier)MM::Magnifierinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Magnifier, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Magnifier, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Magnifier, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    Magnifier() (defined in MM::Magnifier)MM::Magnifierinline
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Magnifier, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Magnifier, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Magnifier, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Magnifier, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Magnifier, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Magnifier, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Magnifier, U >inlineprotected
    Magnifier() (defined in MM::Magnifier)MM::Magnifierinline
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Magnifier, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Magnifier, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Magnifier, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Magnifier, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Magnifier, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Magnifier, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Magnifier, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Magnifier, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Magnifier, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Magnifier, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Magnifier, U >inline
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Magnifier, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlinevirtual
    Type (defined in MM::Magnifier)MM::Magnifierstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Magnifier, U >inline
    UpdateStatus()CDeviceBase< MM::Magnifier, U >inline
    UsesDelay()CDeviceBase< MM::Magnifier, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Magnifier, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Magnifier, U >)CDeviceBase< MM::Magnifier, U >inlineprotectedvirtual
    Type (defined in MM::Magnifier)MM::Magnifierstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Magnifier, U >inline
    UpdateStatus()CDeviceBase< MM::Magnifier, U >inline
    UsesDelay()CDeviceBase< MM::Magnifier, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Magnifier, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Magnifier() (defined in MM::Magnifier)MM::Magnifierinlinevirtual
    ~Magnifier() (defined in MM::Magnifier)MM::Magnifierinlinevirtual
    diff --git a/class_c_magnifier_base.html b/class_c_magnifier_base.html index 91c7384..a3dbc22 100644 --- a/class_c_magnifier_base.html +++ b/class_c_magnifier_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CMagnifierBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CMagnifierBase< U > Class Template Reference
    +
    CMagnifierBase< U > Class Template Reference
    @@ -59,245 +58,237 @@

    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Magnifier, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Magnifier, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Magnifier
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual double GetMagnification ()=0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Magnifier
    +
    static const DeviceType Type = MagnifierDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Magnifier, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CMagnifierBase< U >

    - -

    Base class for creating devices that can change magnification (NS).

    +
    template<class U>
    +class CMagnifierBase< U >

    Base class for creating devices that can change magnification (NS).


    The documentation for this class was generated from the following file:
    diff --git a/class_c_magnifier_base.png b/class_c_magnifier_base.png index 49b1ed9272f546ae57695fed5b21e7800830891a..80407fd30b988f3045d1f40d58f558a56825610a 100644 GIT binary patch literal 1317 zcmcIkX;4#F6pqFY$P{s0s74E9cv?cmK|)+0O)QG!u>=~D)>4R0fq*P((V#44QR|Ef zHNFs*KqA6>&=(6SF6@xB(})m|84^ql5@^~4B?K)z|&PbI(2Z%-osp zJKs51VwhpBE(8}G4(AFo4zsYR#a!u($Ighbo<=Nei-}~1Ivft{`fO%_fBmP%{r;rW zTPg;hDV0j>Jr>e@ht<}eWiexMSpJXgTV0KPwB`r!@W<@)tE>|1h|%laBhj9`nx~G< za=lya1d6HcGo0Om^M5!R77UO2Sw*U9qUU}EOtSe<2T_$DgV&go_8 z+br3yZ;wYq1s4Sn;C87D$nk=Ketdm6QZ{lNmw#oWGPT5qALN=!snb3=LA^~x>TIiC zd%-yBdKS*ZnS^t@w5iA`#6^iGzB5@YSpD)KW7YY8mz6fSY$R0xoY=L3cRdUGz1SOW zpt@HK)c}-uqvq_HIEXv79?glsP-mC{w67&(qFijIn}4pEXl^+W$1FUV6Zyt(Y%HO* zn9_bnl;JVElLJX7U%=uH<1eFEgGu00$wh*SwlBH<;fVp!W1+ZF0#f#7+G~5iVn--A zhph3mXa%=GBH;uZ^kd&^g##F5n$ejA=9d0eCH|K;f z9a!OlxC8XqAMwBP5t0_<_~NqK2hFG4+GYXJFB8sqTvPLy5W&3sR5BaIL;0#E5hT-T zEN04EmU@DzW%`eLcBEK1TYZfDz~LTmk;0tYX7bRb9!Lo9CUW$z@K!so`W)?4;&@tb z20r~Xaz+z`ir9PRW$YWB#>h;eBySNBcT7o>Bozq_tl+0EJs$Mjj&#S(m1p>w-Rl&amFWwWPaCWeMi2O z>!&bOP1~87iJB=HUw5HPv)svAARkra|0R~PXA4FTJ$JC(S88Ch_*V6O(!7VnG0TUa4kPn6tJ%rVkAU#p@z%&(qTb$azZskS*HA zK^L;shS|&(^1=*H@!@^H-AH*O{R6XoZ^|6OuTk!31DZYi3++YP?zYbpAB}hSg(6qw zs>=BqI`rPA962oYJxW%~@vykmAka(D(Uv>2Dbt*$MdWIrDck~XZbEh`h7!3kncXCX z?%p~b7(kZtnqmFRWf2ZJ;I-}=$XcRjt}!9i^FcsxwWQJO&42lN+!)2A+< SS%la^!-1j9!_6VbFZ>PaMuXe{ literal 1287 zcmeAS@N?(olHy`uVBq!ia0vp^SAh5c2Q!fLcHg@kNJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?!gO!IVc45?szJNNab)e1ar)8&n8|GV35 zThVZ#d+Ocf8E;-{y>rk$-SS0WvBf}&#Z!uV`Xm+Z9aB^y7c9Oq<=C5|ojd+}26-y0 zc&5M96y07Szv*<&_xdFYo~rw&RP8z5qr2pQmB*#bUDM+4yh`4DGj-MRP-Xd34Jvb= zpI=%wGs|n~70*kRzs$On%p(thu@3w=*#A;jXbWM-eCnY`G?ylqZ`Q_(nwWsoL z-g~!+Z_UA}Yf~q72$dS0@$GVQ9(`{Xw9(iE+=s-nw#Jwwe( z_XOX6arM&ts{yvt&t1NHdi}=DNynqByS;Q*Uiqu?Qp9$N%1epA^|Mr#UVp#TYU&IX z+sF1PS(?V4zm)&^|Ma{h{|FcmjG#z569n{t1cUt}HUlYTue*87QN0?b*1hSbOQw|D zGe{F15TJ1SF;Borg11Sfw-pxN6FhxC-#5DB?)h^ymu;lFC+q83m1p!;TY9eQ_+4pv zca~4k>#lTdRnhhR*N>WhSKPhknaawetF8A;y=A*sHT`v{+=)l2CTDAvr|x@Jxc#YI ze}>&$?;6Fax3@5V{gXDkOm6$eJk!`~jix&;?Z}*Y#Ytr+ISLUBI{yH%v_IBtVE604}(DMC@q~}-$pU++~&-?kyjGtT2g*-0Ll3r~WzNT8_ zPWQX(Q?%wE{Ppx>c2v;H-=h3W{|3(l#+quy@5kTs4qjcdN@(&D+5DyY(^r-`dR}@S zv+)lwe)Lp5feFcT(*Ye(Cyr*u56XEAiwzfDd26=dYDduK%N1eHUX|aOH#Fi*cUY2T z!~2=bGNpLc8aBd`D4)0OtkZvsUq5HelFMGD-@lggfoZ?#efzhIgI>R#ws-HXq~uqZ z&;AR`ik{=G>u;}?R@XhV#^v+NuW?V^FWHMv=&J6PGAu9b@AeXm?>2mDS*xOZ;!~VQ zZO8_Ps?rIo%zn9Kl`jiBerVU+m5Zb9d#7f4O}#ehRFrpI-E8-mfSf&A`;((&muStl znx~!;UU=5%ckZ%PxmVL)rT&clf_ z(0{2ubrr{h{g(`bmus;tkgh$=|9}aW8aH1t@x7ezhk4h``u<1f6vBX|7K5j&pUXO@ GgeCy%WL1g) diff --git a/class_c_s_l_m_base-members.html b/class_c_s_l_m_base-members.html index 0749cb0..ff3e146 100644 --- a/class_c_s_l_m_base-members.html +++ b/class_c_s_l_m_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,144 +26,128 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CSLMBase< U > Member List
    +
    CSLMBase< U > Member List

    This is the complete list of members for CSLMBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - + - - - + + + - + - + - - - - - - - - - + + + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - + - + - + - + - - - - - - - - - + + + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::SLM, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::SLM, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::SLM, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::SLM, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::SLM, U >inline
    AssignToHub()CDeviceBase< MM::SLM, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::SLM, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateHubIDProperty()CDeviceBase< MM::SLM, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::SLM, U >inline
    AssignToHub()CDeviceBase< MM::SLM, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::SLM, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateHubIDProperty()CDeviceBase< MM::SLM, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SLM, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    DisplayImage()=0MM::SLMpure virtual
    DisplayImage()=0MM::SLMpure virtual
    EnableDelay(bool state=true)CDeviceBase< MM::SLM, U >inlineprotected
    GetBytesPerPixel()=0MM::SLMpure virtual
    GetBytesPerPixel()=0MM::SLMpure virtual
    GetClockTicksUs()CDeviceBase< MM::SLM, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::SLM, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::SLM, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::SLM, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::SLM, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::SLM, U >inline
    GetDelayMs() constCDeviceBase< MM::SLM, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::SLM, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::SLM, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetExposure()=0MM::SLMpure virtual
    GetHeight()=0MM::SLMpure virtual
    GetHeight()=0MM::SLMpure virtual
    GetLabel(char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::SLM, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::SLM, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::SLM, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfComponents()=0MM::SLMpure virtual
    GetNumberOfProperties() constCDeviceBase< MM::SLM, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::SLM, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfComponents()=0MM::SLMpure virtual
    GetNumberOfProperties() constCDeviceBase< MM::SLM, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::SLM, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::SLM, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::SLM, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::SLM, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::SLM, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::SLM, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::SLM, U >inlineprotected
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::SLM, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::SLM, U >inlineprotected
    GetType() const (defined in MM::SLM)MM::SLMinlinevirtual
    GetType() const (defined in MM::SLM)MM::SLMinlinevirtual
    GetWidth()=0MM::SLMpure virtual
    HasProperty(const char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::SLM, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::SLM, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::SLM, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::SLM, U >inlinevirtual
    IsSLMSequenceable(bool &isSequenceable) const =0MM::SLMpure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::SLM, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::SLM, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::SLM, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::SLM, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::SLM, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::SLM, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::SLM, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::SLM, U >inlinevirtual
    IsSLMSequenceable(bool &isSequenceable) const =0MM::SLMpure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::SLM, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::SLM, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::SLM, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::SLM, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::SLM, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    SendPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::SLM, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::SLM, U >inline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::SLM, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::SLM, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::SLM, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::SLM, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::SLM, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::SLM, U >inlineprotected
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::SLM, U >inlineprotected
    SetExposure(double interval_ms)=0MM::SLMpure virtual
    SetImage(unsigned char *pixels)=0MM::SLMpure virtual
    SetImage(unsigned char *pixels)=0MM::SLMpure virtual
    SetImage(unsigned int *pixels)=0MM::SLMpure virtual
    SetLabel(const char *label)CDeviceBase< MM::SLM, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::SLM, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::SLM, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    SetPixelsTo(unsigned char intensity)=0MM::SLMpure virtual
    SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue)=0MM::SLMpure virtual
    SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue)=0MM::SLMpure virtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::SLM, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::SLM, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::SLM, U >inline
    Shutdown()=0MM::Devicepure virtual
    SLM() (defined in MM::SLM)MM::SLMinline
    SLM() (defined in MM::SLM)MM::SLMinline
    StartPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlinevirtual
    Type (defined in MM::SLM)MM::SLMstatic
    UpdateProperty(const char *name)CDeviceBase< MM::SLM, U >inline
    UpdateStatus()CDeviceBase< MM::SLM, U >inline
    UsesDelay()CDeviceBase< MM::SLM, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::SLM, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::SLM, U >)CDeviceBase< MM::SLM, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::SLM, U >inlinevirtual
    Type (defined in MM::SLM)MM::SLMstatic
    UpdateProperty(const char *name)CDeviceBase< MM::SLM, U >inline
    UpdateStatus()CDeviceBase< MM::SLM, U >inline
    UsesDelay()CDeviceBase< MM::SLM, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::SLM, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~SLM() (defined in MM::SLM)MM::SLMinlinevirtual
    diff --git a/class_c_s_l_m_base.html b/class_c_s_l_m_base.html index 08d99b2..dc1c94c 100644 --- a/class_c_s_l_m_base.html +++ b/class_c_s_l_m_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CSLMBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CSLMBase< U > Class Template Reference
    +
    CSLMBase< U > Class Template Reference
    @@ -59,266 +58,258 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::SLM, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::SLM, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::SLM
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    virtual int SetImage (unsigned char *pixels)=0
    virtual int SetImage (unsigned char *pixels)=0
     
    virtual int SetImage (unsigned int *pixels)=0
    virtual int SetImage (unsigned int *pixels)=0
     
    virtual int DisplayImage ()=0
    virtual int DisplayImage ()=0
     
    virtual int SetPixelsTo (unsigned char intensity)=0
    virtual int SetPixelsTo (unsigned char intensity)=0
     
    virtual int SetPixelsTo (unsigned char red, unsigned char green, unsigned char blue)=0
    virtual int SetPixelsTo (unsigned char red, unsigned char green, unsigned char blue)=0
     
    virtual int SetExposure (double interval_ms)=0
    virtual int SetExposure (double interval_ms)=0
     
    virtual double GetExposure ()=0
    virtual double GetExposure ()=0
     
    virtual unsigned GetWidth ()=0
    virtual unsigned GetWidth ()=0
     
    virtual unsigned GetHeight ()=0
    virtual unsigned GetHeight ()=0
     
    virtual unsigned GetNumberOfComponents ()=0
    virtual unsigned GetNumberOfComponents ()=0
     
    virtual unsigned GetBytesPerPixel ()=0
    virtual unsigned GetBytesPerPixel ()=0
     
    virtual int IsSLMSequenceable (bool &isSequenceable) const =0
    virtual int IsSLMSequenceable (bool &isSequenceable) const =0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::SLM
    +
    static const DeviceType Type = SLMDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::SLM, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CSLMBase< U >

    - -

    Base class for creating SLM devices that can project images.

    +
    template<class U>
    +class CSLMBase< U >

    Base class for creating SLM devices that can project images.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_s_l_m_base.png b/class_c_s_l_m_base.png index 58467e8b9014a6c0e8deb5c5fe0f61e612cc4788..d8e77ef510615adf81f7b51a991144bfea7eedd9 100644 GIT binary patch literal 1129 zcmeAS@N?(olHy`uVBq!ia0vp^JAn8A2Q!dtm=hTZq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)qcB6aJ@ap7Q1$4t?majhGP87@)4HhQ^w6)a zw-r3!e_;Kn_o)3*DVNGiS-aRdzCCx9N*|rpijB_|wvXF8=?f3zqq|>zba-EyU9(5F zOmg@A&~4Ygei62;Q`sjIt(KFz`|O|dv96Q;iEHY4PJ}z@#G|ECj1(B+AF~)JE$*7{ z*F39VtL~fJ<(i0(cS0GGJPR8N6f!zJ5*XH1H;v`%R5K~ zWND91oR=mu(+5*O24$mFKVF)w__^Xy`g_B(?V{&nSrw)c;|r)C7c8F=2uo|I;1?d3`#*?&UEH&#Z{!bG*af&f6({E3WRt9IbtQJ4}OuifwH3noN8W<_P+_kN`Js9yP9Z@=`nzoqxKFZcI;y!CqM^yzs=vj1<~ zQN1+$=v|Q=GWV^vYZhhJXx#HVvH8)vV?h5-eVn{!>+g`8G0*qat&8oso@Kv4zREgu z+HCud9sSPRzwHirx$dLjeo#mqfAqWKefiWh*1AcL|4#jW+*!r&Z{n@9w--g*}i)ioTEmPd5 zy3hBlkz?Ak{{JfbR<3(ne6OU~Q2eX^-gUzDT076Ik<0Ja=eHIpx7_#ilGPQ?GQs-L zzsw)ij%V+vU6r%$^KFx&-655}e;3Q_*M7I@v4Luma$Rxw%0Fp+@4tWC`Q=gGkw5<{ z!f(DyN&9B?^CZw=Do4+r0VV?D%^qO4ZvJ87d%58cbCcdP^N+?{?7%{S!PC{xWt~$( F695fgAN>FT literal 1104 zcmeAS@N?(olHy`uVBq!ia0vp^JAn8A2Q!dtm=hTZq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IZ0?|Zs9hEy=Vo%{CEY6Tv)>+O>7|4-`w z%FJ|Y-`Z`KMw9!rMFOr1e9+fidPP~q^HsmVbQOQ6m`OG}RqUo*3b}sjvAU-zyYHkg zme-Gn_qr#pI`$!Z)})Zn(I0>Aaj9EslGCa(_d(Js9jna~R!+NfGbA_A+~bmDox(kr zKLLAu8dc^#eD!EeQjXY4!T9i(-?AeARDAWiWNp!5emPlL&r^Np9$7QV-S!g#fs%YdJlu`rPV(y%ChdQ{_*7Q^2+UxHm+v)A@qo0UW-M8x+32L&kp7ayxc8I zrUdm*P+4gYiZjka&re4>_%G+{$}Lr?elu%c&*UXtxo1LVWqm$#_rkAF&Cf+X<{sHR zanh>CZwpV)0LCW!d7BsY?tAv#tkJs|@qTaH4VRT!y0!A1vpeeD??}m;zxjQ7&-3N{ z*^lpJuX^nr{%Gm{h&y{OEq|28<hkS%-VW?iC1xN?~me-WrhEA_x1m%3tt)bV5&_1`Wn@^ z@B1e|X8&EGSN_}GG|#V3eD|q^6*rfk*}JBqa_8goM|1bjsjpRhr}gjo^tamtr!NTy z#hMT(d7OU)Ou32-_Q@b=q<$e^}H@)C? z$jNoD-FH>JKkUG;=jc+Idd<8|j}267l>e24Yu+(F{{8olpr}IQq@VSBRzI<3tnsV) kgp#ULgyh>2UreYsznE{|`*_)7VD@M5boFyt=akR{0Qd9_wg3PC diff --git a/class_c_serial_base-members.html b/class_c_serial_base-members.html index 8d3109a..cf14c72 100644 --- a/class_c_serial_base-members.html +++ b/class_c_serial_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,138 +26,122 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CSerialBase< U > Member List
    +
    CSerialBase< U > Member List

    This is the complete list of members for CSerialBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - - - + + + - + - + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - - - + - + - + - - - - - - - - - + + + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Serial, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Serial, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Serial, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Serial, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Serial, U >inline
    AssignToHub()CDeviceBase< MM::Serial, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Serial, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Serial, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Serial, U >inline
    AssignToHub()CDeviceBase< MM::Serial, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Serial, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Serial, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Serial, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Serial, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Serial, U >inlineprotected
    GetAnswer(char *txt, unsigned maxChars, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
    GetClockTicksUs()CDeviceBase< MM::Serial, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Serial, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Serial, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Serial, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Serial, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Serial, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Serial, U >inline
    GetDelayMs() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetDelayMs() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Serial, U >inlineprotected
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Serial, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Serial, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetModuleHandle() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Serial, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlinevirtual
    GetPortType() const =0 (defined in MM::Serial)MM::Serialpure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Serial, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Serial, U >inlineprotected
    GetPortType() const =0 (defined in MM::Serial)MM::Serialpure virtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Serial, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::Serial, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Serial, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Serial, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Serial, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Serial, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Serial, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Serial, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Serial, U >inlineprotected
    GetType() const (defined in MM::Serial)MM::Serialinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Serial, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Serial, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Serial, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Serial, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Serial, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Serial, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::Serial, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Serial, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Serial, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Serial, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Serial, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Serial, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Serial, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Serial, U >inlineprotected
    Purge()=0 (defined in MM::Serial)MM::Serialpure virtual
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Serial, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Serial, U >inlineprotected
    Read(unsigned char *buf, unsigned long bufLen, unsigned long &charsRead)=0 (defined in MM::Serial)MM::Serialpure virtual
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Serial, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Serial, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Serial, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Serial, U >inlineprotected
    Serial() (defined in MM::Serial)MM::Serialinline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Serial, U >inline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Serial, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Serial, U >inlinevirtual
    SetCommand(const char *command, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
    SetCommand(const char *command, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
    SetDelayMs(double delay)CDeviceBase< MM::Serial, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Serial, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Serial, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Serial, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Serial, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Serial, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Serial, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Serial, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Serial, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Serial, U >inline
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Serial, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlinevirtual
    Type (defined in MM::Serial)MM::Serialstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Serial, U >inline
    UpdateStatus()CDeviceBase< MM::Serial, U >inline
    UsesDelay()CDeviceBase< MM::Serial, U >inlinevirtual
    Write(const unsigned char *buf, unsigned long bufLen)=0 (defined in MM::Serial)MM::Serialpure virtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Serial, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Serial, U >)CDeviceBase< MM::Serial, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    Type (defined in MM::Serial)MM::Serialstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Serial, U >inline
    UpdateStatus()CDeviceBase< MM::Serial, U >inline
    UsesDelay()CDeviceBase< MM::Serial, U >inlinevirtual
    Write(const unsigned char *buf, unsigned long bufLen)=0 (defined in MM::Serial)MM::Serialpure virtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Serial, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Serial() (defined in MM::Serial)MM::Serialinlinevirtual
    diff --git a/class_c_serial_base.html b/class_c_serial_base.html index 21d39a9..9043e13 100644 --- a/class_c_serial_base.html +++ b/class_c_serial_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CSerialBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CSerialBase< U > Class Template Reference
    +
    CSerialBase< U > Class Template Reference
    @@ -59,260 +58,252 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Serial, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Serial, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Serial
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual PortType GetPortType () const =0
     
    +
    virtual int SetCommand (const char *command, const char *term)=0
     
    +
    virtual int GetAnswer (char *txt, unsigned maxChars, const char *term)=0
     
    +
    virtual int Write (const unsigned char *buf, unsigned long bufLen)=0
     
    +
    virtual int Read (unsigned char *buf, unsigned long bufLen, unsigned long &charsRead)=0
     
    +
    virtual int Purge ()=0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Serial
    +
    static const DeviceType Type = SerialDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Serial, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CSerialBase< U >

    - -

    Base class for creating serial port device adapters.

    +
    template<class U>
    +class CSerialBase< U >

    Base class for creating serial port device adapters.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_serial_base.png b/class_c_serial_base.png index 3a2f3c100835b8ba3339c5467ad34cdedbcbf187..0766854c814079496f292312a494c21240ba7549 100644 GIT binary patch literal 1164 zcmcIkeK4DM9FOX1?HE1XN)s<@xSiXuTQ*^(X$|qnSeM#tnM1izwF*L!H3_?26&;f~ zStPh3V<(B$Ysa;ZW8`k$dfrm6A?Kw8X(Pzn^ZfR7yZ+n%_PhJOe7@hi@5|li`zyW_ zMYTI|<^&FhvxCAz=$M5u>3iK8(}@>?-7$l|^jUN$0048JZtv%m_c!@};FaMd7PR-7QPWon8jBm173{EmTAK&WQ z+EL>3Z*@3;EW8^&ajy~f7_30~rxd;DB%|k=EH;im#d_=kwLb3x-?O}8 zr;E8$U-8+Gc6o^S@NS!5M=(Eb6)^~9@;G_Vv1rmksLCB`)wzIClbfj(e-`r#_vU2} z&MC%V*HyoPL0~ALO~f0S7P4qf8P8u@b~LgaN6nV@j;`|f51~+cOd4o>)-~LlW2Nqm}R?| zwPvIZWO38fsm7GlC4wWwuDyvy{MYs6f{IzVl0Nj>vPg_OmYe}5Q@4-X?($~b*hd=7 zDX7(L55!6x&MWYraC0xy+uSC;3O@MMOJZvq%D?4_czTuT1&#hLDdGE}CJ)$)5Z^DEJ_sSWe%IRyrZd3hrxoLVSJnwM2cR12FO9`uLz3nZF zK()uTVYj<>E-J?B167*D=KSt7VwdyZU~SRxM^fO|Jh*_1kT*C$qU04saX zl^CgZUoiN8piFA@?}b-BB;l*{WKt;+868pQ&4H|S&L-11_i?~)!k`3{L~0l0&A@iK zyeCC2^%lWcnj~GZzxap^zJp`6d0>l#pJ|0Js9*tT7Iru`^})a@vjj2)OHtcAgG7AfyNRFJcOC5u22Eq$SZhbbb1ao?cY0G>cP zyIx&fWvKf$eZ8*1rdT-ZW`uu0tA&WeCNueMs!1fot~xn6Q;amFRu8T52&~;IMq8l= Q_HW>z(5Mi3aKexO0N@LKEdT%j literal 1140 zcmeAS@N?(olHy`uVBq!ia0vp^`+@iX2Q!dNa&S@rQW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;C5p|Gn*U zSvfP_ewV(fe)n9P(o{yLKi*!NygZ(h+Eo9jp6vfHUB%w+>-?+AGqZSCB;|B(bDVVVsrkRV zzuy14&O32Q`OiZ?bHnb;Nq#(^zi8&eSNrP^sJ@K+*IU0mvh1(wOXhtO?RRI~dp3XT z)<4$4f8PImp3U38HAnao=cj&^N}+#~p1A+;o+STJ-?Q!y$ohL0xt6x{OzV?6ae&gTkpPQ@C zn^b@8*}EAYmtG(F9X{y~2h3tnVC((UTxz1nus?-OV#dM0&nw?>^1Q3RC|||2__zB% z#t$lg7=h{;><`Hw=>Nd}K^Y&{LSg9?wl)>d!|<>>R==yJs8Cn+X7=Thj)kU48vVvmq zT;0!8Zu90aU);a!=TRqbPn^G{X6wJ#bu;h%`*$`=|9aC*jja=-KIKd|uiMPE`!v%B5&5J4cdaw?`Sy7E z>$h9~&Hi)w==qzE>u3MJ{wH|z*|#&Z|LE(Me?EV&o8^J$zw-C-4Z=vt{`k@QS<5nG a{xOH<6o&~rd&UEc2nJ7AKbLh*2~7YW;9IQ# diff --git a/class_c_shutter_base-members.html b/class_c_shutter_base-members.html index 8672da8..ebfcdb3 100644 --- a/class_c_shutter_base-members.html +++ b/class_c_shutter_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,135 +26,119 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CShutterBase< U > Member List
    +
    CShutterBase< U > Member List

    This is the complete list of members for CShutterBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - - - + + + - + - + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - - - - - + + + - + - + - - - - - - - + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Shutter, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Shutter, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Shutter, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Shutter, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Shutter, U >inline
    AssignToHub()CDeviceBase< MM::Shutter, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Shutter, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Shutter, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Shutter, U >inline
    AssignToHub()CDeviceBase< MM::Shutter, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Shutter, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Shutter, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Shutter, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Shutter, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Shutter, U >inlineprotected
    Fire(double deltaT)=0MM::Shutterpure virtual
    GetClockTicksUs()CDeviceBase< MM::Shutter, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Shutter, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Shutter, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Shutter, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Shutter, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Shutter, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Shutter, U >inline
    GetDelayMs() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetDelayMs() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Shutter, U >inlineprotected
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Shutter, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Shutter, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetModuleHandle() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetOpen(bool &open)=0 (defined in MM::Shutter)MM::Shutterpure virtual
    GetParentHub() constCDeviceBase< MM::Shutter, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetOpen(bool &open)=0 (defined in MM::Shutter)MM::Shutterpure virtual
    GetParentHub() constCDeviceBase< MM::Shutter, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Shutter, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::Shutter, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Shutter, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Shutter, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Shutter, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Shutter, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Shutter, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Shutter, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Shutter, U >inlineprotected
    GetType() const (defined in MM::Shutter)MM::Shutterinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Shutter, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Shutter, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Shutter, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Shutter, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Shutter, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Shutter, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::Shutter, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Shutter, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Shutter, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Shutter, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Shutter, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Shutter, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Shutter, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Shutter, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Shutter, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Shutter, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Shutter, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Shutter, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Shutter, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Shutter, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Shutter, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotected
    SetOpen(bool open=true)=0 (defined in MM::Shutter)MM::Shutterpure virtual
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetOpen(bool open=true)=0 (defined in MM::Shutter)MM::Shutterpure virtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Shutter, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Shutter, U >inline
    Shutdown()=0MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    Shutter() (defined in MM::Shutter)MM::Shutterinline
    StartPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Shutter, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlinevirtual
    Type (defined in MM::Shutter)MM::Shutterstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Shutter, U >inline
    UpdateStatus()CDeviceBase< MM::Shutter, U >inline
    UsesDelay()CDeviceBase< MM::Shutter, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Shutter, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Shutter, U >)CDeviceBase< MM::Shutter, U >inlineprotectedvirtual
    Type (defined in MM::Shutter)MM::Shutterstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Shutter, U >inline
    UpdateStatus()CDeviceBase< MM::Shutter, U >inline
    UsesDelay()CDeviceBase< MM::Shutter, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Shutter, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Shutter() (defined in MM::Shutter)MM::Shutterinlinevirtual
    ~Shutter() (defined in MM::Shutter)MM::Shutterinlinevirtual
    diff --git a/class_c_shutter_base.html b/class_c_shutter_base.html index 4186ec9..b37c17d 100644 --- a/class_c_shutter_base.html +++ b/class_c_shutter_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CShutterBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CShutterBase< U > Class Template Reference
    +
    CShutterBase< U > Class Template Reference
    @@ -59,250 +58,242 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Shutter, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Shutter, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Shutter
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int SetOpen (bool open=true)=0
     
    +
    virtual int GetOpen (bool &open)=0
     
    virtual int Fire (double deltaT)=0
    virtual int Fire (double deltaT)=0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Shutter
    +
    static const DeviceType Type = ShutterDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Shutter, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CShutterBase< U >

    - -

    Base class for creating shutter device adapters.

    +
    template<class U>
    +class CShutterBase< U >

    Base class for creating shutter device adapters.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_shutter_base.png b/class_c_shutter_base.png index 5d2759aff38e49343eb5cd1dc1c0dc015acfbace..bbe84b3b6a76412fcd066adbfe7336eb63ffc950 100644 GIT binary patch literal 1242 zcmeAS@N?(olHy`uVBq!ia0vp^$AI_%2Q!e&ka<%Cq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)tE$R=am|p9mUq+UEapZN`>V-$`~!>zi)-eV%x1j_OCVt8H$+h4ZD&I~|v< z44L#r^rzVLB^pcGR9qEdUf+>5CFs;c#vi8Q4UdcYdQU$Uk$Zk&N7S5yk5!~1S28@p z^co(YKTrh*;g0~7moMOU_$}UDckJ0UuTRHcU71@r>54(`&TZ>oh{qw%hUUjZ!$F>*;SP-uL5}&*3W1#<{htn^+Cr_OB`u>lM zJJ%!feM)Ebmv+`j^_DKp`t)P=orr&*K*4(6{AyTU&K~ou-K#v$?x>TtT@f-{s`%~a z%WKQCv_h5l{oQ1BBKptG-!CPk{O@mK?`%`CRe}Y#MZcToQW?31_+my2J77S^_&qG- z>s@_R(#CJm#Hm~gd<0V#a`4A3dcEu2j|($r%FexFVBGDLHDjjh!`$BJ$b#J8uV2@9 z-~O6<2zM%EUCW*41v;OYc7X a$-n5zxBbqFlePm(AqG!ZKbLh*2~7YU-&^kh literal 1216 zcmeAS@N?(olHy`uVBq!ia0vp^$AI_%2Q!e&ka<%Cq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IYL{5@S9Ln;{G&V4&+vjUG>Kfm$b|K4@4 z#aWi#-FEBlgW0nFiJGB&iXZhgmtL_~@q9J+!UPrlmNu2jhdjLtw=COTa?IXyRVI(; zrQ>rJ8R}={_*`G}{f(=4(Ao7FKJ$x1#7-T!<#FlxoZ=PFj{2T9zFTzaTI=m)aub#? z*Z3z3_bzke>{pR}uta42xBE+WU5qHI6+J8UR!YG$|3kIZ>E&?~uy{9@)8^RqMV z*)?UW-vuXU6$c!9C$rcx z;BkYB?87X}6OrvZ4ZY52g)W`6#Q8{c%p{=G zCp~F}N5eXxGw(8g$jxK;Tg=;g`>l}N^$RwQ)HC>c=SMP1SZPJ^q(p3ijleDf`e!o^?ett@bo^fzcsqf=n{qAE{k1zUo zUj6!MPvyBAGx8qKT%K`d`#ihTe!Avy+wQ+fFpb(*?VX%;cJVR;|IO3gXIR%QNW6Yu z?nZsQpGVy5Jv}csztW2ikdeQ$>eh6x!!@7RwQ=^J?ERDa_-1aeRm58NnIGFPp6IV! zHu3ZMclC1H+qKr${L9|m&bzE2(|jv8f348q#aHZh->F%? zDk${P+v%a|`5))s^RLbL^JCgu6{$&Idf;JgB?Zg{whZ^5v0bnShVos#hlRYoyN`<6 z=q(bQ%5{JrGZ7&LE_xb^OOj|?STDg)r4CJw717CB+)LNi*Z$8h-o3Mj!6tp5`T_Sn zt2f%M%bK6LXUCrVS5Hj7e(vx0Y+yp$^F8~(wcY;r*Ez-{vD|pwZ!+zx&sm}7JE!Aj zuXwBWWOt59oK>5{PP=Ona$(bsJM8T7y7{x_$(nR)srOwn7jCS%pE2VLI4I`@=$4kR zxF>8mMY`YQ%$&1(cJcg)G?_IutJm>!z|J$h&#IFxbvAp2uJp>8bCm74!dp p)#ZE8kCa~w_N{MAl&E?x@5of1{$rVyAF#M#@O1TaS?83{1OS5jKIQ-b diff --git a/class_c_signal_i_o_base-members.html b/class_c_signal_i_o_base-members.html index fd71177..b51b1c1 100644 --- a/class_c_signal_i_o_base-members.html +++ b/class_c_signal_i_o_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,138 +26,122 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CSignalIOBase< U > Member List
    +
    CSignalIOBase< U > Member List

    This is the complete list of members for CSignalIOBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - - - + + + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - + - + - + - - - - - - - - - + + + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::SignalIO, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::SignalIO, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::SignalIO, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::SignalIO, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::SignalIO, U >inline
    AssignToHub()CDeviceBase< MM::SignalIO, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::SignalIO, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateHubIDProperty()CDeviceBase< MM::SignalIO, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::SignalIO, U >inline
    AssignToHub()CDeviceBase< MM::SignalIO, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::SignalIO, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateHubIDProperty()CDeviceBase< MM::SignalIO, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::SignalIO, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::SignalIO, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::SignalIO, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::SignalIO, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::SignalIO, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::SignalIO, U >inline
    GetDelayMs() constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetGateOpen(bool &open)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    GetLabel(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetLimits(double &minVolts, double &maxVolts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::SignalIO, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::SignalIO, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::SignalIO, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::SignalIO, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::SignalIO, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::SignalIO, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::SignalIO, U >inlineprotected
    GetSignal(double &volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    GetType() const (defined in MM::SignalIO)MM::SignalIOinlinevirtual
    GetType() const (defined in MM::SignalIO)MM::SignalIOinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::SignalIO, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::SignalIO, U >inlineprotected
    IsDASequenceable(bool &isSequenceable) const =0MM::SignalIOpure virtual
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::SignalIO, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::SignalIO, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::SignalIO, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::SignalIO, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::SignalIO, U >inlineprotected
    IsDASequenceable(bool &isSequenceable) const =0MM::SignalIOpure virtual
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::SignalIO, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::SignalIO, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::SignalIO, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::SignalIO, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::SignalIO, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::SignalIO, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::SignalIO, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::SignalIO, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::SignalIO, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::SignalIO, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::SignalIO, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::SignalIO, U >inlineprotected
    SetGateOpen(bool open=true)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    SetGateOpen(bool open=true)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    SetLabel(const char *label)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::SignalIO, U >inline
    SetSignal(double volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    SetSignal(double volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
    Shutdown()=0MM::Devicepure virtual
    SignalIO() (defined in MM::SignalIO)MM::SignalIOinline
    SignalIO() (defined in MM::SignalIO)MM::SignalIOinline
    StartPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlinevirtual
    Type (defined in MM::SignalIO)MM::SignalIOstatic
    UpdateProperty(const char *name)CDeviceBase< MM::SignalIO, U >inline
    UpdateStatus()CDeviceBase< MM::SignalIO, U >inline
    UsesDelay()CDeviceBase< MM::SignalIO, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::SignalIO, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::SignalIO, U >)CDeviceBase< MM::SignalIO, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::SignalIO, U >inlinevirtual
    Type (defined in MM::SignalIO)MM::SignalIOstatic
    UpdateProperty(const char *name)CDeviceBase< MM::SignalIO, U >inline
    UpdateStatus()CDeviceBase< MM::SignalIO, U >inline
    UsesDelay()CDeviceBase< MM::SignalIO, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::SignalIO, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~SignalIO() (defined in MM::SignalIO)MM::SignalIOinlinevirtual
    diff --git a/class_c_signal_i_o_base.html b/class_c_signal_i_o_base.html index f3690b9..1a487d7 100644 --- a/class_c_signal_i_o_base.html +++ b/class_c_signal_i_o_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CSignalIOBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CSignalIOBase< U > Class Template Reference
    +
    CSignalIOBase< U > Class Template Reference
    @@ -59,259 +58,251 @@
    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::SignalIO, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::SignalIO, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::SignalIO
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int SetGateOpen (bool open=true)=0
     
    +
    virtual int GetGateOpen (bool &open)=0
     
    +
    virtual int SetSignal (double volts)=0
     
    +
    virtual int GetSignal (double &volts)=0
     
    +
    virtual int GetLimits (double &minVolts, double &maxVolts)=0
     
    virtual int IsDASequenceable (bool &isSequenceable) const =0
    virtual int IsDASequenceable (bool &isSequenceable) const =0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::SignalIO
    +
    static const DeviceType Type = SignalIODevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::SignalIO, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CSignalIOBase< U >

    - -

    Base class for creating ADC/DAC modules.

    +
    template<class U>
    +class CSignalIOBase< U >

    Base class for creating ADC/DAC modules.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_signal_i_o_base.png b/class_c_signal_i_o_base.png index 530c48bb67fc7c8ac70972584164b21bdcdf5075..874c427c3b9f577f10895e30442b1576d829cb64 100644 GIT binary patch delta 1148 zcmV-?1cUqY35^PnB!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00fvxL_t(|0qvdPa;qQ^MvosenSK8!zG)N$B~7e0 z-OFqzr!a`J$A$GTDWxhV)bcT%$NxD?3+q5`BM$y92V( znGgSerjyV3PRH|R+rRq0&XSLvT8^*E*3~JcpnP|7Wh)n|Ogj4RNYa~J5wavbNQ$D=eByIE6`I^=tHOU2v zNcBdW(e>IPo${D@navt&QtJo*K&STT5A3h6JEz3_h;shlbhE>M`j~9od+2vM)f+sj zQ>Clg(B)!DXLUTfI&JcHt5uHgWT!0molZHYbw0{?z1fPve687VStI|dlCTN8)+uYe zx!IN_Uu36#y_?5wHrwW&Iy=vGs%LbQ^z-cOD_dJrPMn?ntMBXNoc9jwca^Pob~@jk z((Y!T~Y*i-LkT$_eYJQcDB>gR~zhbXuxY21gp(OQqIl)hM z`nyMx4&Z9DNzyq&N0Ph}I+Em-yG}|e4FkX@xB-mASUR`cP(EYn+-*kk8B8ZC8-QOz z2f!yZa9A=uPX&ji$%tj$}%*?zJI%Z~GIjr+lKC1TF-S_c&+M|7ErFpWM*^fA? zlb3t7>@uZHdpFF_>Xga3^9XgCqc3?VI?JqDzhrBj>p*9TCx@LWsd%QdySzN6em(2E zI_&jhon^5m!Z!R?r#d_3LcXO6dy}1`LML=K?|6-WZOv1EvlWBcu?cy%*^UXFIy*g` z_cmLdqd&~fuCi5Ur=zp4Y`)G;_q&rT+giHH!2Y{4Uw&HI$_-{_$2qKHX13>&hnSh2 zbm`~wbn08u_dd(;2` O002n`MNUMnLSTaZNm$_k delta 1139 zcmV-(1dRKQ3iAn&B!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00e?bL_t(|0qvdPlB*yLMvoseeg8+kZWRbhw{>;hTqd2K z!XQeHf%Gpar8EvCNg9RFktDB#jwE^IDxImern`2&K9bbZ8Gn+bQ(UIA1ozdLu8I3M zf|sP0+jO44OO{sZKyD=I9M^5OCCF!(rdxMk7O+h_AW0|rU7byKx;iyol5~;_OF@$l zQxc5MS`)Hx(dpL;Njk{AI-6A5>`2mit}N7>ld!LBWilgud+#! z142iVyb?N+Z10IuW z0uO({VNyzI97vKh3ZWxOUI`sZ^2!xDQ*BK*_vTMCAjy35J?k_{I>RM8OCVp3=^C$Z z0$p|9O_QWgxJ74e=h0{M%hi&#n$+_?*KD>WuqD>o%?>pS*|_H9ztL%v*9e&KUFz6; z82 z8$7CG(q%SuxmeO^jz?FgP2O%bH-%5vZ7lyhqHQO50ND+bH8X2WHT{52(E6SmbU zYkaub)+OI$$G+apV>g>^bC1o=YaR29ZjyeUoqc6%Ys!hUvw!t{ot*RDf&H$s_0CS` zf2Xv&8rIBvZm(}DTUV#nS4wl-+RbJ%Swq?cE2;S!9ZC9I-v5ieo8d;M*@TkRC84G`3$BLl?}iz zlVJiOk^~5UcqMcI4l_;DG!9GvqYyd(UI`rluN>BSmXF%Lx_chC)0X-P@P=hFz>hep zlb3t9>^h}P`!vjZb;{)2d4~FY$o!M@P;}N=R=;Gc&UK)(#*@R&lvKRZ*X@@rF63KG*qiJe6*{4_dB-(=wwkB@W-A7ZV-xajvmFyUb#{6> zpKUgqqd&~fuCkf4)6v;iHeY9_`@fSbTPVE@0fTz*;E$_)U=IjjS)=aPp2oa6!> zQ_=wblq<4xYI^`&$3>eBzyqNJ;FZt;@XD++P17_C{{YB-d=iUKo8kZf002ovPDHLk FV1izJJy!q# diff --git a/class_c_stage_base-members.html b/class_c_stage_base-members.html index a8e3347..4238ac5 100644 --- a/class_c_stage_base-members.html +++ b/class_c_stage_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,138 +26,122 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CStageBase< U > Member List
    +
    CStageBase< U > Member List

    This is the complete list of members for CStageBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - + - + - - - + + + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - - - + + + - + - + - - - - - - - - - + + + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Stage, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Stage, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Stage, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Stage, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Stage, U >inline
    AssignToHub()CDeviceBase< MM::Stage, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Stage, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Stage, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Stage, U >inline
    AssignToHub()CDeviceBase< MM::Stage, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Stage, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Stage, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Stage, U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Stage, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::Stage, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Stage, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Stage, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Stage, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Stage, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Stage, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Stage, U >inline
    GetDelayMs() constCDeviceBase< MM::Stage, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Stage, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Stage, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetLimits(double &lower, double &upper)=0 (defined in MM::Stage)MM::Stagepure virtual
    GetLimits(double &lower, double &upper)=0 (defined in MM::Stage)MM::Stagepure virtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Stage, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Stage, U >inlinevirtual
    GetModuleHandle() constCDeviceBase< MM::Stage, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Stage, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Stage, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlinevirtual
    GetPositionSteps(long &steps)=0 (defined in MM::Stage)MM::Stagepure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::Stage, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Stage, U >inlineprotected
    GetPositionSteps(long &steps)=0 (defined in MM::Stage)MM::Stagepure virtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Stage, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::Stage, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Stage, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Stage, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Stage, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Stage, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Stage, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Stage, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Stage, U >inlineprotected
    GetType() const (defined in MM::Stage)MM::Stageinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Stage, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Stage, U >inlineprotected
    IsContinuousFocusDrive() const =0 (defined in MM::Stage)MM::Stagepure virtual
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Stage, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Stage, U >inlinevirtual
    IsStageSequenceable(bool &isSequenceable) const =0MM::Stagepure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Stage, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Stage, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::Stage, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Stage, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Stage, U >inlineprotected
    IsContinuousFocusDrive() const =0 (defined in MM::Stage)MM::Stagepure virtual
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Stage, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Stage, U >inlinevirtual
    IsStageSequenceable(bool &isSequenceable) const =0MM::Stagepure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Stage, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Stage, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Stage, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Stage, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Stage, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Stage, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Stage, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Stage, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Stage, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Stage, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Stage, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Stage, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Stage, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Stage, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Stage, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Stage, U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::Stage, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Stage, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotected
    SetOrigin()=0 (defined in MM::Stage)MM::Stagepure virtual
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlinevirtual
    SetPositionSteps(long steps)=0 (defined in MM::Stage)MM::Stagepure virtual
    SetModuleName(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    SetOrigin()=0 (defined in MM::Stage)MM::Stagepure virtual
    SetPositionSteps(long steps)=0 (defined in MM::Stage)MM::Stagepure virtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Stage, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Stage, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Stage, U >inline
    Shutdown()=0MM::Devicepure virtual
    Stage() (defined in MM::Stage)MM::Stageinline
    Stage() (defined in MM::Stage)MM::Stageinline
    StartPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlinevirtual
    Type (defined in MM::Stage)MM::Stagestatic
    UpdateProperty(const char *name)CDeviceBase< MM::Stage, U >inline
    UpdateStatus()CDeviceBase< MM::Stage, U >inline
    UsesDelay()CDeviceBase< MM::Stage, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Stage, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Stage, U >)CDeviceBase< MM::Stage, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Stage, U >inlinevirtual
    Type (defined in MM::Stage)MM::Stagestatic
    UpdateProperty(const char *name)CDeviceBase< MM::Stage, U >inline
    UpdateStatus()CDeviceBase< MM::Stage, U >inline
    UsesDelay()CDeviceBase< MM::Stage, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Stage, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Stage() (defined in MM::Stage)MM::Stageinlinevirtual
    diff --git a/class_c_stage_base.html b/class_c_stage_base.html index 716a7e5..17630d9 100644 --- a/class_c_stage_base.html +++ b/class_c_stage_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CStageBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CStageBase< U > Class Template Referenceabstract
    +
    CStageBase< U > Class Template Referenceabstract
    @@ -59,259 +58,251 @@

    - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - - - - - - + - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Stage, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Public Member Functions inherited from CDeviceBase< MM::Stage, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Stage
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int SetPositionSteps (long steps)=0
     
    +
    virtual int GetPositionSteps (long &steps)=0
     
    +
    virtual int SetOrigin ()=0
     
    +
    virtual int GetLimits (double &lower, double &upper)=0
     
    virtual int IsStageSequenceable (bool &isSequenceable) const =0
    virtual int IsStageSequenceable (bool &isSequenceable) const =0
     
    +
    virtual bool IsContinuousFocusDrive () const =0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - Static Public Attributes inherited from MM::Stage
    +
    static const DeviceType Type = StageDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::Stage, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CStageBase< U >

    - -

    Base class for creating single axis stage adapters.

    +
    template<class U>
    +class CStageBase< U >

    Base class for creating single axis stage adapters.


    The documentation for this class was generated from the following file:
    diff --git a/class_c_stage_base.png b/class_c_stage_base.png index c5fbd2392b9067ff949e848c67838aebcf1cf6f5..9655c6509097eb6b73334f4465ddae2d564a795b 100644 GIT binary patch literal 1230 zcma)+eNfV89Ke68&9q0Qoey8Fp(GiDg1`r_Sf!qJ$K*d`+T48KhNiL z-+Ss)iH8F=hHeA^AOK9llYF_?7mAnH`*wCsOt>$Fr5?>7APC|+8t0v*js5NK?}{l7 z=BkYfg~E5A&e7iV^jh$~T!*O`i32>`1!X#3?1E$dW zM++t`cW!A#%!+CS0jVfT)+8>U_2zU`IU?sOA4XqpJv#9T?-aueUmH)Q#!L$S?bF!bXV9TVs^GVxezJnz)hTU^M(aG%H~EIHrOh=-_^mpscytTxhQxu>0md}ocf2nY5q4ltGl_HCwTeyc*D zPWEN~?9zZ#xVUPr{i^^j7+qcda7AW}h^j}uwZK;H01?!hW*wIwErbOZHSYno>2;6d zeUjrSEADPcV*9<1?&-n+CC@usYr4xrPMc3Qy&@f*MUj()>)cH~<-eyS#gP$_4`C&AZRZj*+1WqA+pN**PQ!($QE|b*V`? zGYH$*-agF(_2^Wd=Sy+r8=^rQ zKk8#d5W5S_tf4mzs^_osdt1ms9Yr~B-aiHfpT3$^4FrBM?>LKoyTJGJ03d;g7asbo F=5KF@iyr_0 literal 1203 zcma)6c`(~~6#r%HmL6)hUDZ8?QK?Qaja@CR4YoAZU+P+{Y;3T`idjLXi6cr9YtcH2 z{n5CJb=7J`c0-#wl3yCFj;IZSw&JFQC?!#C+Qi0A`)_C8%sW0a?>pc3KJU%T_Ve*H z-t+k$004}^^Jo3_UZ_`*k%8V`O-GsQ-C;kkKY$gz3Q_XgqCE_j^6N(h_ujAlI}$5_}ahm)y{dyq!v9 zX{zv+0fsm$aFOnoOlkuA;>nJt;qo>EC?1k3xV7-Duo4f*hk9=`b~g6TUxU(=yO`-( z80H^c0)=&Ou+0|?&{=AlNxRl7m$c@wxfT+wi#FA+{qMF|)CLy=&7Xf?ONJ1cJP0#! zsD!d-T4HsFu8qlVyKf*jsQFIE~umUDG?nDrytS4q0Ce)EBLp!Co8Xy*7-p7G-45k zcFF6E<3!9a2W<-;he7IH)iR1%V{A*dwEPqcrr=qT5JcX|Aw_BG@v#vq-kK<4c`Y1X({@-svsn@nY5e zMS`0YcK5uFN+ldGn(Wj(pB=X4JGtcOsINUWeL~)PXiw~hU5~1rG?SZn+Oa9rL8jm? zi>;G4p0a8w-BES$SfYIUiNZozL0jI<;_gRn89&o)J_zUt+gM4Cx;5*gvRYx_q9Hry>ip@5T86RkNIN zioclDZ=F2GSUsc_NMzrwQk2XVOlwyYh7_926G&Q#CesNm3?)-*%&gSaCE1HS@7il9 skqFW57H{)3?typP#QL0VasMg(Utck3;s5{u diff --git a/class_c_state_device_base-members.html b/class_c_state_device_base-members.html index 4221813..ea70b78 100644 --- a/class_c_state_device_base-members.html +++ b/class_c_state_device_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,146 +26,130 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CStateDeviceBase< U > Member List
    +
    CStateDeviceBase< U > Member List

    This is the complete list of members for CStateDeviceBase< U >, including all inherited members.

    - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - + - + - + - - - + + + - + - + - - - - - - - - - + + + + + + + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - + + + - + - + - + - + - + - + - - - + - + - + - + - - - - - - - - - + + + + + + +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::State, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::State, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::State, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::State, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::State, U >inline
    AssignToHub()CDeviceBase< MM::State, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::State, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateHubIDProperty()CDeviceBase< MM::State, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CStateBase typedef (defined in CStateDeviceBase< U >)CStateDeviceBase< U >
    CStateDeviceBase() (defined in CStateDeviceBase< U >)CStateDeviceBase< U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::State, U >inline
    AssignToHub()CDeviceBase< MM::State, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::State, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateHubIDProperty()CDeviceBase< MM::State, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::State, U >inline
    CStateBase typedef (defined in CStateDeviceBase< U >)CStateDeviceBase< U >
    CStateDeviceBase() (defined in CStateDeviceBase< U >)CStateDeviceBase< U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::State, U >inlineprotected
    EnableDelay(bool state=true)CDeviceBase< MM::State, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::State, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::State, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::State, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::State, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::State, U >inline
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::State, U >inline
    GetDelayMs() constCDeviceBase< MM::State, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::State, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::State, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::State, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::State, U >inlinevirtual
    GetGateOpen(bool &open) (defined in CStateDeviceBase< U >)CStateDeviceBase< U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetLabelPosition(const char *label, long &pos) constCStateDeviceBase< U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::State, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::State, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::State, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPositions() const =0 (defined in MM::State)MM::Statepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::State, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::State, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::State, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlinevirtual
    GetPosition(long &pos) constCStateDeviceBase< U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPositions() const =0 (defined in MM::State)MM::Statepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::State, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::State, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::State, U >inlineprotected
    GetPosition(long &pos) constCStateDeviceBase< U >inlinevirtual
    GetPosition(char *label) constCStateDeviceBase< U >inlinevirtual
    GetPositionLabel(long pos, char *label) constCStateDeviceBase< U >inlinevirtual
    GetPositionLabel(long pos, char *label) constCStateDeviceBase< U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::State, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::State, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::State, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::State, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::State, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::State, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::State, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::State, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::State, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::State, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::State, U >inlineprotected
    GetType() const (defined in MM::State)MM::Stateinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::State, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::State, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::State, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::State, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::State, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::State, U >inlinevirtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::State, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::State, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::State, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::State, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::State, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnLabel(MM::PropertyBase *pProp, MM::ActionType eAct)CStateDeviceBase< U >inline
    OnMagnifierChanged() (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::State, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::State, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    OnStateChanged(long position)CStateDeviceBase< U >inline
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::State, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::State, U >inlineprotected
    OnStateChanged(long position)CStateDeviceBase< U >inline
    PurgeComPort(const char *portLabel)CDeviceBase< MM::State, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::State, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::State, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::State, U >inlineprotected
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::State, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::State, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::State, U >inlinevirtual
    SetCallback(MM::Core *cbk)CDeviceBase< MM::State, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::State, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::State, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::State, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::State, U >inlineprotected
    SetGateOpen(bool open)CStateDeviceBase< U >inlinevirtual
    SetGateOpen(bool open)CStateDeviceBase< U >inlinevirtual
    SetLabel(const char *label)CDeviceBase< MM::State, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::State, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::State, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlinevirtual
    SetPosition(long pos)CStateDeviceBase< U >inlinevirtual
    SetPosition(long pos)CStateDeviceBase< U >inlinevirtual
    SetPosition(const char *label)CStateDeviceBase< U >inlinevirtual
    SetPositionLabel(long pos, const char *label)CStateDeviceBase< U >inlinevirtual
    SetPositionLabel(long pos, const char *label)CStateDeviceBase< U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::State, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::State, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::State, U >inline
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    State() (defined in MM::State)MM::Stateinline
    StopPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlinevirtual
    Type (defined in MM::State)MM::Statestatic
    UpdateProperty(const char *name)CDeviceBase< MM::State, U >inline
    UpdateStatus()CDeviceBase< MM::State, U >inline
    UsesDelay()CDeviceBase< MM::State, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::State, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::State, U >)CDeviceBase< MM::State, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::State, U >inlinevirtual
    Type (defined in MM::State)MM::Statestatic
    UpdateProperty(const char *name)CDeviceBase< MM::State, U >inline
    UpdateStatus()CDeviceBase< MM::State, U >inline
    UsesDelay()CDeviceBase< MM::State, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::State, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~State() (defined in MM::State)MM::Stateinlinevirtual
    diff --git a/class_c_state_device_base.html b/class_c_state_device_base.html index 2748782..83d64d9 100644 --- a/class_c_state_device_base.html +++ b/class_c_state_device_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CStateDeviceBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CStateDeviceBase< U > Class Template Reference
    +
    CStateDeviceBase< U > Class Template Reference
    @@ -61,273 +60,294 @@

    - - - -

    +

    Public Types

    +
    typedef CStateDeviceBase< U > CStateBase
     
    - Public Types inherited from CDeviceBase< MM::State, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + -

    +

    Public Member Functions

    virtual int SetPosition (long pos)
    virtual int SetPosition (long pos)
     
    virtual int SetPosition (const char *label)
    virtual int SetPosition (const char *label)
     
    virtual int SetGateOpen (bool open)
    virtual int SetGateOpen (bool open)
     
    -virtual int GetGateOpen (bool &open)
    virtual int GetGateOpen (bool &open)
     
    virtual int GetPosition (long &pos) const
    virtual int GetPosition (long &pos) const
     
    virtual int GetPosition (char *label) const
    virtual int GetPosition (char *label) const
     
    virtual int GetPositionLabel (long pos, char *label) const
    virtual int GetPositionLabel (long pos, char *label) const
     
    virtual int SetPositionLabel (long pos, const char *label)
    virtual int SetPositionLabel (long pos, const char *label)
     
    virtual int GetLabelPosition (const char *label, long &pos) const
    virtual int GetLabelPosition (const char *label, long &pos) const
     
    int OnLabel (MM::PropertyBase *pProp, MM::ActionType eAct)
    int OnLabel (MM::PropertyBase *pProp, MM::ActionType eAct)
     
    int OnStateChanged (long position)
    int OnStateChanged (long position)
     
    - Public Member Functions inherited from CDeviceBase< MM::State, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::State
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual unsigned long GetNumberOfPositions () const =0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Additional Inherited Members

    - Static Public Attributes inherited from MM::State
    +
    static const DeviceType Type = StateDevice
     
    - Protected Member Functions inherited from CDeviceBase< MM::State, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     

    Detailed Description

    -

    template<class U>
    -class CStateDeviceBase< U >

    - -

    Base class for creating state device adapters such as filter wheels, objective, turrets, etc.

    +
    template<class U>
    +class CStateDeviceBase< U >

    Base class for creating state device adapters such as filter wheels, objective, turrets, etc.

    Member Function Documentation

    - -

    ◆ GetLabelPosition()

    + +

    ◆ GetGateOpen()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + + +
    virtual int CStateDeviceBase< U >::GetGateOpen (bool & open)
    +
    +inlinevirtual
    +
    + +

    Implements MM::State.

    + +
    +
    + +

    ◆ GetLabelPosition()

    @@ -369,8 +389,8 @@

    -

    ◆ GetPosition() [1/2]

    + +

    ◆ GetPosition() [1/2]

    @@ -402,8 +422,8 @@

    -

    ◆ GetPosition() [2/2]

    + +

    ◆ GetPosition() [2/2]

    @@ -437,8 +457,8 @@

    -

    ◆ GetPositionLabel()

    + +

    ◆ GetPositionLabel()

    @@ -482,8 +502,8 @@

    -

    ◆ OnLabel()

    + +

    ◆ OnLabel()

    @@ -523,8 +543,8 @@

    -

    ◆ OnStateChanged()

    + +

    ◆ OnStateChanged()

    @@ -554,8 +574,8 @@

    -

    ◆ SetGateOpen()

    + +

    ◆ SetGateOpen()

    @@ -587,8 +607,8 @@

    -

    ◆ SetPosition() [1/2]

    + +

    ◆ SetPosition() [1/2]

    @@ -620,8 +640,8 @@

    -

    ◆ SetPosition() [2/2]

    + +

    ◆ SetPosition() [2/2]

    @@ -655,8 +675,8 @@

    -

    ◆ SetPositionLabel()

    + +

    ◆ SetPositionLabel()

    @@ -704,7 +724,7 @@

    diff --git a/class_c_state_device_base.png b/class_c_state_device_base.png index ca6d70a799fdac87b4a1f698031d56b2539b8f5c..083272ec97443482b59ceb5116b272259b2d00cf 100644 GIT binary patch literal 1201 zcmeAS@N?(olHy`uVBq!ia0vp^yMXur2Q!dt$?Qx4QqloFA+G=b{|7Q(y!l$%e`vXd zfo6fk^fNCG95?_J51w>+1yGK&B*-tA0mugfbEer>7#LV=JY5_^Dj46+E!@0HLBPG= zK5f?DfAfD#U8I+FH}BfLip{?6931_poBjuRY1TSTTq5UL>e;1sRaJ9V@vFm8yRz2a zv722h24g)0brY3e#UYMUU}^jCh0H%kaNN zFR$&5|GK(z{X5y!&pDX|{8ur%On$|1afy|K$x1!}UwqsG2hF8lI9(@Iserr+GW^~` zyERK!pWFI+dG3TIaKl~niS{X8T4<*M1$_xAhd zT4lsveJ=Rj%`0o4fB)=bceuiBcRWA+>TSv6(q50bd)schuF8!4UAHvu|CXI|g1(DTGE`L`CnDZTpZ#_!!*CAS2Y`+tot-Oi(Tefqi7nKfK8E4O!VI`?PtuGzmP z{@T=DGiQ3)e1q<{SFY>)SYuN^`^vY#S?PD*{f|9#<(~YacZZ)X-gh(U_kR=V_v?1e zPTs!bynAi^A(QHlKI`)T|7`iSzUc3RnD|q7BQNzx2R}K;S-j$2il=Q|-sK&_X|)F) zi=PnR?^|D$UbFsJfBtU$zFjJ|O0YPkW`a3jz~emMV8+a^9;;^0be;SvE$yOB$o|~q z@O8?uxpK*A?{;VJGCp@^P2#TkGjI0W1kGQbd1~#i$=j>G?>PR-+kI_M;_aBM`w`J~ z*O$jkKclU?Hv2yN)z`IROMP>1ZxpV1#+ut>t-ToGK*)EM!pSk$|o?X#w(_jC~ zFI9c#`gh`=$*=6VSKSQCzT5U~;jF^fET&?Q``z-V8+?B{|J>KyHL(G+ZTAG<&;R+i z{+{gD#lp`luHXGlk=Ar*{o=RTbDNI`(jT0V5&f93gV z4s8wVvP;6&rJd%}5x6AD_G$W*pjpC`RL**=@SbG8P|x$;oZ$FxmqLo4epC0T`HBruO>b51v#pC_3|l~rZCj>aUYm-W_8_8pVxNl ze_gE!``&r=aSP)I^(%~fI7=Dwon#Np4q*SFhL0;TA;_!PY0?r&&Qi}$YFAWG&Mse} zU!A#XY1!Xwpz~$-xYlmoDY`7n<*fDDW&4ip+wE~l^4?^FXs{=_GGo6gy%12r`SnA*Fr7dc{SK8(~H6GIBSC6v(Wu9%Sz{m|IM;n{rkwP!b1!{ zgkLe-Yq4rDU&!~scLj3=UM`P^=2A;V&r3b9pz95cUsu0#$J9x0)@ScB_M0SiYDRYE zs`m7I^*(u0Ti(A)J+gP=q*?bbKi+1z{ZI(|`I^YRbMyAT6Fj;3xxs7?)3w$2*I)VU z+kRTJ^tDaii{Ia`uJ4a8dVDK;)z7WJmv5CU2{6z98eO`XN9}rcdaT-PCgrbXf!}7< z2bl-k2d%F@act+d+bt`%MaOS`;JWkAtSj3BwKmIrub*zP^LzV>+Z%4Kklz+j@4xxu zyH&F-cO9*@d-a#|@|&Z^JL~p*=KLD}^w)!!^{M64OdekosVq3eb9J`P$>Zm9rHT)| z(YN^5Q1kKnm*x4#zOVZKW9#onE4(i$!-6#}?<+7p3pJcCWSlX%@~Zyy%)8G+_s=^2 z%5G!T90P`b#0DoQu$iZ&Mm}p{O>l#ztY-^6yG+=+ zZ?ntw`LnOcFTWA|s&bOh-{)7)8qJ8=zWwRc9pYczKl!h^t#cx6>$P3E!cwKidGi&H zC;gsdZYagZyWsK582e+lShn6gJhy89)8EziWWQeIG(K0l+1@?!?fln&cg{OMHMiG0 z`sBl?vUE@5yx9-laR$%l{4nGH*KDp2dy)KK{Ckhi=}l)&*l(#W*!wYYlNhidVeoYI Kb6Mw<&;$U=UQvnw diff --git a/class_c_x_y_stage_base-members.html b/class_c_x_y_stage_base-members.html index a886a4b..e29f00e 100644 --- a/class_c_x_y_stage_base-members.html +++ b/class_c_x_y_stage_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,159 +26,143 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    CXYStageBase< U > Member List
    +
    CXYStageBase< U > Member List

    This is the complete list of members for CXYStageBase< U >, including all inherited members.

    - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + - + - - - + + + - + - + - + - + - - - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - + - + - + - + - + - + - + - - - - - - - - - + + + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::XYStage, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::XYStage, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::XYStage, U >inline
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::XYStage, U >inlinevirtual
    AddToXYStageSequence(double, double)CXYStageBase< U >inlinevirtual
    AddToXYStageSequence(double, double)CXYStageBase< U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::XYStage, U >inline
    AssignToHub()CDeviceBase< MM::XYStage, U >inlineprotected
    AssignToHub()CDeviceBase< MM::XYStage, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::XYStage, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    ClearXYStageSequence()CXYStageBase< U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateHubIDProperty()CDeviceBase< MM::XYStage, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CXYStageBase() (defined in CXYStageBase< U >)CXYStageBase< U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlinevirtual
    Device() (defined in MM::Device)MM::Deviceinline
    ClearAllowedValues(const char *name)CDeviceBase< MM::XYStage, U >inline
    ClearPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    ClearXYStageSequence()CXYStageBase< U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateHubIDProperty()CDeviceBase< MM::XYStage, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::XYStage, U >inline
    CXYStageBase() (defined in CXYStageBase< U >)CXYStageBase< U >inline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::XYStage, U >inlineprotected
    GetCachedXUm()CXYStageBase< U >inlineprotected
    GetCachedXUm()CXYStageBase< U >inlineprotected
    GetCachedYUm() (defined in CXYStageBase< U >)CXYStageBase< U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::XYStage, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::XYStage, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::XYStage, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::XYStage, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::XYStage, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::XYStage, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::XYStage, U >inline
    GetDelayMs() constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetDelayMs() constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::XYStage, U >inlineprotected
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::XYStage, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetLimitsUm(double &xMin, double &xMax, double &yMin, double &yMax)=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::XYStage, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::XYStage, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::XYStage, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::XYStage, U >inlineprotected
    GetPositionSteps(long &x, long &y)=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetPositionUm(double &x, double &y) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    GetPositionUm(double &x, double &y) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::XYStage, U >inline
    GetProperty(const char *name, double &val)CDeviceBase< MM::XYStage, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::XYStage, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::XYStage, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::XYStage, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::XYStage, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::XYStage, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::XYStage, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::XYStage, U >inlineprotected
    GetStepLimits(long &xMin, long &xMax, long &yMin, long &yMax)=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetStepSizeXUm()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetStepSizeXUm()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetStepSizeYUm()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    GetType() const (defined in MM::XYStage)MM::XYStageinlinevirtual
    GetType() const (defined in MM::XYStage)MM::XYStageinlinevirtual
    GetXYStageSequenceMaxLength(long &) const (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlinevirtual
    Home()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::XYStage, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::XYStage, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::XYStage, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::XYStage, U >inlinevirtual
    IsXYStageSequenceable(bool &isSequenceable) const =0MM::XYStagepure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    Move(double, double) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::XYStage, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::XYStage, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::XYStage, U >inlineprotected
    HasProperty(const char *name) constCDeviceBase< MM::XYStage, U >inlinevirtual
    Home()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::XYStage, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::XYStage, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::XYStage, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::XYStage, U >inlinevirtual
    IsXYStageSequenceable(bool &isSequenceable) const =0MM::XYStagepure virtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::XYStage, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    Move(double, double) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    OnPropertiesChanged()CDeviceBase< MM::XYStage, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::XYStage, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::XYStage, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::XYStage, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    SendPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::XYStage, U >inlineprotected
    SendXYStageSequence()CXYStageBase< U >inlinevirtual
    SendXYStageSequence()CXYStageBase< U >inlinevirtual
    SetAdapterOriginUm(double newXUm, double newYUm)CXYStageBase< U >inlinevirtual
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::XYStage, U >inline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::XYStage, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::XYStage, U >inlineprotected
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::XYStage, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotected
    SetOrigin()=0MM::XYStagepure virtual
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetOrigin()=0MM::XYStagepure virtual
    SetPositionSteps(long x, long y)=0 (defined in MM::XYStage)MM::XYStagepure virtual
    SetPositionUm(double x, double y) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    SetPositionUm(double x, double y) (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::XYStage, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::XYStage, U >inline
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::XYStage, U >inline
    SetRelativePositionSteps(long x, long y)CXYStageBase< U >inlinevirtual
    SetRelativePositionUm(double dx, double dy)CXYStageBase< U >inlinevirtual
    SetRelativePositionUm(double dx, double dy)CXYStageBase< U >inlinevirtual
    SetXOrigin()CXYStageBase< U >inlinevirtual
    SetYOrigin()CXYStageBase< U >inlinevirtual
    SetYOrigin()CXYStageBase< U >inlinevirtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    StartPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    StartXYStageSequence() (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    Stop()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    Stop()=0 (defined in MM::XYStage)MM::XYStagepure virtual
    StopPropertySequence(const char *name)CDeviceBase< MM::XYStage, U >inlinevirtual
    StopXYStageSequence() (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlinevirtual
    Type (defined in MM::XYStage)MM::XYStagestatic
    UpdateProperty(const char *name)CDeviceBase< MM::XYStage, U >inline
    UpdateStatus()CDeviceBase< MM::XYStage, U >inline
    UsesDelay()CDeviceBase< MM::XYStage, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::XYStage, U >inlineprotected
    XYStage() (defined in MM::XYStage)MM::XYStageinline
    ~CDeviceBase() (defined in CDeviceBase< MM::XYStage, U >)CDeviceBase< MM::XYStage, U >inlineprotectedvirtual
    StopXYStageSequence() (defined in CXYStageBase< U >)CXYStageBase< U >inlinevirtual
    Type (defined in MM::XYStage)MM::XYStagestatic
    UpdateProperty(const char *name)CDeviceBase< MM::XYStage, U >inline
    UpdateStatus()CDeviceBase< MM::XYStage, U >inline
    UsesDelay()CDeviceBase< MM::XYStage, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::XYStage, U >inlineprotected
    XYStage() (defined in MM::XYStage)MM::XYStageinline
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~XYStage() (defined in MM::XYStage)MM::XYStageinlinevirtual
    ~XYStage() (defined in MM::XYStage)MM::XYStageinlinevirtual
    diff --git a/class_c_x_y_stage_base.html b/class_c_x_y_stage_base.html index 6033d44..f777650 100644 --- a/class_c_x_y_stage_base.html +++ b/class_c_x_y_stage_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: CXYStageBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    CXYStageBase< U > Class Template Reference
    +
    CXYStageBase< U > Class Template Reference

    @@ -61,311 +60,297 @@
    - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + - - - - + - - - - - + -

    +

    Public Member Functions

    -virtual int SetPositionUm (double x, double y)
    virtual int SetPositionUm (double x, double y)
     
    virtual int SetRelativePositionUm (double dx, double dy)
    virtual int SetRelativePositionUm (double dx, double dy)
     
    virtual int SetAdapterOriginUm (double newXUm, double newYUm)
    virtual int SetAdapterOriginUm (double newXUm, double newYUm)
     
    -virtual int GetPositionUm (double &x, double &y)
    virtual int GetPositionUm (double &x, double &y)
     
    virtual int SetRelativePositionSteps (long x, long y)
    virtual int SetRelativePositionSteps (long x, long y)
     
    -virtual int Move (double, double)
    virtual int Move (double, double)
     
    virtual int SetXOrigin ()
    virtual int SetXOrigin ()
     
    virtual int SetYOrigin ()
    virtual int SetYOrigin ()
     
    -virtual int GetXYStageSequenceMaxLength (long &) const
    virtual int GetXYStageSequenceMaxLength (long &) const
     
    -virtual int StartXYStageSequence ()
    virtual int StartXYStageSequence ()
     
    -virtual int StopXYStageSequence ()
    virtual int StopXYStageSequence ()
     
    virtual int ClearXYStageSequence ()
    virtual int ClearXYStageSequence ()
     
    virtual int AddToXYStageSequence (double, double)
    virtual int AddToXYStageSequence (double, double)
     
    virtual int SendXYStageSequence ()
    virtual int SendXYStageSequence ()
     
    - Public Member Functions inherited from CDeviceBase< MM::XYStage, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::XYStage
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int GetLimitsUm (double &xMin, double &xMax, double &yMin, double &yMax)=0
     
    +
    virtual int SetPositionSteps (long x, long y)=0
     
    +
    virtual int GetPositionSteps (long &x, long &y)=0
     
    +
    virtual int Home ()=0
     
    +
    virtual int Stop ()=0
     
    virtual int SetOrigin ()=0
    virtual int SetOrigin ()=0
     
    +
    virtual int GetStepLimits (long &xMin, long &xMax, long &yMin, long &yMax)=0
     
    +
    virtual double GetStepSizeXUm ()=0
     
    +
    virtual double GetStepSizeYUm ()=0
     
    virtual int IsXYStageSequenceable (bool &isSequenceable) const =0
    virtual int IsXYStageSequenceable (bool &isSequenceable) const =0
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - - + - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Protected Member Functions

    double GetCachedXUm ()
    double GetCachedXUm ()
     
    +
    double GetCachedYUm ()
     
    - Protected Member Functions inherited from CDeviceBase< MM::XYStage, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    - - - -

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::XYStage, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Static Public Attributes inherited from MM::XYStage
    +
    static const DeviceType Type = XYStageDevice
     

    Detailed Description

    -

    template<class U>
    -class CXYStageBase< U >

    - -

    Base class for creating dual axis stage adapters. This class has a functional constructor - must be invoked from the derived class.

    +
    template<class U>
    +class CXYStageBase< U >

    Base class for creating dual axis stage adapters. This class has a functional constructor - must be invoked from the derived class.

    Member Function Documentation

    - -

    ◆ AddToXYStageSequence()

    + +

    ◆ AddToXYStageSequence()

    @@ -405,8 +390,8 @@

    -

    ◆ ClearXYStageSequence()

    + +

    ◆ ClearXYStageSequence()

    @@ -435,8 +420,8 @@

    -

    ◆ GetCachedXUm()

    + +

    ◆ GetCachedXUm()

    @@ -463,8 +448,118 @@

    -

    ◆ SendXYStageSequence()

    + +

    ◆ GetPositionUm()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual int CXYStageBase< U >::GetPositionUm (double & x,
    double & y 
    )
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    + +
    +
    + +

    ◆ GetXYStageSequenceMaxLength()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + + +
    virtual int CXYStageBase< U >::GetXYStageSequenceMaxLength (long & ) const
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    + +
    +
    + +

    ◆ Move()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual int CXYStageBase< U >::Move (double ,
    double  
    )
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    + +
    +
    + +

    ◆ SendXYStageSequence()

    @@ -493,8 +588,8 @@

    -

    ◆ SetAdapterOriginUm()

    + +

    ◆ SetAdapterOriginUm()

    @@ -541,8 +636,48 @@

    -

    ◆ SetRelativePositionSteps()

    + +

    ◆ SetPositionUm()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual int CXYStageBase< U >::SetPositionUm (double x,
    double y 
    )
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    + +
    +
    + +

    ◆ SetRelativePositionSteps()

    @@ -584,8 +719,8 @@

    -

    ◆ SetRelativePositionUm()

    + +

    ◆ SetRelativePositionUm()

    @@ -627,8 +762,8 @@

    -

    ◆ SetXOrigin()

    + +

    ◆ SetXOrigin()

    @@ -657,8 +792,8 @@

    -

    ◆ SetYOrigin()

    + +

    ◆ SetYOrigin()

    @@ -685,6 +820,64 @@

    MM::XYStage.

    +

    +
    + +

    ◆ StartXYStageSequence()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + +
    virtual int CXYStageBase< U >::StartXYStageSequence ()
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    + +
    +
    + +

    ◆ StopXYStageSequence()

    + +
    +
    +
    +template<class U >
    + + + + + +
    + + + + + + + +
    virtual int CXYStageBase< U >::StopXYStageSequence ()
    +
    +inlinevirtual
    +
    + +

    Implements MM::XYStage.

    +

    The documentation for this class was generated from the following file:
      @@ -693,7 +886,7 @@

      diff --git a/class_c_x_y_stage_base.png b/class_c_x_y_stage_base.png index 1fe2ff83de98a2b9e57bf7e7cd97ecb7984d0b66..eed69d35bf2f09c2b5ff9f87e51f7d8dd7aa6193 100644 GIT binary patch delta 1184 zcmey#Ig4w8O1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(jLvfHtbCf_F=<`l{0m$5ZY+%5 z{<%LVep1vv^)I{pC(c^Q?5*r6zSHpOvfO=UuXdTTi?iO}!aS*DDnECwQi(>0vzll4 z&dnMohJ{BDa-O}K7#P>ux4KPb?$gswvkQK4cwXYY6Sd7;Jt_X_wTn;1e(}h1p1nRR zF#Gnjy&a)`lawYHfZQT7X~~Ht6I5K6xi1XzddbnS{sY5{&U-C#{pWhBgsXmiNxd>R zAk4Di#u5RCl*xfin)Ma!Ky{p5Dqo$sJcCj|ekyLi5D)fv=E9B?Z*LA7fJ+ABY zIqi7v^>xOpe#f7gvs>lviR&$9X~}b*-Om0cW97N)n60LH?w7AOW6K2#Z$A5bec?~% zJCobz3tL$vWuJFHRoyE1$uM%)+Pq-RSO1nDna%zzOVRWF=fZ_%67laG-Z~ZgPu;OP zC;!s3H33_UOH`h`aw?9mZ-1s`{<39N5io#m*G*O8xH~y}qEd&t0uBe?HR; z@zRuK{2(gFV0&@)g~u0X2If2Y&)?UxOZb!)yTI(p_n9Rp7cjC+zRN67|31J=)7Ej~ zk~$AX&n_R3f9G8I@MreyjZ>ejzk7lIv&zcEnV)lFua{p_KmEEtPJQLhIAOlD(1oeT z{Ebyjudjc8cDC&Fb+Ow$?(VPtUApjZxU_v(ZMsf@dH2oR^=?zc?}mH(BkOlW{&YC8bDn6CVsZKkTh`kOGMut98`H|a#=bSH z>$>pkkUi(x=a-MC$bQ${Zsl`+){_XAX{&7&&Lw}2pVrF1?|$N`v;O~u6#sYDwwSr5 z{I8#t{AqK5bWhpUW*&Rtg|$<&`QA)5-r_xbvs3=uh0XUDZoPYTbJ{)alm7yq^0oe1 z8TzGs{(;iO|DVp5shUm~p0s4amgnA+>Qwe!uya>^>He>gLw5Nz71@vZOXjHjokU&; z8}J;yAk34N_IH9)TG~WUMdQsU=7>pgpS^w21b&{Kx4*6a_763u^r`FIGmKxna?XAfoL4$y zp6Tp+OYc}NeVu-y{*Bqhnssl3)~!|eAKlXT`oMXohvzT+D_^lP-&1*1dP*QUsz)6b zTw{zE$;w|!DWxYUlGG0=BuSA;AxVnNZ9+r6nN|0K!N=zo%=YuqO^FK@hXl5~|ji-L=Z zDGo+xsSd01Ce*GPl600Y3+=*bBP2;TaBJD#?TBNQ+j`ei=snaDT8=HFwyQ6D5v!ae zMIePFDKaS}Nhy&@AxVl%k3yxC(h&e(;Q`PSy$L-Yof-8e^z`Y=s5_yoasaVOA%Mt} zP5~)@@D8Pv(i0R(>W37Pq{yU@Bt_;9p`l()(>As{<9T@g*&&j2AGZiCiyfC;o5rZF ze>F4il5`_q6WW=LaavB(@FjGTbd7sbZeHm0*-dj5G1+GQx31+w+>?i&6KZU+tz{!+ zy}}6Dn5<2&>ncTE|D1SB$5JgM>3u#feHq;?B_f(0y%Jwd8&I(1_LoFdw7u71VxhiA%!Fo;$|E_D2A<^z9P ze>bt4xglg+&kC84nLXrp!9EBrp~e<-tE=zw%Xk%`?S(%HZTr*4Wb3ynw>ixBTym@; z>)|(u@z_1GPTcr@&6Hd2{zruDC$~TLRJo>*-IZJRY!kRnY+t@xt|WIDAxR2~-(QmSlK4W$9F?S( z{DBCyQ%jOs{Ed{8q+gOkk`$Q~lBCEyg-R)C=}{cS2d^ z0AiCu0Fg-{fXI_h0VRLn9fn~TdV&Fg??A44&G$E*%*lBG+x%wxxw4b`cD9%?a8`W7p(a**&QRe z+;lNsr*=ZWN>ZR6?+ewJ`q!_Kawc=s?4teGFbm&B=&aK92f4%1Qy%TB+`5PA&1RKb=K*+w z(?S3z`0VTeJ3c97vJ&7sd^AFratGiIKAmy^UnPYAB9lS@k$DOY!!UHjKkJKqMcT&~ R2mk;807*qoM6LruV1lRzElL0Y diff --git a/class_debayer-members.html b/class_debayer-members.html index 75c0622..302fb88 100644 --- a/class_debayer-members.html +++ b/class_debayer-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
      - - + @@ -27,38 +26,38 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ +

    -
    -
    Debayer Member List
    +
    Debayer Member List

    This is the complete list of members for Debayer, including all inherited members.

    - + - + - + - +
    Debayer() (defined in Debayer)Debayer
    GetAlgorithms() const (defined in Debayer)Debayerinline
    GetAlgorithms() const (defined in Debayer)Debayerinline
    GetOrders() const (defined in Debayer)Debayerinline
    Process(ImgBuffer &out, const ImgBuffer &in, int bitDepth) (defined in Debayer)Debayer
    Process(ImgBuffer &out, const ImgBuffer &in, int bitDepth) (defined in Debayer)Debayer
    Process(ImgBuffer &out, const unsigned char *in, int width, int height, int bitDepth) (defined in Debayer)Debayer
    Process(ImgBuffer &out, const unsigned short *in, int width, int height, int bitDepth) (defined in Debayer)Debayer
    Process(ImgBuffer &out, const unsigned short *in, int width, int height, int bitDepth) (defined in Debayer)Debayer
    SetAlgorithmIndex(int idx) (defined in Debayer)Debayerinline
    SetOrderIndex(int idx) (defined in Debayer)Debayerinline
    SetOrderIndex(int idx) (defined in Debayer)Debayerinline
    ~Debayer() (defined in Debayer)Debayer
    diff --git a/class_debayer.html b/class_debayer.html index 000912e..5f10dc2 100644 --- a/class_debayer.html +++ b/class_debayer.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Debayer Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,49 +26,49 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    Debayer Class Reference
    +
    Debayer Class Reference

    #include <Debayer.h>

    - - - - - - - + - - + -

    +

    Public Member Functions

    +
    int Process (ImgBuffer &out, const ImgBuffer &in, int bitDepth)
     
    +
    int Process (ImgBuffer &out, const unsigned char *in, int width, int height, int bitDepth)
     
    +
    int Process (ImgBuffer &out, const unsigned short *in, int width, int height, int bitDepth)
     
    +
    const std::vector< std::string > GetOrders () const
     
    +
     
    const std::vector< std::string > GetAlgorithms () const
     
    +
     
    void SetOrderIndex (int idx)
     
    +
    void SetAlgorithmIndex (int idx)
     
    @@ -77,12 +76,12 @@

    Utility class to build color image from the Bayer grayscale image Based on the Debayer_Image plugin for ImageJ, by Jennifer West, University of Manitoba


    The documentation for this class was generated from the following files:
    diff --git a/class_hub_base-members.html b/class_hub_base-members.html index 02e8b10..6442ffb 100644 --- a/class_hub_base-members.html +++ b/class_hub_base-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,139 +26,123 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    HubBase< U > Member List
    +
    HubBase< U > Member List

    This is the complete list of members for HubBase< U >, including all inherited members.

    - + - + - + - - - - - - - - - - - - - + + + + + + + + + - + - - - + + + - + - + - + - + - - - - - - - - - + + + + + + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - + - + - - - - - - - - - + + + + + + + - +
    AddAllowedValue(const char *name, const char *value)CDeviceBase< MM::Hub, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Hub, U >inline
    AddAllowedValue(const char *name, const char *value, long data)CDeviceBase< MM::Hub, U >inline
    AddInstalledDevice(MM::Device *pdev) (defined in HubBase< U >)HubBase< U >inlineprotected
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Hub, U >inlinevirtual
    AddToPropertySequence(const char *name, const char *value)CDeviceBase< MM::Hub, U >inlinevirtual
    ApplyProperty(const char *name)CDeviceBase< MM::Hub, U >inline
    AssignToHub()CDeviceBase< MM::Hub, U >inlineprotected
    AssignToHub()CDeviceBase< MM::Hub, U >inlineprotected
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    CDeviceBase() (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    ClearAllowedValues(const char *name)CDeviceBase< MM::Hub, U >inline
    ClearInstalledDevices()HubBase< U >inlinevirtual
    ClearPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    CPropertyAction typedef (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >
    CPropertyActionEx typedef (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Hub, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    DetectDevice(void) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlinevirtual
    ClearAllowedValues(const char *name)CDeviceBase< MM::Hub, U >inline
    ClearInstalledDevices()HubBase< U >inlinevirtual
    ClearPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    CreateFloatProperty(const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateHubIDProperty()CDeviceBase< MM::Hub, U >inlineprotected
    CreateIntegerProperty(const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateProperty(const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreatePropertyWithHandler(const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    CreateStringProperty(const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)CDeviceBase< MM::Hub, U >inline
    DetectInstalledDevices()HubBase< U >inlinevirtual
    Device() (defined in MM::Device)MM::Deviceinline
    Device() (defined in MM::Device)MM::Deviceinline
    EnableDelay(bool state=true)CDeviceBase< MM::Hub, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Hub, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Hub, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Hub, U >inlineprotected
    GetClockTicksUs()CDeviceBase< MM::Hub, U >inlineprotected
    GetCoreCallback() constCDeviceBase< MM::Hub, U >inlineprotected
    GetCurrentMMTime()CDeviceBase< MM::Hub, U >inlineprotected
    GetCurrentPropertyData(const char *name, long &data)CDeviceBase< MM::Hub, U >inline
    GetDelayMs() constCDeviceBase< MM::Hub, U >inlinevirtual
    GetDelayMs() constCDeviceBase< MM::Hub, U >inlinevirtual
    GetDescription(char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Hub, U >inlineprotected
    GetDevice(const char *deviceLabel) constCDeviceBase< MM::Hub, U >inlineprotected
    GetErrorText(int errorCode, char *text) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetInstalledDevice(int devIdx)HubBase< U >inlinevirtual
    GetInstalledDevice(int devIdx)HubBase< U >inlinevirtual
    GetLabel(char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Hub, U >inlineprotected
    GetLoadedDeviceOfType(MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)CDeviceBase< MM::Hub, U >inlineprotected
    GetModuleHandle() constCDeviceBase< MM::Hub, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetMorePropertyErrorInfo(void) const (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfInstalledDevices()HubBase< U >inlinevirtual
    GetNumberOfProperties() constCDeviceBase< MM::Hub, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Hub, U >inlineprotected
    GetParentID(char *parentID) const (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlinevirtual
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetModuleName(char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfInstalledDevices()HubBase< U >inlinevirtual
    GetNumberOfProperties() constCDeviceBase< MM::Hub, U >inlinevirtual
    GetNumberOfPropertyValues(const char *propertyName) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetParentHub() constCDeviceBase< MM::Hub, U >inlineprotected
    GetProperty(const char *name, char *value) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetProperty(const char *name, double &val)CDeviceBase< MM::Hub, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Hub, U >inline
    GetProperty(const char *name, long &val)CDeviceBase< MM::Hub, U >inline
    GetPropertyData(const char *name, const char *value, long &data)CDeviceBase< MM::Hub, U >inline
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyInitStatus(const char *name, bool &preInit) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyName(unsigned uIdx, char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyReadOnly(const char *name, bool &readOnly) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertySequenceMaxLength(const char *name, long &nrEvents) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyType(const char *name, MM::PropertyType &pt) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) constCDeviceBase< MM::Hub, U >inlinevirtual
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Hub, U >inlineprotected
    GetSerialAnswer(const char *portName, const char *term, std::string &ans)CDeviceBase< MM::Hub, U >inlineprotected
    GetSerialPortType(const char *portLabel)CDeviceBase< MM::Hub, U >inlineprotected
    GetType() const (defined in MM::Hub)MM::Hubinlinevirtual
    GetType() const (defined in MM::Hub)MM::Hubinlinevirtual
    HasProperty(const char *name) constCDeviceBase< MM::Hub, U >inlinevirtual
    HasPropertyLimits(const char *name, bool &hasLimits) const (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlinevirtual
    Hub() (defined in MM::Hub)MM::Hubinline
    HubBase() (defined in HubBase< U >)HubBase< U >inline
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Hub, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Hub, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Hub, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Hub, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnExposureChanged(double exposure) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    OnMagnifierChanged() (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    OnPropertiesChanged()CDeviceBase< MM::Hub, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Hub, U >inlineprotected
    OnSLMExposureChanged(double exposure) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    OnStagePositionChanged(double pos) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    OnXYStagePositionChanged(double xPos, double yPos) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Hub, U >inlineprotected
    Hub() (defined in MM::Hub)MM::Hubinline
    HubBase() (defined in HubBase< U >)HubBase< U >inline
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    InitializeDefaultErrorMessages()CDeviceBase< MM::Hub, U >inlineprotected
    IsCallbackRegistered() constCDeviceBase< MM::Hub, U >inlineprotected
    IsPropertyEqualTo(const char *name, const char *val) constCDeviceBase< MM::Hub, U >inline
    IsPropertySequenceable(const char *name, bool &sequenceable) constCDeviceBase< MM::Hub, U >inlinevirtual
    LogMessage(const char *msg, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogMessage(const std::string &msg, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogMessageCode(const int errorCode, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    LogTimeDiff(MM::MMTime start, MM::MMTime end, bool debugOnly=false) constCDeviceBase< MM::Hub, U >inlineprotected
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    OnPropertiesChanged()CDeviceBase< MM::Hub, U >inlineprotected
    OnPropertyChanged(const char *propName, const char *propValue)CDeviceBase< MM::Hub, U >inlineprotected
    PurgeComPort(const char *portLabel)CDeviceBase< MM::Hub, U >inlineprotected
    ReadFromComPort(const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)CDeviceBase< MM::Hub, U >inlineprotected
    SendPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    SendPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    SendSerialCommand(const char *portName, const char *command, const char *term)CDeviceBase< MM::Hub, U >inlineprotected
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Hub, U >inline
    SetAllowedValues(const char *name, std::vector< std::string > &values)CDeviceBase< MM::Hub, U >inline
    SetCallback(MM::Core *cbk)CDeviceBase< MM::Hub, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Hub, U >inlinevirtual
    SetDelayMs(double delay)CDeviceBase< MM::Hub, U >inlinevirtual
    SetDescription(const char *descr)CDeviceBase< MM::Hub, U >inlinevirtual
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Hub, U >inlineprotected
    SetErrorText(int errorCode, const char *text)CDeviceBase< MM::Hub, U >inlineprotected
    SetLabel(const char *label)CDeviceBase< MM::Hub, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Hub, U >inlinevirtual
    SetModuleHandle(HDEVMODULE hModule)CDeviceBase< MM::Hub, U >inlinevirtual
    SetModuleName(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    SetMorePropertyErrorInfo(const char *ptext) const (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotected
    SetParentID(const char *parentId) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Hub, U >inlinevirtual
    SetProperty(const char *name, const char *value)CDeviceBase< MM::Hub, U >inlinevirtual
    SetPropertyLimits(const char *name, double low, double high)CDeviceBase< MM::Hub, U >inline
    Shutdown()=0MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    SupportsDeviceDetection(void) (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlinevirtual
    Type (defined in MM::Hub)MM::Hubstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Hub, U >inline
    UpdateStatus()CDeviceBase< MM::Hub, U >inline
    UsesDelay()CDeviceBase< MM::Hub, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Hub, U >inlineprotected
    ~CDeviceBase() (defined in CDeviceBase< MM::Hub, U >)CDeviceBase< MM::Hub, U >inlineprotectedvirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    StopPropertySequence(const char *name)CDeviceBase< MM::Hub, U >inlinevirtual
    Type (defined in MM::Hub)MM::Hubstatic
    UpdateProperty(const char *name)CDeviceBase< MM::Hub, U >inline
    UpdateStatus()CDeviceBase< MM::Hub, U >inline
    UsesDelay()CDeviceBase< MM::Hub, U >inlinevirtual
    WriteToComPort(const char *portLabel, const unsigned char *buf, unsigned bufLength)CDeviceBase< MM::Hub, U >inlineprotected
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Hub() (defined in MM::Hub)MM::Hubinlinevirtual
    ~HubBase() (defined in HubBase< U >)HubBase< U >inlinevirtual
    ~HubBase() (defined in HubBase< U >)HubBase< U >inlinevirtual
    diff --git a/class_hub_base.html b/class_hub_base.html index 793815f..dc0a31c 100644 --- a/class_hub_base.html +++ b/class_hub_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: HubBase< U > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    HubBase< U > Class Template Reference
    +
    HubBase< U > Class Template Reference

    @@ -61,255 +60,247 @@
    - - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + -

    +

    Public Member Functions

    virtual int DetectInstalledDevices ()
    virtual int DetectInstalledDevices ()
     
    virtual unsigned GetNumberOfInstalledDevices ()
    virtual unsigned GetNumberOfInstalledDevices ()
     
    virtual MM::DeviceGetInstalledDevice (int devIdx)
     
    virtual void ClearInstalledDevices ()
    virtual MM::DeviceGetInstalledDevice (int devIdx)
     
    virtual void ClearInstalledDevices ()
     
    - Public Member Functions inherited from CDeviceBase< MM::Hub, U >
    virtual HDEVMODULE GetModuleHandle () const
    virtual HDEVMODULE GetModuleHandle () const
     
    virtual void SetModuleName (const char *name)
    virtual void SetModuleName (const char *name)
     
    virtual void GetModuleName (char *name) const
    virtual void GetModuleName (char *name) const
     
    virtual void SetDescription (const char *descr)
    virtual void SetDescription (const char *descr)
     
    virtual void GetDescription (char *name) const
    virtual void GetDescription (char *name) const
     
    virtual void SetModuleHandle (HDEVMODULE hModule)
    virtual void SetModuleHandle (HDEVMODULE hModule)
     
    virtual void SetLabel (const char *label)
    virtual void SetLabel (const char *label)
     
    virtual void GetLabel (char *name) const
    virtual void GetLabel (char *name) const
     
    virtual double GetDelayMs () const
    virtual double GetDelayMs () const
     
    virtual void SetDelayMs (double delay)
    virtual void SetDelayMs (double delay)
     
    virtual void SetCallback (MM::Core *cbk)
    virtual void SetCallback (MM::Core *cbk)
     
    virtual bool UsesDelay ()
    virtual bool UsesDelay ()
     
    virtual unsigned GetNumberOfProperties () const
    virtual unsigned GetNumberOfProperties () const
     
    virtual int GetProperty (const char *name, char *value) const
    virtual int GetProperty (const char *name, char *value) const
     
    int GetProperty (const char *name, double &val)
    int GetProperty (const char *name, double &val)
     
    int GetProperty (const char *name, long &val)
    int GetProperty (const char *name, long &val)
     
    bool IsPropertyEqualTo (const char *name, const char *val) const
    bool IsPropertyEqualTo (const char *name, const char *val) const
     
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const
     
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const
     
    -virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const
     
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const
     
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const
     
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
    virtual int IsPropertySequenceable (const char *name, bool &sequenceable) const
     
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
    virtual int GetPropertySequenceMaxLength (const char *name, long &nrEvents) const
     
    virtual int StartPropertySequence (const char *name)
    virtual int StartPropertySequence (const char *name)
     
    virtual int StopPropertySequence (const char *name)
    virtual int StopPropertySequence (const char *name)
     
    virtual int ClearPropertySequence (const char *name)
    virtual int ClearPropertySequence (const char *name)
     
    virtual int AddToPropertySequence (const char *name, const char *value)
    virtual int AddToPropertySequence (const char *name, const char *value)
     
    virtual int SendPropertySequence (const char *name)
    virtual int SendPropertySequence (const char *name)
     
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
    virtual bool GetPropertyName (unsigned uIdx, char *name) const
     
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const
     
    virtual int SetProperty (const char *name, const char *value)
    virtual int SetProperty (const char *name, const char *value)
     
    virtual bool HasProperty (const char *name) const
    virtual bool HasProperty (const char *name) const
     
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const
     
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const
     
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateProperty (const char *name, const char *value, MM::PropertyType eType, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
    int CreatePropertyWithHandler (const char *name, const char *value, MM::PropertyType eType, bool readOnly, int(U::*memberFunction)(MM::PropertyBase *pProp, MM::ActionType eAct), bool isPreInitProperty=false)
     
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateIntegerProperty (const char *name, long value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateFloatProperty (const char *name, double value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
    int CreateStringProperty (const char *name, const char *value, bool readOnly, MM::ActionFunctor *pAct=0, bool isPreInitProperty=false)
     
    int SetPropertyLimits (const char *name, double low, double high)
    int SetPropertyLimits (const char *name, double low, double high)
     
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
    int SetAllowedValues (const char *name, std::vector< std::string > &values)
     
    int ClearAllowedValues (const char *name)
    int ClearAllowedValues (const char *name)
     
    int AddAllowedValue (const char *name, const char *value)
    int AddAllowedValue (const char *name, const char *value)
     
    int AddAllowedValue (const char *name, const char *value, long data)
    int AddAllowedValue (const char *name, const char *value, long data)
     
    int GetPropertyData (const char *name, const char *value, long &data)
    int GetPropertyData (const char *name, const char *value, long &data)
     
    int GetCurrentPropertyData (const char *name, long &data)
    int GetCurrentPropertyData (const char *name, long &data)
     
    int UpdateStatus ()
    int UpdateStatus ()
     
    int UpdateProperty (const char *name)
    int UpdateProperty (const char *name)
     
    int ApplyProperty (const char *name)
    int ApplyProperty (const char *name)
     
    virtual bool GetErrorText (int errorCode, char *text) const
    virtual bool GetErrorText (int errorCode, char *text) const
     
    -virtual bool SupportsDeviceDetection (void)
    virtual bool SupportsDeviceDetection (void)
     
    -virtual MM::DeviceDetectionStatus DetectDevice (void)
    virtual MM::DeviceDetectionStatus DetectDevice (void)
     
    -virtual void SetParentID (const char *parentId)
    virtual void SetParentID (const char *parentId)
     
    -virtual void GetParentID (char *parentID) const
    virtual void GetParentID (char *parentID) const
     
    - Public Member Functions inherited from MM::Hub
    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    - Public Member Functions inherited from MM::Device
    +
    virtual bool Busy ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    - - - + - - - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - - - - - - + - + - + - - - + + + - + - - - - + + + +

    +

    Protected Member Functions

    +
    void AddInstalledDevice (MM::Device *pdev)
     
    - Protected Member Functions inherited from CDeviceBase< MM::Hub, U >
    void SetErrorText (int errorCode, const char *text)
    void SetErrorText (int errorCode, const char *text)
     
    +
    const char * GetMorePropertyErrorInfo (void) const
     
    +
     
    void SetMorePropertyErrorInfo (const char *ptext) const
     
    int LogMessage (const char *msg, bool debugOnly=false) const
    int LogMessage (const char *msg, bool debugOnly=false) const
     
    int LogMessage (const std::string &msg, bool debugOnly=false) const
    int LogMessage (const std::string &msg, bool debugOnly=false) const
     
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
    int LogMessageCode (const int errorCode, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, const std::string &message, bool debugOnly=false) const
     
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
    int LogTimeDiff (MM::MMTime start, MM::MMTime end, bool debugOnly=false) const
     
    void InitializeDefaultErrorMessages ()
    void InitializeDefaultErrorMessages ()
     
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
    MM::DeviceGetDevice (const char *deviceLabel) const
     
    void GetLoadedDeviceOfType (MM::DeviceType devType, char *deviceName, const unsigned int deviceIterator)
     
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
    int WriteToComPort (const char *portLabel, const unsigned char *buf, unsigned bufLength)
     
    int SendSerialCommand (const char *portName, const char *command, const char *term)
    int SendSerialCommand (const char *portName, const char *command, const char *term)
     
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
    int GetSerialAnswer (const char *portName, const char *term, std::string &ans)
     
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
    int ReadFromComPort (const char *portLabel, unsigned char *buf, unsigned bufLength, unsigned long &read)
     
    int PurgeComPort (const char *portLabel)
    int PurgeComPort (const char *portLabel)
     
    MM::PortType GetSerialPortType (const char *portLabel)
    MM::PortType GetSerialPortType (const char *portLabel)
     
    int OnPropertiesChanged ()
    int OnPropertiesChanged ()
     
    int OnPropertyChanged (const char *propName, const char *propValue)
    int OnPropertyChanged (const char *propName, const char *propValue)
     
    +
    int OnStagePositionChanged (double pos)
     
    +
    int OnXYStagePositionChanged (double xPos, double yPos)
     
    +
    int OnExposureChanged (double exposure)
     
    +
    int OnSLMExposureChanged (double exposure)
     
    +
    int OnMagnifierChanged ()
     
    unsigned long GetClockTicksUs ()
    unsigned long GetClockTicksUs ()
     
    MM::MMTime GetCurrentMMTime ()
    MM::MMTime GetCurrentMMTime ()
     
    bool IsCallbackRegistered () const
    bool IsCallbackRegistered () const
     
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
    MM::CoreGetCoreCallback () const
     
    void EnableDelay (bool state=true)
     
    void CreateHubIDProperty ()
    void CreateHubIDProperty ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    MM::HubGetParentHub () const
     
    T_HUB * AssignToHub ()
     
    - - - -

    +

    Additional Inherited Members

    - Public Types inherited from CDeviceBase< MM::Hub, U >
    +
    typedef MM::Action< U > CPropertyAction
     
    +
    typedef MM::ActionEx< U > CPropertyActionEx
     
    - Static Public Attributes inherited from MM::Hub
    +
    static const DeviceType Type = HubDevice
     

    Detailed Description

    -

    template<class U>
    -class HubBase< U >

    - -

    Base class for creating special HUB devices for managing device libraries.

    +
    template<class U>
    +class HubBase< U >

    Base class for creating special HUB devices for managing device libraries.

    Member Function Documentation

    - -

    ◆ ClearInstalledDevices()

    + +

    ◆ ClearInstalledDevices()

    @@ -338,8 +329,8 @@

    -

    ◆ DetectInstalledDevices()

    + +

    ◆ DetectInstalledDevices()

    @@ -368,8 +359,8 @@

    -

    ◆ GetInstalledDevice()

    + +

    ◆ GetInstalledDevice()

    @@ -380,7 +371,7 @@

    - + @@ -395,12 +386,12 @@

    Returns a pointer to the device with index devIdx. 0 <= devIdx < GetNumberOfInstalledDevices(). (Don't override this method.)

    -

    Implements MM::Hub.

    +

    Implements MM::Hub.

    - -

    ◆ GetNumberOfInstalledDevices()

    + +

    ◆ GetNumberOfInstalledDevices()

    @@ -435,7 +426,7 @@

    diff --git a/class_hub_base.png b/class_hub_base.png index 1c28491c12647947933b9a3dbf21ad17d1816d88..70b75bcb7a45360b40f7893e5410483a95bfe83a 100644 GIT binary patch literal 1101 zcmeAS@N?(olHy`uVBq!ia0vp^TY>lh2Q!c?O}g|FNJ$6ygt-3y{~ySF@#br3|Doj; z2ATyD)6cv(aNqz?Jb2RO6+k)8k|4ie1|S~{%$a6iVPIgs;pyTSQo;Ck?(4qQ20U!- z`a++6+ke!YK7r*$o_BP9amo<^^E+zCJpWG$^1ACdX~{W`Y|l@MYgA9Ri?3#i;aHhiAP4aLlQM-zKJx? zZC8nX@b=p7nE6rDpLkzljho%;TednfGIIT8qyFs8cJtRw`obW;{a)=1tLu|Wdd0){ z#ZHyGK4Go7{J(wc&ab&%tKG0RSA42{w6n^~ez$xGU5&aPd1$V$WirhWdu+E0^`=C0pSzH~`i z{f}Ltxm6{c_fu*=EiwI`YLH#zU4J|JoNeyjy-W7~Z7N+`eXr1FKkxEA|I#M)`$l*z ztMUkSV}G6Ha6T&hv4B88|1Z@@q?mU!@C!ks${CKyu0*E?e4;|`PVkKF;oZ=5sa`vK5NHw_<}4? zTH0K}YiVh~2%9;RKYYz}>r=JaCjNQGo8xD!uhb2HzoqWNv-NA2C*(bo$v4YB^||nW zQ~t)dLphs!m;Tzwo0R`Iz<1_M)0j#%~Y*%T=(4R<>GbTNAKCyMLHM7o;NM5=RGN!l2$hHhr7A)XT>#V t&j1s%v9bK2TW8L+&;Dw_)W&txkgQu&X%Q~loCIDnb6q^75 literal 1079 zcmeAS@N?(olHy`uVBq!ia0vp^TY>lh2Q!c?O}g|FNJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?y~AMy*4GQSs>L+FRQ9x0kDc_z zWPOA_UvRS1;_~T>Rle@IT=g%mXx}BPEM?F0pMzR;^fvc$MxPAvzx_paQc2_OwdFhQ zw&tCjzJz;^ne^^Avm!IsT+fU=zBO{bf4Ju_*8J`F{u-KHpH$K-9=?k9+%`NUYqp9Im&wyf2OXdUCUOzrBgB(_H+s=$SAHoZn&t- z<8^z9!`m6xcD6B8OuWWmx5Tu8Ka=-?a}@KB3HZ2o1JOOp2lDKegWoQ@Oe&cgy(WC? z$z84gTfd5&@wHa>yuM?(lh{(%Rjq4NdbVmRd+s{+d(G?r2K7Gc?2qp{zs~phMkipX ztqbz)xw5i!?z;IoduR7fe(%0kanciSnB$jhRrx7!ZP%2bMT{TR+!_j6w#XgtxTUyO z{u1NX|??WVZ=w~1R{tec(vXtwE-D^=#w%XgoZx+JSns z=2xz5zOknFuHN - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@

    virtual MM::Device* HubBase< U >::GetInstalledDevice virtual MM::Device * HubBase< U >::GetInstalledDevice ( int  devIdx)
    - - + @@ -27,50 +26,50 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70

    - + +/* @license-end */ +
    -
    -
    ImgBuffer Member List
    +
    ImgBuffer Member List

    This is the complete list of members for ImgBuffer, including all inherited members.

    - + - + - + - + - + - + - + - + - + - +
    Compatible(const ImgBuffer &img) const (defined in ImgBuffer)ImgBuffer
    Copy(const ImgBuffer &rhs) (defined in ImgBuffer)ImgBuffer
    Copy(const ImgBuffer &rhs) (defined in ImgBuffer)ImgBuffer
    Depth() const (defined in ImgBuffer)ImgBufferinline
    GetMetadata() const (defined in ImgBuffer)ImgBufferinline
    GetMetadata() const (defined in ImgBuffer)ImgBufferinline
    GetName() (defined in ImgBuffer)ImgBufferinline
    GetPixels() const (defined in ImgBuffer)ImgBuffer
    GetPixels() const (defined in ImgBuffer)ImgBuffer
    GetPixelsRW() (defined in ImgBuffer)ImgBuffer
    Height() const (defined in ImgBuffer)ImgBufferinline
    Height() const (defined in ImgBuffer)ImgBufferinline
    ImgBuffer(unsigned xSize, unsigned ySize, unsigned pixDepth) (defined in ImgBuffer)ImgBuffer
    ImgBuffer(const ImgBuffer &ib) (defined in ImgBuffer)ImgBuffer
    ImgBuffer(const ImgBuffer &ib) (defined in ImgBuffer)ImgBuffer
    ImgBuffer() (defined in ImgBuffer)ImgBuffer
    operator=(const ImgBuffer &rhs) (defined in ImgBuffer)ImgBuffer
    operator=(const ImgBuffer &rhs) (defined in ImgBuffer)ImgBuffer
    ResetPixels() (defined in ImgBuffer)ImgBuffer
    Resize(unsigned xSize, unsigned ySize, unsigned pixDepth) (defined in ImgBuffer)ImgBuffer
    Resize(unsigned xSize, unsigned ySize, unsigned pixDepth) (defined in ImgBuffer)ImgBuffer
    Resize(unsigned xSize, unsigned ySize) (defined in ImgBuffer)ImgBuffer
    SetMetadata(const Metadata &md) (defined in ImgBuffer)ImgBuffer
    SetMetadata(const Metadata &md) (defined in ImgBuffer)ImgBuffer
    SetName(const char *name) (defined in ImgBuffer)ImgBufferinline
    SetPixels(const void *pixArray) (defined in ImgBuffer)ImgBuffer
    SetPixels(const void *pixArray) (defined in ImgBuffer)ImgBuffer
    SetPixelsPadded(const void *pixArray, int paddingBytesPerLine) (defined in ImgBuffer)ImgBuffer
    Width() const (defined in ImgBuffer)ImgBufferinline
    Width() const (defined in ImgBuffer)ImgBufferinline
    ~ImgBuffer() (defined in ImgBuffer)ImgBuffer
    diff --git a/class_img_buffer.html b/class_img_buffer.html index 8d4f6e7..9f9b13d 100644 --- a/class_img_buffer.html +++ b/class_img_buffer.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: ImgBuffer Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,94 +26,94 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    ImgBuffer Class Reference
    +
    ImgBuffer Class Reference
    - - - - - - - - - - - - - - - - - - + - - - + -

    +

    Public Member Functions

    +
     ImgBuffer (unsigned xSize, unsigned ySize, unsigned pixDepth)
     
    +
     ImgBuffer (const ImgBuffer &ib)
     
    +
    unsigned int Width () const
     
    +
    unsigned int Height () const
     
    +
    unsigned int Depth () const
     
    +
    void SetPixels (const void *pixArray)
     
    +
    void SetPixelsPadded (const void *pixArray, int paddingBytesPerLine)
     
    +
    void ResetPixels ()
     
    +
    const unsigned char * GetPixels () const
     
    +
    unsigned char * GetPixelsRW ()
     
    +
    void Resize (unsigned xSize, unsigned ySize, unsigned pixDepth)
     
    +
    void Resize (unsigned xSize, unsigned ySize)
     
    +
    bool Compatible (const ImgBuffer &img) const
     
    +
    void SetName (const char *name)
     
    +
    const std::string & GetName ()
     
    +
     
    void SetMetadata (const Metadata &md)
     
    +
    const MetadataGetMetadata () const
     
    +
     
    void Copy (const ImgBuffer &rhs)
     
    +
    ImgBufferoperator= (const ImgBuffer &rhs)
     

    The documentation for this class was generated from the following files:
    diff --git a/class_m_m_1_1_action-members.html b/class_m_m_1_1_action-members.html index 717dac8..8291796 100644 --- a/class_m_m_1_1_action-members.html +++ b/class_m_m_1_1_action-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::Action< T > Member List
    +
    MM::Action< T > Member List

    This is the complete list of members for MM::Action< T >, including all inherited members.

    - + - +
    Action(T *pObj, int(T::*fpt)(PropertyBase *pProp, ActionType eAct)) (defined in MM::Action< T >)MM::Action< T >inline
    Execute(PropertyBase *pProp, ActionType eAct) (defined in MM::Action< T >)MM::Action< T >inlinevirtual
    Execute(PropertyBase *pProp, ActionType eAct) (defined in MM::Action< T >)MM::Action< T >inlinevirtual
    ~Action() (defined in MM::Action< T >)MM::Action< T >inline
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    diff --git a/class_m_m_1_1_action.html b/class_m_m_1_1_action.html index 242c35b..5e9d4aa 100644 --- a/class_m_m_1_1_action.html +++ b/class_m_m_1_1_action.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Action< T > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -62,27 +61,65 @@

    - - - +

    +

    Public Member Functions

    +
     Action (T *pObj, int(T::*fpt)(PropertyBase *pProp, ActionType eAct))
     
    -int Execute (PropertyBase *pProp, ActionType eAct)
    int Execute (PropertyBase *pProp, ActionType eAct)
     

    Detailed Description

    -

    template<class T>
    -class MM::Action< T >

    +
    template<class T>
    +class MM::Action< T >

    Device action implementation.

    +

    Member Function Documentation

    + +

    ◆ Execute()

    -

    Device action implementation.

    -

    The documentation for this class was generated from the following file:
      +
      +
      +
      +template<class T >
      + + + + + +
      + + + + + + + + + + + + + + + + + + +
      int MM::Action< T >::Execute (PropertyBasepProp,
      ActionType eAct 
      )
      +
      +inlinevirtual
      +
      + +

      Implements MM::ActionFunctor.

      + +
      +
      +
      The documentation for this class was generated from the following file:
    diff --git a/class_m_m_1_1_action.png b/class_m_m_1_1_action.png index 9bd9d63e05b82f4dde4c1ef495c1d926b248b201..b6ae02e0aada6bf0bbdfb0f730f85c98921bf829 100644 GIT binary patch delta 513 zcmeBXnawgmrCvI~C&cyt|NjgO3@_e%E$u(F+`>S!Kw|ot7Y7a;0E!1sy1W7?$5|5O z7t8?UgMm5I>?;fmjLSS-978G?-_DKgJFLLd!mjLE{9ia_y3si zruo6%6>m3}2DfIfiof?drnwG(k{M_^*n^F$r}JhI`kT7>rH0_vlPMvH5^@IbWsJ5BAu% z2@D%1HZvY@;bUVEwv=G-d6K|jfGm)w-6D|2(WvtFX~HCvi}j4t&)r&8Fyr0z2`TGy z;wISy^ZV^x8<^-CJFiKF-PY#1^@F_=fPSnB4$Zbniep?J^HM7Ggu}NiwQq~RsE1xG zXp2smy4+*)?B-Zow|+UWx3-;jE||Xe_0}c7AJj~aUtQr*$|ZMihhD|!-tz}U15ceg zni)QS#t+u;$xC`=d?u+C8F8}fL?1@V{g1p!fW#Qmrd4ZJDwSq2 zUw#-S`$=F`)zzt7>9T+JfsfYI|Pz1YBn;BQ|Lw zl?$+w)xeQdn@iPLLhYOQ05@;kfb;uayzxD-HjXlK?dtl&PLrpX zilYu!&;QjTB7csWU=a}){UkWX7zYU8Z7l#JGzz>dgUF-6D|ZZe82ATWJ;4AznqUAI zO)!9qCK$j)6Aa*@2?lV{1OvEef&p$Tgb+rE0N}3)25`}T0hi9&s<4^1YXGc@c>y}I z;MCh174{cDzp97ldI!80Qa;60)f%^$SHLM(x<(Zez-p?R*pFgQs-or$x4PwC7u>w@x!}z=?txE4DJvJJUEMM93$6z6 n(F6myXo3M;G!h&_2m|y7&k7lUoS|Xw00000NkvXXu0mjfXKCSd diff --git a/class_m_m_1_1_action_ex-members.html b/class_m_m_1_1_action_ex-members.html index 6c67918..c75dc32 100644 --- a/class_m_m_1_1_action_ex-members.html +++ b/class_m_m_1_1_action_ex-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::ActionEx< T > Member List
    +
    MM::ActionEx< T > Member List

    This is the complete list of members for MM::ActionEx< T >, including all inherited members.

    - + - +
    ActionEx(T *pObj, int(T::*fpt)(PropertyBase *pProp, ActionType eAct, long data), long data) (defined in MM::ActionEx< T >)MM::ActionEx< T >inline
    Execute(MM::PropertyBase *pProp, MM::ActionType eAct) (defined in MM::ActionEx< T >)MM::ActionEx< T >inlinevirtual
    Execute(MM::PropertyBase *pProp, MM::ActionType eAct) (defined in MM::ActionEx< T >)MM::ActionEx< T >inlinevirtual
    ~ActionEx() (defined in MM::ActionEx< T >)MM::ActionEx< T >inline
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    diff --git a/class_m_m_1_1_action_ex.html b/class_m_m_1_1_action_ex.html index 5a901ac..46e356b 100644 --- a/class_m_m_1_1_action_ex.html +++ b/class_m_m_1_1_action_ex.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::ActionEx< T > Class Template Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -62,27 +61,65 @@

    - - - +

    +

    Public Member Functions

    +
     ActionEx (T *pObj, int(T::*fpt)(PropertyBase *pProp, ActionType eAct, long data), long data)
     
    -int Execute (MM::PropertyBase *pProp, MM::ActionType eAct)
    int Execute (MM::PropertyBase *pProp, MM::ActionType eAct)
     

    Detailed Description

    -

    template<class T>
    -class MM::ActionEx< T >

    +
    template<class T>
    +class MM::ActionEx< T >

    Extended device action implementation. It takes one additional long parameter which can be used as a command identifier inside the command handler

    +

    Member Function Documentation

    + +

    ◆ Execute()

    -

    Extended device action implementation. It takes one additional long parameter which can be used as a command identifier inside the command handler

    -

    The documentation for this class was generated from the following file:
      +
      +
      +
      +template<class T >
      + + + + + +
      + + + + + + + + + + + + + + + + + + +
      int MM::ActionEx< T >::Execute (MM::PropertyBasepProp,
      MM::ActionType eAct 
      )
      +
      +inlinevirtual
      +
      + +

      Implements MM::ActionFunctor.

      + +
      +
      +
      The documentation for this class was generated from the following file:
    diff --git a/class_m_m_1_1_action_ex.png b/class_m_m_1_1_action_ex.png index f6ba5aa55791f7f4cfcfa1e2dea8b31ccfc84446..281b8a25d6715da79bea9325df68fa263e627e53 100644 GIT binary patch delta 534 zcmV+x0_pvt1g`{;B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00Fv5L_t(|0qvb@j>8}fga;#4bN>@>!Xp^x)mB}o zR7aZN81QGX+uw*W#wkJ+5t$$-i-?TU7m!17ETb~FN85T$^M9pBMC3q6{zlHT>!8fG z^)!tO-zUlGSnF&3%x7HeJTyqUle~S~P*%4ysM{`Kj446Hs+&kr_vC(!+Flplko$1e zW20tNy#hPgIa*NNVd|9C)a`RawzvHea;fqEkG0qSGysZZSOwly*<1q_8jl6&-q34l*vbUWK z0K?>D02n1F1HdRb830Df$pA1)P6mKcaxwsnl9K`86@?JO6d{o01UZ=`N9ha5HGySR zW?R>7GT+IU9+EUFolKIQ8aa>apv=ZPP2<9MIrkztC4axZ*3W#B#m+;6SketS2g^69 zOa{`bn@G7FR7)kUEM;Dk)zUrtRCe{ggS7)14eLY|2BeL!u)y{oy>pH*D+ax(uPA17waxzJd(o}K?AjTH1eT0+0p92M!!y?YtuoMRVK+!t*qIy_WPBcf0dOk)d%M9n{@e=nZ{deOEGCp+m${OgZr-cuxMXVNjlJ_umi1f3nb|2um!~fKIxFBQ*DY7$ zz`3vZf+NL(x1Sd-s=h6+_+0A0{7%bKN4u*(UCx>ATk+X<(>uAV=eBKs%WtE5txYSp z^vkyY)mz#^jq8kUj?Q|9n|=yKvn?BZY$1_}RSD&kC#ox1Yd&FR5=cE&TV z@lt1g7JV}F4qNKC^~<;!b_A5ab^Rn)^HX=3Pnb2Y=%q>Z^CnE*Tr&BTii7s%4aYC7 zoW>OsS@lUVQg&;nW)Y`CxUr>qt7#c;V0G}%8G2TG>=d%E`#PKE|MYt|;q*1@Cq|!x z&h@V6{*W)Z2QNM^jq?ld~=KwFisgfUHx3v JIWZ+P0RZMZ@f!dD diff --git a/class_m_m_1_1_action_functor-members.html b/class_m_m_1_1_action_functor-members.html index 397ecba..f754735 100644 --- a/class_m_m_1_1_action_functor-members.html +++ b/class_m_m_1_1_action_functor-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    MM::ActionFunctor Member List
    +
    MM::ActionFunctor Member List

    This is the complete list of members for MM::ActionFunctor, including all inherited members.

    - +
    Execute(PropertyBase *pProp, ActionType eAct)=0 (defined in MM::ActionFunctor)MM::ActionFunctorpure virtual
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    diff --git a/class_m_m_1_1_action_functor.html b/class_m_m_1_1_action_functor.html index 045c185..52e09ed 100644 --- a/class_m_m_1_1_action_functor.html +++ b/class_m_m_1_1_action_functor.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::ActionFunctor Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -64,9 +63,9 @@
    - -

    +

    Public Member Functions

    +
    virtual int Execute (PropertyBase *pProp, ActionType eAct)=0
     
    @@ -78,7 +77,7 @@

    diff --git a/class_m_m_1_1_action_functor.png b/class_m_m_1_1_action_functor.png index b36c76091fabe0b6fde3a9c6d4c6b0dccce841b9..e57695b62c929153dd3f28bd3c3c9e2973876916 100644 GIT binary patch literal 930 zcmeAS@N?(olHy`uVBq!ia0y~yV5|qS12~w03f*F8(FfeDDeT9L6S=ZCWF{Fa=?cCSrUMYyM zF7ICQ@bCN|8Tw8yUG1~)s-;UF4_dHk=Amc$4koeJOBER;cFif~JMizVyn@tk_Kw5< z7$0q@Z?I7N|2ca{?CPYATLZ4&;V(U`{(O%4jaA$KFa7_qYJbR4rGoFNGFNWe9}xcc zq(0)&_xZoy?zor#^kYy6|L^3QKOYZV*}cc}cmAjIDw{Q*={=w3diX)v+xnZ!tNvUR zJRtKs-m6yU?y(A1_+;XXW4R&-1rFdY)9f!|vn#XY#+R-CDUv0}E|0fv@@{|t#=_Qo?fhyZ1e z`R)g@1c0p0w;0;cO!*l9`~B~I=7ru5*v0PG%Qk^5)WL2cnobz^xs!+H((;$VUN2*1 z4hc9-TEg(^q<0X5y&%x6{VJ>p|G(w`w|}}{`}(RKS$V%bg1pV^R5H82J~`jF*ZN+Z zig=5HXZEUB%Z{J=f1?f%*EKhrLX{VQb`@|UWLpO@g|NmlN|J6SC75DZ3 zJ2%e$^ZDMd{~jE{B)!#q)U!Hs6lS_NdfOozHRb-`n^} zOdINdZwDdIUq+x1eQ3XQiqZ zxpzvz#amIc&&^r?I80>92B#m~0%r|)oH-bpH26R1|7W;(!rnpV6Td+FALb()DfavuBuobP7C){|97DsQ)?r z|NKw(Pd00tT`iS1-aISu-^`g`GuZ35y+8YJo6=4N7URug<-4;k{+R#zy?Xc={(QIO zv}+r#FEaiyx%Ryu8&Jpk)(@HgFQ@GKe^>wc%u?;`bK@V@?|#4ZW67%Oe=GhkS9~)2 z^V(3qk0;#z74rWo=Sd3-4DnICD!4mHdBOG{=fB=n=}(^+Bj&WvQu_SX)yqsflKK9hGzP`8rnasGeHpjfdtEe - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::ActionLambda Member List
    +
    MM::ActionLambda Member List

    This is the complete list of members for MM::ActionLambda, including all inherited members.

    - +
    ActionLambda(F func) (defined in MM::ActionLambda)MM::ActionLambdainlineexplicit
    Execute(PropertyBase *pProp, ActionType eAct) final (defined in MM::ActionLambda)MM::ActionLambdainlinevirtual
    Execute(PropertyBase *pProp, ActionType eAct) final (defined in MM::ActionLambda)MM::ActionLambdainlinevirtual
    ~ActionFunctor() (defined in MM::ActionFunctor)MM::ActionFunctorinlinevirtual
    diff --git a/class_m_m_1_1_action_lambda.html b/class_m_m_1_1_action_lambda.html index c58046b..6a882f5 100644 --- a/class_m_m_1_1_action_lambda.html +++ b/class_m_m_1_1_action_lambda.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::ActionLambda Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -62,26 +61,64 @@

    - - - +

    +

    Public Member Functions

    +
    template<typename F >
     ActionLambda (F func)
     
    -int Execute (PropertyBase *pProp, ActionType eAct) final
    int Execute (PropertyBase *pProp, ActionType eAct) final
     

    Detailed Description

    Action implementation using std::function to wrap arbitrary callables.

    (It is named "lambda" after its intended use, but can wrap any C++ callable.)

    -

    The documentation for this class was generated from the following file:
      +

    Member Function Documentation

    + +

    ◆ Execute()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    int MM::ActionLambda::Execute (PropertyBasepProp,
    ActionType eAct 
    )
    +
    +inlinefinalvirtual
    +
    + +

    Implements MM::ActionFunctor.

    + +
    +
    +
    The documentation for this class was generated from the following file:

    diff --git a/class_m_m_1_1_action_lambda.png b/class_m_m_1_1_action_lambda.png index 04270d4a094908320f3e7c734ad2e5e34c9c6eae..bc9679d4db1614c75c62578447fc32f09509c07e 100644 GIT binary patch delta 531 zcmV+u0_^>t1gr#*B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00Fm2L_t(|0qvdJj>8}fL5M0^obSaMKLhK*QG?u1b^pW8 z&NfSBqUu!pe}6R*k)a$+L}a2@f@6$vg8<;y`T)QV?E-&3o5;Js2X_y78~BA&?O*_~ zk%IxiL=FZ36FC?FOypnyFp+}+z(fuP024VF03IuZ5OxTGnb}?rW@a|gesJL*tJ=1> zE@`-*0+!}JqJi_87PW0jmrr2>K7N1sl5WqNaQ$J(meKi$teaE`nJOP!}+Io~JX@i69~ z1$cVACHSW13jE-VS71FjYLNS>mb%54oVs=6R7*AguV!Ypkb{|-P4r4|2qA3H4?_iF Vr9}de?+gF{002ovPDHLkV1ktl`ceP@ delta 517 zcmV+g0{Z=|1fK+uB!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00FK^L_t(|0qvdJ(yJg0Mi*hG@BheK^_m!C+##Zfh`k&vB4VQb;7}%xQJL-1wqDcc&PzmOp?}4E2WMv*l-VP1ckyQK z55eb4rCWN;Z+O^w=!~->IlKjw)h&}Mb;&ZB5=3SVjx*^MJg!mUW#I?#n61vtNi(Sy zV0I1@EvarU^^Volo$~=am-;Wj<$S*eo`P<`movVA%lY1%@iVY)9M#BUSC4<}?CiZ% zJF0cHf2&1A41eWd5fKypBsj(xHwfUr^#a(TUEtSi6L}Z-;O-%B1OH%GI~c%54hArh zg8@wBU;q<27{Ejh1~8F>0ZimzfX50UgdHLP*vr8HCfX0K{9{z6S~osiwtKUGH9fBA z;5?>5nd`!=AYTTj|KE8_kLN>j<)M8R>U!l(_Z~8pT7CuS*Z@o#9OqUVxKCzO_ZDm9 z-GWt>h9C{T9C`r#)4N}S^*gpwsn6;&a9()_E_t4U%lSS5&xdhcv;beWw*W|> diff --git a/class_m_m_1_1_auto_focus-members.html b/class_m_m_1_1_auto_focus-members.html index fb6fbec..0a22d79 100644 --- a/class_m_m_1_1_auto_focus-members.html +++ b/class_m_m_1_1_auto_focus-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::AutoFocus Member List
    +
    MM::AutoFocus Member List

    This is the complete list of members for MM::AutoFocus, including all inherited members.

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
    AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinline
    AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinline
    AutoSetParameters()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Device() (defined in MM::Device)MM::Deviceinline
    FullFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    FullFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetContinuousFocusing(bool &state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetCurrentFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetCurrentFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetLastFocusScore(double &score)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetOffset(double &offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetOffset(double &offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetType() const (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    IncrementalFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    IncrementalFocus()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    IsContinuousFocusLocked()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    IsContinuousFocusLocked()=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetContinuousFocusing(bool state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    SetContinuousFocusing(bool state)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetOffset(double offset)=0 (defined in MM::AutoFocus)MM::AutoFocuspure virtual
    SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
    SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Type (defined in MM::AutoFocus)MM::AutoFocusstatic
    Type (defined in MM::AutoFocus)MM::AutoFocusstatic
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    ~AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
    ~AutoFocus() (defined in MM::AutoFocus)MM::AutoFocusinlinevirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    diff --git a/class_m_m_1_1_auto_focus.html b/class_m_m_1_1_auto_focus.html index 076db26..d4b53c6 100644 --- a/class_m_m_1_1_auto_focus.html +++ b/class_m_m_1_1_auto_focus.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::AutoFocus Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ + -
    -
    MM::AutoFocus Class Referenceabstract
    +
    MM::AutoFocus Class Referenceabstract
    @@ -65,174 +64,178 @@

    - - + - - - - - - - - - - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

    +

    Public Member Functions

    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    +
    virtual int SetContinuousFocusing (bool state)=0
     
    +
    virtual int GetContinuousFocusing (bool &state)=0
     
    +
    virtual bool IsContinuousFocusLocked ()=0
     
    +
    virtual int FullFocus ()=0
     
    +
    virtual int IncrementalFocus ()=0
     
    +
    virtual int GetLastFocusScore (double &score)=0
     
    +
    virtual int GetCurrentFocusScore (double &score)=0
     
    +
    virtual int AutoSetParameters ()=0
     
    +
    virtual int GetOffset (double &offset)=0
     
    +
    virtual int SetOffset (double offset)=0
     
    - Public Member Functions inherited from MM::Device
    -virtual unsigned GetNumberOfProperties () const =0
    virtual unsigned GetNumberOfProperties () const =0
     
    -virtual int GetProperty (const char *name, char *value) const =0
    virtual int GetProperty (const char *name, char *value) const =0
     
    -virtual int SetProperty (const char *name, const char *value)=0
    virtual int SetProperty (const char *name, const char *value)=0
     
    -virtual bool HasProperty (const char *name) const =0
    virtual bool HasProperty (const char *name) const =0
     
    -virtual bool GetPropertyName (unsigned idx, char *name) const =0
    virtual bool GetPropertyName (unsigned idx, char *name) const =0
     
    -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
     
    -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
     
    +
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
     
    -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
     
    -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
     
    -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
     
    -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
     
    -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
     
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
     
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
     
    virtual int StartPropertySequence (const char *propertyName)=0
    virtual int StartPropertySequence (const char *propertyName)=0
     
    virtual int StopPropertySequence (const char *propertyName)=0
    virtual int StopPropertySequence (const char *propertyName)=0
     
    virtual int ClearPropertySequence (const char *propertyName)=0
    virtual int ClearPropertySequence (const char *propertyName)=0
     
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
     
    virtual int SendPropertySequence (const char *propertyName)=0
    virtual int SendPropertySequence (const char *propertyName)=0
     
    -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
    virtual bool GetErrorText (int errorCode, char *errMessage) const =0
     
    +
    virtual bool Busy ()=0
     
    -virtual double GetDelayMs () const =0
    virtual double GetDelayMs () const =0
     
    -virtual void SetDelayMs (double delay)=0
    virtual void SetDelayMs (double delay)=0
     
    -virtual bool UsesDelay ()=0
    virtual bool UsesDelay ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    -virtual void SetLabel (const char *label)=0
    virtual void SetLabel (const char *label)=0
     
    -virtual void GetLabel (char *name) const =0
    virtual void GetLabel (char *name) const =0
     
    -virtual void SetModuleName (const char *moduleName)=0
    virtual void SetModuleName (const char *moduleName)=0
     
    -virtual void GetModuleName (char *moduleName) const =0
    virtual void GetModuleName (char *moduleName) const =0
     
    -virtual void SetDescription (const char *description)=0
    virtual void SetDescription (const char *description)=0
     
    -virtual void GetDescription (char *description) const =0
    virtual void GetDescription (char *description) const =0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    -virtual void SetCallback (Core *callback)=0
    virtual void SetCallback (Core *callback)=0
     
    +
    virtual bool SupportsDeviceDetection (void)=0
     
    +
    virtual MM::DeviceDetectionStatus DetectDevice (void)=0
     
    +
    virtual void SetParentID (const char *parentId)=0
     
    +
    virtual void GetParentID (char *parentID) const =0
     
    - -

    +

    Static Public Attributes

    +
    static const DeviceType Type = AutoFocusDevice
     

    Detailed Description

    Auto-focus device API.

    -

    The documentation for this class was generated from the following files:
      +

    Member Function Documentation

    + +

    ◆ GetType()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual DeviceType MM::AutoFocus::GetType () const
    +
    +inlinevirtual
    +
    + +

    Implements MM::Device.

    + +
    +
    +
    The documentation for this class was generated from the following files:

    diff --git a/class_m_m_1_1_auto_focus.png b/class_m_m_1_1_auto_focus.png index 30cf34bbcb766fda9b1fba797b90da4d26d567d8..a7aa7f56a9ea9a57bc891f0b19228229a5d68f11 100644 GIT binary patch delta 1106 zcmb`H>sQhT9L7D2b427czgi2 zS~Xq^gn$Lnp`QX4MkYu$-KR~R#l6Bv5+W<52e0CWgxN1C%}RN84lKQ+nE_ImDmtIN z*JAsCg74DeQNJzzDq8Gk>gM*Fg$*c4cmjO?MC$gP!N8wbK`zwK@ey7igC60zvFU=@B zJhh|N(B?F08T~O~tt|QW8)3@RC{r5S6^*t^=2U%=bftMDu8Q`|pbr}>Arhv0jmXH3 z)^uy9WCKJNH7nk6;RLwiMd{4SW52pCk{g-4f-$iI;_t~Q32TB7aXZ%^ZqRe@GSKKn ztWqqt!_@0Hx>aDH%jqJ>H!pVnf$-7fBsMdBH1B%Vg;Q^kldzju!B>tRf-4TYcrCs| zJKpCppz~OzgX9zr@omRF0#0<2UxIS_hk_E|hdV2VR$dyK3S+gYr+Lo+!t+m9$=S5) zgUh6++| z!e}V+VgKrWf?@tH3DL*f_xkc>k^BUgxH%%5yqe!YA)7Yp!6#*;hnuye1?BLUhdjN* zDPT=PT01ptvvBfkV-sB`D^ekQ==%b5L>Se0)Ieo{SUQ#}Z)j>WSve=*i)K%2+}6Aq zdQ6_gJ1-C7se_oK`Jg~TnE|!qC!0sdv^+Vzuim2~(L!~#8WtPMy473Q)*Bb$ utV?34t zT!9m?eI=!oI)x-jT@r4R5xUBr(Y!;U-D`=-e%(l==kVI!1s_>DX-?`<3h1?WWePT+eQiCjmSXZUFuW zHvoTx8-PEPP68o+;1q^o7&?Ukpi9CHz#riT;Eyxh<{oaPscs&xZgMIE_!6hMObJ)-9Nq}D@+yML$ZUFuWHvoTh?lug=&?f-bF#>c-$8O`;uUyA&H??l%dUlIE z3E+`%1Mo+<0r(@6PXQ%=r;t)gmocW4(q)h&sY}95lKc^FlH?ELHrzhBxR;XbwP|`1 zCrK4^%&j!lcE9E3(fgk6=eHWM#chsw7AdK^cE?RI_rg?5FKyACTKn9VXLSl&B2V!~H_+i^__0$_~^XactSK{q;TgHCnwsgN5U~0E}a?zQdRa<6uny+eZTZQNA zwtr9N$8Xln{_u8yRqoloQ!UL?x5ggX<@RDvw$^Q%C#!_XLAiB!7gPB>Cg8+i?5jTGdzh8wC;jhiIBX78M@bu$BHxBJ(vdS8cWF_w_LHl_8!5;EQ85EK6cZqBDL?lm9XDDZ)F>m`9BioyF8i0?Dosg^2@C} zY5q(l=_rTYB*_WkCQ1GXH%anGxJi;fI(JJcr9SxwZa;%VU@KAa00000NkvXXu0mjf DdZaq; diff --git a/class_m_m_1_1_camera-members.html b/class_m_m_1_1_camera-members.html index 011e2c9..f17e25e 100644 --- a/class_m_m_1_1_camera-members.html +++ b/class_m_m_1_1_camera-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::Camera Member List
    +
    MM::Camera Member List

    This is the complete list of members for MM::Camera, including all inherited members.

    - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AddTag(const char *key, const char *deviceLabel, const char *value)=0MM::Camerapure virtual
    AddToExposureSequence(double exposureTime_ms)=0 (defined in MM::Camera)MM::Camerapure virtual
    AddToExposureSequence(double exposureTime_ms)=0 (defined in MM::Camera)MM::Camerapure virtual
    AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    Camera() (defined in MM::Camera)MM::Camerainline
    ClearExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    ClearExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    ClearROI()=0MM::Camerapure virtual
    ClearROI()=0MM::Camerapure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Device() (defined in MM::Device)MM::Deviceinline
    Device() (defined in MM::Device)MM::Deviceinline
    GetBinning() const =0MM::Camerapure virtual
    GetBitDepth() const =0MM::Camerapure virtual
    GetBitDepth() const =0MM::Camerapure virtual
    GetChannelName(unsigned channel, char *name)=0MM::Camerapure virtual
    GetComponentName(unsigned component, char *name)=0MM::Camerapure virtual
    GetComponentName(unsigned component, char *name)=0MM::Camerapure virtual
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetExposure() const =0MM::Camerapure virtual
    GetExposure() const =0MM::Camerapure virtual
    GetExposureSequenceMaxLength(long &nrEvents) const =0 (defined in MM::Camera)MM::Camerapure virtual
    GetImageBuffer()=0MM::Camerapure virtual
    GetImageBuffer(unsigned channelNr)=0MM::Camerapure virtual
    GetImageBufferAsRGB32()=0MM::Camerapure virtual
    GetImageBuffer()=0MM::Camerapure virtual
    GetImageBuffer(unsigned channelNr)=0MM::Camerapure virtual
    GetImageBufferAsRGB32()=0MM::Camerapure virtual
    GetImageBufferSize() const =0MM::Camerapure virtual
    GetImageBytesPerPixel() const =0MM::Camerapure virtual
    GetImageBytesPerPixel() const =0MM::Camerapure virtual
    GetImageHeight() const =0MM::Camerapure virtual
    GetImageWidth() const =0MM::Camerapure virtual
    GetImageWidth() const =0MM::Camerapure virtual
    GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetMultiROI(unsigned *xs, unsigned *ys, unsigned *widths, unsigned *heights, unsigned *length)=0 (defined in MM::Camera)MM::Camerapure virtual
    GetMultiROICount(unsigned &count)=0 (defined in MM::Camera)MM::Camerapure virtual
    GetMultiROICount(unsigned &count)=0 (defined in MM::Camera)MM::Camerapure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfChannels() const =0MM::Camerapure virtual
    GetNumberOfChannels() const =0MM::Camerapure virtual
    GetNumberOfComponents() const =0MM::Camerapure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPixelSizeUm() const =0MM::Camerapure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetROI(unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0MM::Camerapure virtual
    GetTags(char *serializedMetadata)=0MM::Camerapure virtual
    GetTags(char *serializedMetadata)=0MM::Camerapure virtual
    GetType() const (defined in MM::Camera)MM::Camerainlinevirtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    IsCapturing()=0MM::Camerapure virtual
    IsExposureSequenceable(bool &isSequenceable) const =0MM::Camerapure virtual
    IsExposureSequenceable(bool &isSequenceable) const =0MM::Camerapure virtual
    IsMultiROISet()=0 (defined in MM::Camera)MM::Camerapure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    PrepareSequenceAcqusition()=0MM::Camerapure virtual
    RemoveTag(const char *key)=0MM::Camerapure virtual
    RemoveTag(const char *key)=0MM::Camerapure virtual
    SendExposureSequence() const =0 (defined in MM::Camera)MM::Camerapure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SetBinning(int binSize)=0MM::Camerapure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetExposure(double exp_ms)=0MM::Camerapure virtual
    SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
    SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetMultiROI(const unsigned *xs, const unsigned *ys, const unsigned *widths, const unsigned *heights, unsigned numROIs)=0 (defined in MM::Camera)MM::Camerapure virtual
    SetMultiROI(const unsigned *xs, const unsigned *ys, const unsigned *widths, const unsigned *heights, unsigned numROIs)=0 (defined in MM::Camera)MM::Camerapure virtual
    SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    SetROI(unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0MM::Camerapure virtual
    Shutdown()=0MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    SnapImage()=0MM::Camerapure virtual
    StartExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    StartExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)=0MM::Camerapure virtual
    StartSequenceAcquisition(long numImages, double interval_ms, bool stopOnOverflow)=0MM::Camerapure virtual
    StartSequenceAcquisition(double interval_ms)=0MM::Camerapure virtual
    StopExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    StopExposureSequence()=0 (defined in MM::Camera)MM::Camerapure virtual
    StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StopSequenceAcquisition()=0MM::Camerapure virtual
    StopSequenceAcquisition()=0MM::Camerapure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    SupportsMultiROI()=0 (defined in MM::Camera)MM::Camerapure virtual
    SupportsMultiROI()=0 (defined in MM::Camera)MM::Camerapure virtual
    Type (defined in MM::Camera)MM::Camerastatic
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    ~Camera() (defined in MM::Camera)MM::Camerainlinevirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    diff --git a/class_m_m_1_1_camera.html b/class_m_m_1_1_camera.html index 3538a88..f1cc09a 100644 --- a/class_m_m_1_1_camera.html +++ b/class_m_m_1_1_camera.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Camera Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ + -
    -
    MM::Camera Class Referenceabstract
    +
    MM::Camera Class Referenceabstract

    @@ -65,232 +64,208 @@
    - - + - + - - - - - - - + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + - + - + - + - + - + - + - + - + - - - - - - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

    +

    Public Member Functions

    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    virtual int SnapImage ()=0
    virtual int SnapImage ()=0
     
    virtual const unsigned char * GetImageBuffer ()=0
     
    virtual const unsigned char * GetImageBuffer (unsigned channelNr)=0
     
    virtual const unsigned int * GetImageBufferAsRGB32 ()=0
     
    virtual unsigned GetNumberOfComponents () const =0
    virtual const unsigned char * GetImageBuffer ()=0
     
    virtual const unsigned char * GetImageBuffer (unsigned channelNr)=0
     
    virtual const unsigned int * GetImageBufferAsRGB32 ()=0
     
    virtual unsigned GetNumberOfComponents () const =0
     
    virtual int GetComponentName (unsigned component, char *name)=0
    virtual int GetComponentName (unsigned component, char *name)=0
     
    virtual int unsigned GetNumberOfChannels () const =0
    virtual int unsigned GetNumberOfChannels () const =0
     
    virtual int GetChannelName (unsigned channel, char *name)=0
    virtual int GetChannelName (unsigned channel, char *name)=0
     
    virtual long GetImageBufferSize () const =0
    virtual long GetImageBufferSize () const =0
     
    virtual unsigned GetImageWidth () const =0
    virtual unsigned GetImageWidth () const =0
     
    virtual unsigned GetImageHeight () const =0
    virtual unsigned GetImageHeight () const =0
     
    virtual unsigned GetImageBytesPerPixel () const =0
    virtual unsigned GetImageBytesPerPixel () const =0
     
    virtual unsigned GetBitDepth () const =0
    virtual unsigned GetBitDepth () const =0
     
    virtual double GetPixelSizeUm () const =0
    virtual double GetPixelSizeUm () const =0
     
    virtual int GetBinning () const =0
    virtual int GetBinning () const =0
     
    virtual int SetBinning (int binSize)=0
    virtual int SetBinning (int binSize)=0
     
    virtual void SetExposure (double exp_ms)=0
    virtual void SetExposure (double exp_ms)=0
     
    virtual double GetExposure () const =0
    virtual double GetExposure () const =0
     
    virtual int SetROI (unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0
    virtual int SetROI (unsigned x, unsigned y, unsigned xSize, unsigned ySize)=0
     
    virtual int GetROI (unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0
    virtual int GetROI (unsigned &x, unsigned &y, unsigned &xSize, unsigned &ySize)=0
     
    virtual int ClearROI ()=0
    virtual int ClearROI ()=0
     
    +
    virtual bool SupportsMultiROI ()=0
     
    +
    virtual bool IsMultiROISet ()=0
     
    +
    virtual int GetMultiROICount (unsigned &count)=0
     
    +
    virtual int SetMultiROI (const unsigned *xs, const unsigned *ys, const unsigned *widths, const unsigned *heights, unsigned numROIs)=0
     
    +
    virtual int GetMultiROI (unsigned *xs, unsigned *ys, unsigned *widths, unsigned *heights, unsigned *length)=0
     
    virtual int StartSequenceAcquisition (long numImages, double interval_ms, bool stopOnOverflow)=0
    virtual int StartSequenceAcquisition (long numImages, double interval_ms, bool stopOnOverflow)=0
     
    virtual int StartSequenceAcquisition (double interval_ms)=0
    virtual int StartSequenceAcquisition (double interval_ms)=0
     
    virtual int StopSequenceAcquisition ()=0
    virtual int StopSequenceAcquisition ()=0
     
    virtual int PrepareSequenceAcqusition ()=0
    virtual int PrepareSequenceAcqusition ()=0
     
    virtual bool IsCapturing ()=0
    virtual bool IsCapturing ()=0
     
    virtual void GetTags (char *serializedMetadata)=0
    virtual void GetTags (char *serializedMetadata)=0
     
    virtual void AddTag (const char *key, const char *deviceLabel, const char *value)=0
    virtual void AddTag (const char *key, const char *deviceLabel, const char *value)=0
     
    virtual void RemoveTag (const char *key)=0
    virtual void RemoveTag (const char *key)=0
     
    virtual int IsExposureSequenceable (bool &isSequenceable) const =0
    virtual int IsExposureSequenceable (bool &isSequenceable) const =0
     
    +
    virtual int GetExposureSequenceMaxLength (long &nrEvents) const =0
     
    +
    virtual int StartExposureSequence ()=0
     
    +
    virtual int StopExposureSequence ()=0
     
    +
    virtual int ClearExposureSequence ()=0
     
    +
    virtual int AddToExposureSequence (double exposureTime_ms)=0
     
    +
    virtual int SendExposureSequence () const =0
     
    - Public Member Functions inherited from MM::Device
    -virtual unsigned GetNumberOfProperties () const =0
    virtual unsigned GetNumberOfProperties () const =0
     
    -virtual int GetProperty (const char *name, char *value) const =0
    virtual int GetProperty (const char *name, char *value) const =0
     
    -virtual int SetProperty (const char *name, const char *value)=0
    virtual int SetProperty (const char *name, const char *value)=0
     
    -virtual bool HasProperty (const char *name) const =0
    virtual bool HasProperty (const char *name) const =0
     
    -virtual bool GetPropertyName (unsigned idx, char *name) const =0
    virtual bool GetPropertyName (unsigned idx, char *name) const =0
     
    -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
     
    -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
     
    +
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
     
    -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
     
    -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
     
    -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
     
    -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
     
    -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
     
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
     
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
     
    virtual int StartPropertySequence (const char *propertyName)=0
    virtual int StartPropertySequence (const char *propertyName)=0
     
    virtual int StopPropertySequence (const char *propertyName)=0
    virtual int StopPropertySequence (const char *propertyName)=0
     
    virtual int ClearPropertySequence (const char *propertyName)=0
    virtual int ClearPropertySequence (const char *propertyName)=0
     
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
     
    virtual int SendPropertySequence (const char *propertyName)=0
    virtual int SendPropertySequence (const char *propertyName)=0
     
    -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
    virtual bool GetErrorText (int errorCode, char *errMessage) const =0
     
    +
    virtual bool Busy ()=0
     
    -virtual double GetDelayMs () const =0
    virtual double GetDelayMs () const =0
     
    -virtual void SetDelayMs (double delay)=0
    virtual void SetDelayMs (double delay)=0
     
    -virtual bool UsesDelay ()=0
    virtual bool UsesDelay ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    -virtual void SetLabel (const char *label)=0
    virtual void SetLabel (const char *label)=0
     
    -virtual void GetLabel (char *name) const =0
    virtual void GetLabel (char *name) const =0
     
    -virtual void SetModuleName (const char *moduleName)=0
    virtual void SetModuleName (const char *moduleName)=0
     
    -virtual void GetModuleName (char *moduleName) const =0
    virtual void GetModuleName (char *moduleName) const =0
     
    -virtual void SetDescription (const char *description)=0
    virtual void SetDescription (const char *description)=0
     
    -virtual void GetDescription (char *description) const =0
    virtual void GetDescription (char *description) const =0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    -virtual void SetCallback (Core *callback)=0
    virtual void SetCallback (Core *callback)=0
     
    +
    virtual bool SupportsDeviceDetection (void)=0
     
    +
    virtual MM::DeviceDetectionStatus DetectDevice (void)=0
     
    +
    virtual void SetParentID (const char *parentId)=0
     
    +
    virtual void GetParentID (char *parentID) const =0
     
    - -

    +

    Static Public Attributes

    +
    static const DeviceType Type = CameraDevice
     

    Detailed Description

    Camera API

    Member Function Documentation

    - -

    ◆ AddTag()

    + +

    ◆ AddTag()

    @@ -334,8 +309,8 @@

    -

    ◆ ClearROI()

    + +

    ◆ ClearROI()

    @@ -360,8 +335,8 @@

    -

    ◆ GetBinning()

    + +

    ◆ GetBinning()

    @@ -388,8 +363,8 @@

    -

    ◆ GetBitDepth()

    + +

    ◆ GetBitDepth()

    @@ -414,8 +389,8 @@

    -

    ◆ GetChannelName()

    + +

    ◆ GetChannelName()

    @@ -453,8 +428,8 @@

    -

    ◆ GetComponentName()

    + +

    ◆ GetComponentName()

    @@ -492,8 +467,8 @@

    -

    ◆ GetExposure()

    + +

    ◆ GetExposure()

    @@ -518,8 +493,8 @@

    -

    ◆ GetImageBuffer() [1/2]

    + +

    ◆ GetImageBuffer() [1/2]

    @@ -528,7 +503,7 @@

    - + @@ -544,12 +519,12 @@

    https://en.wikipedia.org/wiki/RGBA_color_model).

    -

    Implemented in CCameraBase< U >.

    +

    Implemented in CCameraBase< U >.

    - -

    ◆ GetImageBuffer() [2/2]

    + +

    ◆ GetImageBuffer() [2/2]

    @@ -558,7 +533,7 @@

    virtual const unsigned char* MM::Camera::GetImageBuffer virtual const unsigned char * MM::Camera::GetImageBuffer ( )
    - + @@ -571,19 +546,19 @@

    -

    Returns pixel data for cameras with multiple channels. See description for GetImageBuffer() for details. Use this overloaded version for cameras with multiple channels When calling this function for a single channel camera, this function should return the content of the imagebuffer as returned by the function GetImageBuffer(). This behavior is implemented in the DeviceBase. When GetImageBuffer() is called for a multi-channel camera, the camera adapter should return the ImageBuffer for the first channel

    Parameters
    +

    Returns pixel data for cameras with multiple channels. See description for GetImageBuffer() for details. Use this overloaded version for cameras with multiple channels When calling this function for a single channel camera, this function should return the content of the imagebuffer as returned by the function GetImageBuffer(). This behavior is implemented in the DeviceBase. When GetImageBuffer() is called for a multi-channel camera, the camera adapter should return the ImageBuffer for the first channel

    Parameters

    virtual const unsigned char* MM::Camera::GetImageBuffer virtual const unsigned char * MM::Camera::GetImageBuffer ( unsigned  channelNr)
    channelNrNumber of the channel for which the image data are requested.
    -

    Implemented in CCameraBase< U >.

    +

    Implemented in CCameraBase< U >.

    - -

    ◆ GetImageBufferAsRGB32()

    + +

    ◆ GetImageBufferAsRGB32()

    + +

    ◆ IsCapturing()

    @@ -910,8 +912,8 @@

    -

    ◆ IsExposureSequenceable()

    + +

    ◆ IsExposureSequenceable()

    @@ -937,8 +939,8 @@

    -

    ◆ PrepareSequenceAcqusition()

    + +

    ◆ PrepareSequenceAcqusition()

    @@ -965,8 +967,8 @@

    -

    ◆ RemoveTag()

    + +

    ◆ RemoveTag()

    @@ -994,8 +996,8 @@

    -

    ◆ SetBinning()

    + +

    ◆ SetBinning()

    @@ -1021,8 +1023,8 @@

    -

    ◆ SetExposure()

    + +

    ◆ SetExposure()

    @@ -1048,8 +1050,8 @@

    -

    ◆ SetROI()

    + +

    ◆ SetROI()

    @@ -1105,8 +1107,8 @@

    -

    ◆ SnapImage()

    + +

    ◆ SnapImage()

    @@ -1134,8 +1136,8 @@

    -

    ◆ StartSequenceAcquisition() [1/2]

    + +

    ◆ StartSequenceAcquisition() [1/2]

    @@ -1163,8 +1165,8 @@

    -

    ◆ StartSequenceAcquisition() [2/2]

    + +

    ◆ StartSequenceAcquisition() [2/2]

    @@ -1208,8 +1210,8 @@

    -

    ◆ StopSequenceAcquisition()

    + +

    ◆ StopSequenceAcquisition()

    @@ -1238,12 +1240,12 @@

    MMDevice.h -
  • MMDevice.cpp
  • +
  • MMDevice.cpp
  • diff --git a/class_m_m_1_1_camera.png b/class_m_m_1_1_camera.png index c7f12d209964cdfe33bead4e14450ec05d4c54da..3b7dcf1d21ea1464806214807391ea84102e7a60 100644 GIT binary patch literal 1242 zcmeAS@N?(olHy`uVBq!ia0vp^r-1kX2Q!c?QsDUmq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)^KFCJ%}4r6r(9wa@yu!rnYbilNtcT2W2vcmxp!Zd z7}cn(e73-QlHCKPsfHUC7B1I&_L_P6l3DRVm393$XGT~*bDL!Ma22Z=+Yg?LbJuC- z@!c~oZC9y1GFNN%8ktpVGAAwR-;r}Wyt3f-{gpny>!-zr^u2CUnfu5*)J*eBTz_HvyAsK__GxL`i#tzMbOOB` z_bNQ*U09*t`Ez+E?@n2>@p0FY*v$uGCfLPof3)nMW0A$Q`;VD-s1$x*`Npg_GF*PD zlgLyn{@W=(-tLzRwwxh;TRv!}_>Hosxto*Iz8SC6I+nd;_JL@qc+R) z@4kGtY|Z>6~Cn}DOCTIGVz4Z{t}oAd9v*1yR8fA{tC_bY0CEB$o_CdqJ6 z22c)F(Ui(vIVH$TnBmTO<^{aB0xNB16=u3GHP1Y{RB`H>1cs0J6BtsEgVJ9?6EMW* zx@#`I!|OUJN&#g2N+r*W7Hcnko&U>aQk>D5n)Fx2=Vo7@vV=E1blUB?JKpaOt`AS$ zd9mvF$If!+^Ae|LG;U0mn*DXTqP_lvQzF^&*9+E2N;AzpzO3@Kzj?md?NxhrSFJyD zN^PI((cYbVjb?|QIv#1MU3`-1^^&hM9?cVU?Hz(TBLob;9!ZV-8;1SoLbU=$j*}y(Vq@Gynd#Ng|VB= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IYL0z6$DLn;{G&V4&=vlfrrcK+(oDyjJpiOuE9nP|5Qihp6YLW42m{@6EdWHszm3&{@yv zDzyiEwXze6ll^?pd}r75G~K^sQ_cFDH*Z)MDSOT@xXu*K9OGoN{CC&sgSVHxo3Nz6 zB53K!Q!7u+Q}g`QaeG_sRQAn(drxiqzd0w+ay|E?lFs`fnL!zwl|1Jc#T({@{oB|y z_1>SSCF|#`%yEyjU%J+N)_N{A&;N4*CaUDObg5J-hp3#Cu3fogN{~2%&3TRs?0;AE zB%AB~UE!m)cSp$*AyJ+K@(Y?XTK;{;MUHFD>4Af7N!sDC>6~ zcWk-Ouw*_q)y{i8U-f$V&2QDU4BJ)SSx!B?tZ|{87OTEisobrU8*lf^M_Zoge#^h| z3G20Wd(5mE>>sa7+T(tUWt#SlnO@un&R6;!4Otbm(dW}QuCQYab_(~tp*nZ+DFYs7 zYI$}-kXOI)vMHA?Pf%IO?&LZN7&w!j@Gds;nZI^swC6XAl3GLmNm`%gtTbJI)>rjq z?6jZi^|wMl^{h|xTGhAx`P$-V$L7TCIiWh$XxrVq+N7Un%4YoARW4s0e$*oOy3YBc z-FGep#(!qly7q9-V~aSM?-kQCiYA!FZGLphb=k&6o9)!9&kBnsSB4(FS5_aDdZFz@ z(9;xVzDc%Pt@@#7*2b-TVioXo;g{R2VTQsp!2;OUn6alwB^`2y4&89{NdpO%7i{znoF;+{%1V#q0;};JpUeGdBfo8>gTe~ HDWM4fW5hSW diff --git a/class_m_m_1_1_core-members.html b/class_m_m_1_1_core-members.html index a27046a..8c32c4d 100644 --- a/class_m_m_1_1_core-members.html +++ b/class_m_m_1_1_core-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::Core Member List
    +
    MM::Core Member List

    This is the complete list of members for MM::Core, including all inherited members.

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AcqFinished(const Device *caller, int statusCode)=0 (defined in MM::Core)MM::Corepure virtual
    ClearImageBuffer(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    ClearImageBuffer(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    Core() (defined in MM::Core)MM::Coreinline
    GetClockTicksUs(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    GetClockTicksUs(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    GetCurrentMMTime()=0 (defined in MM::Core)MM::Corepure virtual
    GetDevice(const Device *caller, const char *label)=0MM::Corepure virtual
    GetDevice(const Device *caller, const char *label)=0MM::Corepure virtual
    GetDeviceProperty(const char *deviceName, const char *propName, char *value)=0 (defined in MM::Core)MM::Corepure virtual
    GetLoadedDeviceOfType(const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0MM::Corepure virtual
    GetLoadedDeviceOfType(const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0MM::Corepure virtual
    GetParentHub(const MM::Device *caller) const =0 (defined in MM::Core)MM::Corepure virtual
    GetSerialAnswer(const Device *caller, const char *portName, unsigned long ansLength, char *answer, const char *term)=0 (defined in MM::Core)MM::Corepure virtual
    GetSerialAnswer(const Device *caller, const char *portName, unsigned long ansLength, char *answer, const char *term)=0 (defined in MM::Core)MM::Corepure virtual
    GetSerialPortType(const char *portName) const =0 (defined in MM::Core)MM::Corepure virtual
    InitializeImageBuffer(unsigned channels, unsigned slices, unsigned int w, unsigned int h, unsigned int pixDepth)=0 (defined in MM::Core)MM::Corepure virtual
    InitializeImageBuffer(unsigned channels, unsigned slices, unsigned int w, unsigned int h, unsigned int pixDepth)=0 (defined in MM::Core)MM::Corepure virtual
    InsertImage(const Device *caller, const ImgBuffer &buf)=0 (defined in MM::Core)MM::Corepure virtual
    InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, unsigned nComponents, const char *serializedMetadata, const bool doProcess=true)=0 (defined in MM::Core)MM::Corepure virtual
    InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, unsigned nComponents, const char *serializedMetadata, const bool doProcess=true)=0 (defined in MM::Core)MM::Corepure virtual
    InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const Metadata *md=0, const bool doProcess=true)=0 (defined in MM::Core)MM::Corepure virtual
    InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const char *serializedMetadata, const bool doProcess=true)=0MM::Corepure virtual
    InsertImage(const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const char *serializedMetadata, const bool doProcess=true)=0MM::Corepure virtual
    InsertMultiChannel(const Device *caller, const unsigned char *buf, unsigned numChannels, unsigned width, unsigned height, unsigned byteDepth, Metadata *md=0)=0MM::Corepure virtual
    LogMessage(const Device *caller, const char *msg, bool debugOnly) const =0MM::Corepure virtual
    LogMessage(const Device *caller, const char *msg, bool debugOnly) const =0MM::Corepure virtual
    MM_DEPRECATED(virtual const char *GetImage())=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetImageDimensions(int &width, int &height, int &depth))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetImageDimensions(int &width, int &height, int &depth))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetFocusPosition(double &pos))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetFocusPosition(double pos))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetFocusPosition(double pos))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int MoveFocus(double velocity))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetXYPosition(double x, double y))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetXYPosition(double x, double y))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetXYPosition(double &x, double &y))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int MoveXYStage(double vX, double vY))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int MoveXYStage(double vX, double vY))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetExposure(double expMs))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetExposure(double &expMs))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetExposure(double &expMs))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int SetConfig(const char *group, const char *name))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetCurrentConfig(const char *group, int bufLen, char *name))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetCurrentConfig(const char *group, int bufLen, char *name))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual int GetChannelConfig(char *channelConfigName, const unsigned int channelConfigIterator))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::ImageProcessor *GetImageProcessor(const MM::Device *caller))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::ImageProcessor *GetImageProcessor(const MM::Device *caller))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::AutoFocus *GetAutoFocus(const MM::Device *caller))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::State *GetStateDevice(const MM::Device *caller, const char *deviceName))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::State *GetStateDevice(const MM::Device *caller, const char *deviceName))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual MM::SignalIO *GetSignalIODevice(const MM::Device *caller, const char *deviceName))=0 (defined in MM::Core)MM::Corepure virtual
    MM_DEPRECATED(virtual void NextPostedError(int &, char *, int, int &))=0MM::Corepure virtual
    MM_DEPRECATED(virtual void NextPostedError(int &, char *, int, int &))=0MM::Corepure virtual
    MM_DEPRECATED(virtual void PostError(const int, const char *))=0MM::Corepure virtual
    MM_DEPRECATED(virtual void ClearPostedErrors(void))=0MM::Corepure virtual
    MM_DEPRECATED(virtual void ClearPostedErrors(void))=0MM::Corepure virtual
    OnExposureChanged(const Device *caller, double newExposure)=0MM::Corepure virtual
    OnMagnifierChanged(const Device *caller)=0MM::Corepure virtual
    OnMagnifierChanged(const Device *caller)=0MM::Corepure virtual
    OnPropertiesChanged(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    OnPropertyChanged(const Device *caller, const char *propName, const char *propValue)=0MM::Corepure virtual
    OnPropertyChanged(const Device *caller, const char *propName, const char *propValue)=0MM::Corepure virtual
    OnSLMExposureChanged(const Device *caller, double newExposure)=0MM::Corepure virtual
    OnStagePositionChanged(const Device *caller, double pos)=0MM::Corepure virtual
    OnStagePositionChanged(const Device *caller, double pos)=0MM::Corepure virtual
    OnXYStagePositionChanged(const Device *caller, double xPos, double yPos)=0MM::Corepure virtual
    PrepareForAcq(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    PrepareForAcq(const Device *caller)=0 (defined in MM::Core)MM::Corepure virtual
    PurgeSerial(const Device *caller, const char *portName)=0 (defined in MM::Core)MM::Corepure virtual
    ReadFromSerial(const Device *caller, const char *port, unsigned char *buf, unsigned long length, unsigned long &read)=0 (defined in MM::Core)MM::Corepure virtual
    ReadFromSerial(const Device *caller, const char *port, unsigned char *buf, unsigned long length, unsigned long &read)=0 (defined in MM::Core)MM::Corepure virtual
    SetDeviceProperty(const char *deviceName, const char *propName, const char *value)=0 (defined in MM::Core)MM::Corepure virtual
    SetSerialCommand(const Device *caller, const char *portName, const char *command, const char *term)=0 (defined in MM::Core)MM::Corepure virtual
    SetSerialCommand(const Device *caller, const char *portName, const char *command, const char *term)=0 (defined in MM::Core)MM::Corepure virtual
    SetSerialProperties(const char *portName, const char *answerTimeout, const char *baudRate, const char *delayBetweenCharsMs, const char *handshaking, const char *parity, const char *stopBits)=0 (defined in MM::Core)MM::Corepure virtual
    WriteToSerial(const Device *caller, const char *port, const unsigned char *buf, unsigned long length)=0 (defined in MM::Core)MM::Corepure virtual
    WriteToSerial(const Device *caller, const char *port, const unsigned char *buf, unsigned long length)=0 (defined in MM::Core)MM::Corepure virtual
    ~Core() (defined in MM::Core)MM::Coreinlinevirtual
    diff --git a/class_m_m_1_1_core.html b/class_m_m_1_1_core.html index 3265a0f..9b53288 100644 --- a/class_m_m_1_1_core.html +++ b/class_m_m_1_1_core.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Core Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    #include <MMDevice.h>

    - - + - - - + + - - - + + - - - - - - - - - + - + - + - + - + - + - - - - - - - - + - - - + - - - - - - - - - - - - - - - - - - + - - + - + - +

    +

    Public Member Functions

    virtual int LogMessage (const Device *caller, const char *msg, bool debugOnly) const =0
    virtual int LogMessage (const Device *caller, const char *msg, bool debugOnly) const =0
     
    virtual DeviceGetDevice (const Device *caller, const char *label)=0
     
    +
    virtual DeviceGetDevice (const Device *caller, const char *label)=0
     
    virtual int GetDeviceProperty (const char *deviceName, const char *propName, char *value)=0
     
    +
    virtual int SetDeviceProperty (const char *deviceName, const char *propName, const char *value)=0
     
    virtual void GetLoadedDeviceOfType (const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0
     Get the names of currently loaded devices of a given type. More...
    virtual void GetLoadedDeviceOfType (const Device *caller, MM::DeviceType devType, char *pDeviceName, const unsigned int deviceIterator)=0
     Get the names of currently loaded devices of a given type.
     
    +
    virtual int SetSerialProperties (const char *portName, const char *answerTimeout, const char *baudRate, const char *delayBetweenCharsMs, const char *handshaking, const char *parity, const char *stopBits)=0
     
    +
    virtual int SetSerialCommand (const Device *caller, const char *portName, const char *command, const char *term)=0
     
    +
    virtual int GetSerialAnswer (const Device *caller, const char *portName, unsigned long ansLength, char *answer, const char *term)=0
     
    +
    virtual int WriteToSerial (const Device *caller, const char *port, const unsigned char *buf, unsigned long length)=0
     
    +
    virtual int ReadFromSerial (const Device *caller, const char *port, unsigned char *buf, unsigned long length, unsigned long &read)=0
     
    +
    virtual int PurgeSerial (const Device *caller, const char *portName)=0
     
    +
    virtual MM::PortType GetSerialPortType (const char *portName) const =0
     
    +
    virtual int OnPropertiesChanged (const Device *caller)=0
     
    virtual int OnPropertyChanged (const Device *caller, const char *propName, const char *propValue)=0
    virtual int OnPropertyChanged (const Device *caller, const char *propName, const char *propValue)=0
     
    virtual int OnStagePositionChanged (const Device *caller, double pos)=0
    virtual int OnStagePositionChanged (const Device *caller, double pos)=0
     
    virtual int OnXYStagePositionChanged (const Device *caller, double xPos, double yPos)=0
    virtual int OnXYStagePositionChanged (const Device *caller, double xPos, double yPos)=0
     
    virtual int OnExposureChanged (const Device *caller, double newExposure)=0
    virtual int OnExposureChanged (const Device *caller, double newExposure)=0
     
    virtual int OnSLMExposureChanged (const Device *caller, double newExposure)=0
    virtual int OnSLMExposureChanged (const Device *caller, double newExposure)=0
     
    virtual int OnMagnifierChanged (const Device *caller)=0
    virtual int OnMagnifierChanged (const Device *caller)=0
     
    +
    virtual unsigned long GetClockTicksUs (const Device *caller)=0
     
    +
    virtual MM::MMTime GetCurrentMMTime ()=0
     
    +
    virtual int AcqFinished (const Device *caller, int statusCode)=0
     
    +
    virtual int PrepareForAcq (const Device *caller)=0
     
    +
    virtual int InsertImage (const Device *caller, const ImgBuffer &buf)=0
     
    +
    virtual int InsertImage (const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, unsigned nComponents, const char *serializedMetadata, const bool doProcess=true)=0
     
    +
    virtual int InsertImage (const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const Metadata *md=0, const bool doProcess=true)=0
     
    virtual int InsertImage (const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const char *serializedMetadata, const bool doProcess=true)=0
    virtual int InsertImage (const Device *caller, const unsigned char *buf, unsigned width, unsigned height, unsigned byteDepth, const char *serializedMetadata, const bool doProcess=true)=0
     
    +
    virtual void ClearImageBuffer (const Device *caller)=0
     
    +
    virtual bool InitializeImageBuffer (unsigned channels, unsigned slices, unsigned int w, unsigned int h, unsigned int pixDepth)=0
     
    virtual int InsertMultiChannel (const Device *caller, const unsigned char *buf, unsigned numChannels, unsigned width, unsigned height, unsigned byteDepth, Metadata *md=0)=0
    virtual int InsertMultiChannel (const Device *caller, const unsigned char *buf, unsigned numChannels, unsigned width, unsigned height, unsigned byteDepth, Metadata *md=0)=0
     
    +
     MM_DEPRECATED (virtual const char *GetImage())=0
     
    +
     MM_DEPRECATED (virtual int GetImageDimensions(int &width, int &height, int &depth))=0
     
    +
     MM_DEPRECATED (virtual int GetFocusPosition(double &pos))=0
     
    +
     MM_DEPRECATED (virtual int SetFocusPosition(double pos))=0
     
    +
     MM_DEPRECATED (virtual int MoveFocus(double velocity))=0
     
    +
     MM_DEPRECATED (virtual int SetXYPosition(double x, double y))=0
     
    +
     MM_DEPRECATED (virtual int GetXYPosition(double &x, double &y))=0
     
    +
     MM_DEPRECATED (virtual int MoveXYStage(double vX, double vY))=0
     
    +
     MM_DEPRECATED (virtual int SetExposure(double expMs))=0
     
    +
     MM_DEPRECATED (virtual int GetExposure(double &expMs))=0
     
    +
     MM_DEPRECATED (virtual int SetConfig(const char *group, const char *name))=0
     
    +
     MM_DEPRECATED (virtual int GetCurrentConfig(const char *group, int bufLen, char *name))=0
     
    +
     MM_DEPRECATED (virtual int GetChannelConfig(char *channelConfigName, const unsigned int channelConfigIterator))=0
     
    +
     MM_DEPRECATED (virtual MM::ImageProcessor *GetImageProcessor(const MM::Device *caller))=0
     
    +
     MM_DEPRECATED (virtual MM::AutoFocus *GetAutoFocus(const MM::Device *caller))=0
     
    +
    virtual MM::HubGetParentHub (const MM::Device *caller) const =0
     
    +
     
     MM_DEPRECATED (virtual MM::State *GetStateDevice(const MM::Device *caller, const char *deviceName))=0
     
    +
     MM_DEPRECATED (virtual MM::SignalIO *GetSignalIODevice(const MM::Device *caller, const char *deviceName))=0
     
     MM_DEPRECATED (virtual void NextPostedError(int &, char *, int, int &))=0
     MM_DEPRECATED (virtual void NextPostedError(int &, char *, int, int &))=0
     
     MM_DEPRECATED (virtual void PostError(const int, const char *))=0
     MM_DEPRECATED (virtual void PostError(const int, const char *))=0
     
     MM_DEPRECATED (virtual void ClearPostedErrors(void))=0
     MM_DEPRECATED (virtual void ClearPostedErrors(void))=0
     

    Detailed Description

    Callback API to the core control module. Devices use this abstract interface to use Core services

    Member Function Documentation

    - -

    ◆ GetDevice()

    + +

    ◆ GetDevice()

    @@ -209,7 +208,7 @@

    - + @@ -234,12 +233,12 @@

    Callback that allows this device adapter to get a pointer to another device. Be aware of potential threading issues. Provide a valid label for the device and receive a pointer to the desired device.

    -

    Referenced by CDeviceBase< T, U >::GetDevice().

    +

    Referenced by CDeviceBase< T, U >::GetDevice().

    - -

    ◆ GetLoadedDeviceOfType()

    + +

    ◆ GetLoadedDeviceOfType()

    @@ -299,8 +298,8 @@

    -

    ◆ InsertImage()

    + +

    ◆ InsertImage()

    @@ -366,8 +365,8 @@

    -

    ◆ InsertMultiChannel()

    + +

    ◆ InsertMultiChannel()

    @@ -433,8 +432,8 @@

    -

    ◆ LogMessage()

    + +

    ◆ LogMessage()

    - -

    ◆ MM_DEPRECATED() [1/3]

    + +

    ◆ MM_DEPRECATED() [1/3]

    @@ -505,8 +504,8 @@

    -

    ◆ MM_DEPRECATED() [2/3]

    + +

    ◆ MM_DEPRECATED() [2/3]

    @@ -532,8 +531,8 @@

    -

    ◆ MM_DEPRECATED() [3/3]

    + +

    ◆ MM_DEPRECATED() [3/3]

    @@ -559,8 +558,8 @@

    -

    ◆ OnExposureChanged()

    + +

    ◆ OnExposureChanged()

    @@ -596,8 +595,8 @@

    -

    ◆ OnMagnifierChanged()

    + +

    ◆ OnMagnifierChanged()

    @@ -623,8 +622,8 @@

    -

    ◆ OnPropertyChanged()

    + +

    ◆ OnPropertyChanged()

    @@ -668,8 +667,8 @@

    -

    ◆ OnSLMExposureChanged()

    + +

    ◆ OnSLMExposureChanged()

    @@ -705,8 +704,8 @@

    -

    ◆ OnStagePositionChanged()

    + +

    ◆ OnStagePositionChanged()

    @@ -742,8 +741,8 @@

    -

    ◆ OnXYStagePositionChanged()

    + +

    ◆ OnXYStagePositionChanged()

    @@ -791,7 +790,7 @@

    diff --git a/class_m_m_1_1_device-members.html b/class_m_m_1_1_device-members.html index 60d745e..b22dcff 100644 --- a/class_m_m_1_1_device-members.html +++ b/class_m_m_1_1_device-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@

    virtual Device* MM::Core::GetDevice virtual Device * MM::Core::GetDevice ( const Device caller,
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70

    - + +/* @license-end */ +
    -
    -
    MM::Device Member List
    +
    MM::Device Member List

    This is the complete list of members for MM::Device, including all inherited members.

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Device() (defined in MM::Device)MM::Deviceinline
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetType() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetType() const =0 (defined in MM::Device)MM::Devicepure virtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    diff --git a/class_m_m_1_1_device.html b/class_m_m_1_1_device.html index 96c408b..add754f 100644 --- a/class_m_m_1_1_device.html +++ b/class_m_m_1_1_device.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Device Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -75,132 +74,109 @@
    - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - - + - - - -

    +

    Public Member Functions

    -virtual unsigned GetNumberOfProperties () const =0
    virtual unsigned GetNumberOfProperties () const =0
     
    -virtual int GetProperty (const char *name, char *value) const =0
    virtual int GetProperty (const char *name, char *value) const =0
     
    -virtual int SetProperty (const char *name, const char *value)=0
    virtual int SetProperty (const char *name, const char *value)=0
     
    -virtual bool HasProperty (const char *name) const =0
    virtual bool HasProperty (const char *name) const =0
     
    -virtual bool GetPropertyName (unsigned idx, char *name) const =0
    virtual bool GetPropertyName (unsigned idx, char *name) const =0
     
    -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
     
    -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
     
    +
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
     
    -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
     
    -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
     
    -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
     
    -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
     
    -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
     
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
     
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
     
    virtual int StartPropertySequence (const char *propertyName)=0
    virtual int StartPropertySequence (const char *propertyName)=0
     
    virtual int StopPropertySequence (const char *propertyName)=0
    virtual int StopPropertySequence (const char *propertyName)=0
     
    virtual int ClearPropertySequence (const char *propertyName)=0
    virtual int ClearPropertySequence (const char *propertyName)=0
     
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
     
    virtual int SendPropertySequence (const char *propertyName)=0
    virtual int SendPropertySequence (const char *propertyName)=0
     
    -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
    virtual bool GetErrorText (int errorCode, char *errMessage) const =0
     
    +
    virtual bool Busy ()=0
     
    -virtual double GetDelayMs () const =0
    virtual double GetDelayMs () const =0
     
    -virtual void SetDelayMs (double delay)=0
    virtual void SetDelayMs (double delay)=0
     
    -virtual bool UsesDelay ()=0
    virtual bool UsesDelay ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    -virtual void SetLabel (const char *label)=0
    virtual void SetLabel (const char *label)=0
     
    -virtual void GetLabel (char *name) const =0
    virtual void GetLabel (char *name) const =0
     
    -virtual void SetModuleName (const char *moduleName)=0
    virtual void SetModuleName (const char *moduleName)=0
     
    -virtual void GetModuleName (char *moduleName) const =0
    virtual void GetModuleName (char *moduleName) const =0
     
    -virtual void SetDescription (const char *description)=0
    virtual void SetDescription (const char *description)=0
     
    -virtual void GetDescription (char *description) const =0
    virtual void GetDescription (char *description) const =0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual DeviceType GetType () const =0
     
    +
    virtual void GetName (char *name) const =0
     
    -virtual void SetCallback (Core *callback)=0
    virtual void SetCallback (Core *callback)=0
     
    +
    virtual bool SupportsDeviceDetection (void)=0
     
    +
    virtual MM::DeviceDetectionStatus DetectDevice (void)=0
     
    +
    virtual void SetParentID (const char *parentId)=0
     
    +
    virtual void GetParentID (char *parentID) const =0
     

    Detailed Description

    Generic device interface.

    Member Function Documentation

    - -

    ◆ AddToPropertySequence()

    + +

    ◆ AddToPropertySequence()

    - -

    ◆ ClearPropertySequence()

    + +

    ◆ ClearPropertySequence()

    - -

    ◆ GetPropertySequenceMaxLength()

    + +

    ◆ GetDelayMs()

    + + + +

    ◆ GetDescription()

    + + + +

    ◆ GetErrorText()

    + + + +

    ◆ GetLabel()

    + + + +

    ◆ GetModuleName()

    + + + +

    ◆ GetNumberOfProperties()

    + + + +

    ◆ GetNumberOfPropertyValues()

    + + + +

    ◆ GetProperty()

    + + + +

    ◆ GetPropertyInitStatus()

    + + + +

    ◆ GetPropertyLowerLimit()

    + + + +

    ◆ GetPropertyName()

    + + + +

    ◆ GetPropertyReadOnly()

    + + + +

    ◆ GetPropertySequenceMaxLength()

    + +

    ◆ GetPropertyType()

    + + + +

    ◆ GetPropertyUpperLimit()

    + + + +

    ◆ GetPropertyValueAt()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + @@ -300,14 +791,41 @@

    -

    The largest sequence that can be stored in the device

    -

    Implemented in CDeviceBase< MM::Hub, U >, CDeviceBase< MM::Stage, U >, CDeviceBase< MM::Serial, U >, CDeviceBase< MM::ImageProcessor, U >, CDeviceBase< MM::XYStage, U >, CDeviceBase< MM::SignalIO, U >, CDeviceBase< MM::Shutter, U >, CDeviceBase< MM::Generic, U >, CDeviceBase< MM::AutoFocus, U >, CDeviceBase< MM::State, U >, CDeviceBase< MM::SLM, U >, CDeviceBase< MM::Galvo, U >, CDeviceBase< MM::Magnifier, U >, and CDeviceBase< MM::Camera, U >.

    +

    Implemented in CDeviceBase< MM::AutoFocus, U >, CDeviceBase< MM::Camera, U >, CDeviceBase< MM::Galvo, U >, CDeviceBase< MM::Generic, U >, CDeviceBase< MM::Hub, U >, CDeviceBase< MM::ImageProcessor, U >, CDeviceBase< MM::Magnifier, U >, CDeviceBase< MM::Serial, U >, CDeviceBase< MM::Shutter, U >, CDeviceBase< MM::SignalIO, U >, CDeviceBase< MM::SLM, U >, CDeviceBase< MM::Stage, U >, CDeviceBase< MM::State, U >, and CDeviceBase< MM::XYStage, U >.

    - -

    ◆ IsPropertySequenceable()

    + +

    ◆ HasProperty()

    + +
    +
    +

    virtual bool MM::Device::GetPropertyValueAt (const char * propertyName,
    unsigned index,
    char * value 
    + + + + +
    + + + + + + + + +
    virtual bool MM::Device::HasProperty (const char * name) const
    +
    +pure virtual
    + + + +

    ◆ IsPropertySequenceable()

    - -

    ◆ SendPropertySequence()

    + +

    ◆ SendPropertySequence()

    + +

    ◆ SetCallback()

    + + + +

    ◆ SetDelayMs()

    + + + +

    ◆ SetDescription()

    + + + +

    ◆ SetLabel()

    + + + +

    ◆ SetModuleName()

    + + + +

    ◆ SetProperty()

    + + - -

    ◆ Shutdown()

    + +

    ◆ Shutdown()

    @@ -400,8 +1096,8 @@

    -

    ◆ StartPropertySequence()

    + +

    ◆ StartPropertySequence()

    - -

    ◆ StopPropertySequence()

    + +

    ◆ StopPropertySequence()

    + +

    ◆ UsesDelay()

    + + @@ -464,7 +1187,7 @@

    diff --git a/class_m_m_1_1_device.png b/class_m_m_1_1_device.png index 7c9d7d79936d55559e8d7daa4de00b0432b0174e..a3dd4c75595a00aff19a03e91632433c24a95118 100644 GIT binary patch literal 4707 zcmd5=dsNc*0_SB9U)frjW=hFyW@$ds)cKmW{F!OfZswCpdXTB5A&McU_o!PING748 z?dW8d>B_ev*36_(Tc}x@qA8N0G8I!0YT?zv~%J@;<+k2vRhfFJNZ-|y%5d42ij zpwB)nb$xXR1fm6adiX&gP#p*a{`o36cxBgd-%jvp(?Rb;dzDHh`0~xf9FF`GbI&f* za~o;xZ|>i}4_^1DcKrZ;w)%pfk3R%_zx=R+<#j_KYo`DYw?pyJ$pKN!%pU!{!>xy} zbLUB|S_?NLW4-i+)>e*{gEt{g)=5G4lratrAICNKh3%!{#iZWVp8WYRR~dUA#+z@_ zrLe_Kk6cThKCP%R(4`f!#ft(tuWmPGSc9e;+;_dXsrBlL7=_bB_W8G)y7u$u6)o5) zjwUUk>0t14Yn!zT+?gxjZ`xv4QF^rNHT-J5!LN*9#U%|d*2Tr{rc6&cWOX3t#SKJ$ za5^F|avOgOkw5Rte9$)a_UgICY&xHjv{_~tvj%h4dF`xd=5FjmrfLel&%doOSwa-6 z6^j!skVJkWbbN7e(T37BexVN!(YD#_YJ!B!mx#8)x?!**r^p!y#L)2H;lIFO@lYr$ z84~6Su|Ov4>fF~@HKd04-!BKJWcxkog#R*lR(&hb=;Mk?fM$)Vc~EtAfUtE)rtAzi zj~qbCFL$9z^007BT^aZCPO}F@20GY4b96?;GGN=tzpnKn(uJ1-jQ5>n_4W8|!#d4{ zx`cA^qFxl%UMqD+#k@8rUL#OeR)xY^-g$K>(${-`Gk)n@y1dA^3m01ZOm2u_G3ENj z)5eu-wO1?a2M?n8?h_Hzs{AxJ`MpQ(yFw?gG20iaYYMHXk_rBjXHeIuC=(v`CG7PPB-iQg;KrobJ6G)b#~0*qO1Y@v%1Jn7oKyCcM__vL z7}%-1!4-I1LYM!TA%}n(e_#N4SYR^i-)ieee9~SB@QSeN9@HhmhxL_xq61W`M&&-& z!-mkngp2x~rr%FELc|?8NJxk8U*yssW4F`I%k+d08Xs+|mQ@_O?ZXWOVXJVX_!FxI z@^Pu~T_aUeiCv4SdjdihdUTG7Qp9VoIR0s`U0djd&3t?61yb%8RxP{3ES~2irJ1Cu zTh)8=D(y8h?7f4B6J2u>k2hJK%%LB1-c6MpuYrs=l=q*ug$GVtCTYQbd?uINZDb!a zcL_=9Mx)iN&s?WSpCPGdRO1vmx$Fzry_p3Yil5g@ zJY+C$ryC@<@UN@x50Ls#V)S1YqqJ+5jB?5s7TT`13gHP_bCT*^8cqU)J?T(Ox+sr1 zU3tDgU&%@m^q8NS0_W}2*&^Ho`r5M|{sl|f_ zgu?0R0#J{=>p-hm_6^MSWY1fw!EgdWTg7=Y(&Y-?cRqOEYY@=WN&hd;`VD%KtNpx8 z!3;>OG|fOwI{eGQz-8S@$$xu$C(%-gH3JBi9VwXsL})2D`HPkHJIXEQtO0_+nn7jY3(tjkfFV}O&yl55Zhd|Q(QoAqAsRE zlw`_zTSEA5AxA}^#~(F;22Z8rKT_g_0m0=Ps28GrXhwhxJ^LN9MJ+V!tkj=kMBGoE zI&cliOb}%z4$Bv39OS!GHPLzOyE3-IP>IRv2V=6wV_-Df|&Bk zFk^1^&4YcoM4L+Y!@7&=7~-0GC4XkZkcZ>|K{%pECjOkDl4naXI)F^j-Gu~{ zByH%u7rIo*BZKht%>FRyAfv@V59mAU<%;T2jZT%bfq^iMMSh=sPYhw%1*br4TzND4qV+VS1N64TH!!T*b<1;HTb@`yd zMLST0B*ZvNU3h&o3@rPCUDxJg{$Z>0Kp3xo0M; zKK5^yZ!?UH;cZS7S$0-&W0!gcN)c5MQiXEL4Nqb1*+7+?)^2crRI~+X&L1(<17wQq zk5I{x%SvYUNSW;Oi}fg{g0I}txQ(nAymFS;z(sSwckCvz#+?lxCDixwFAIJ&Tph*U z4p<01kz6gw2_$=4i9n_ys_^1*U&4w-4N*leAsC|n02FbwNZJ~XHwboy1tzJc@kGuZ zz}2N|R`8))0g}xJJ2|{Mqc{j0eJ_oXW~yj#)&hILyUkz^*sqg3w(YOMC7A4|1D^KJKyUQ?^cp` z%O#0D#3{3oICCcF+3FZ}=~Xgq+|;_csiDV{*M!vp+eOsJ-7YMb+eMXwa>w8iqCYjv zCj!~h3OXLv%C1*AiR|r7C<@7GVe8pG6=(qjtB%d|X@>yrvB;ox86?&as8F!`3s&6v z#G%v{4BmowQMYP99!>5XSur}L6+nGnskR)Mv)UQ_L*hw_z!(5sG?hFcP;-Ho;;$JS z(H%iH^@z9VUWJ~R2Gw_}Ya^(>$&WfK!rYh31{Svz$lCHacZoh7L6sa0g6WwHW{&T_ zmJm~F%(-2$Src>7sX4J}X}Bvv*nMU0P;sfTbx7a2YMi}kH)9vQhd8|#lwK8bS8{5~ zLcxt3JG*b!bIxs2)V|MBr5b%I#}3)%Y*nk2iBmHZU#}QF?MrV|sjnfu-Ip$f_a7MP z1$(UxVk_X1udBNgAdkf(FBhSJ<~;Zmg~t4nYS?K>2D7)>^dme9=p$4|0iWBmPhV>R zvW}`%Rw0vMWitu)qe>d>w{mcWna$-!Ve{S!uxjO-klW9FUcTu;&IoStygt8z1n_3< zH90Zx1CFhs+M3HcZQeD2-bR^@G6Q^1X)GTI#zJ+#4p;k#EWUTeIWA!3usvs5yk*{X zgAj8Oq17n-#TT^m0r>*!BAi2h`lNS)Qdn?3+5zlsEgvIfxgQ{#0U?{N0$c6~2w9xe zWIZLJ@RgieOzV1+rKjDBGky_sgzPbbW>bp;Vv(RmbK{=Sl2tSlS$NO)4nLGj+RsAY z=i-{Tsy>XH^$4X&OyS5w!xu zF=ne`toAETfba(##j*BAf@SNkxGbB)9|2Cjvf=n!^3b7(vs>8U-$4*yua8Ihmq%0n0eQ6nFaQ7m literal 4659 zcmd5=dsve99>-gn+H~D5FK|A>vjk6OdEJ$O||xz(RouA%Pdpi_LR7=Q-Q6opb((=i%YyeSXjTeEIx7 zw;%cMha;ERud#0xy4>(4|qn zqk>oS?~aZRoBTl!@T=XK1L2VnaFO{X>_)>OkT<{E8xn**YoQd2(={9yo8cRoTg9f0 zwuOOfT}(FF7cRC$Hk`EjG(>PFjN$r5?)^_~f7J7|CiQY_j=d$;#-fP~>FWuE(mgP7 z-Y`|bdg9rOSytYp;pa=aFA_c4D-K%`rn4np+AX-~Scrd_*sVkx-yU;f3vK(EbsX9N z0^(mmgG4E*On_T#@#5@MMkK3mSxV{>szH^xj!7P5k6S(pBiG%DR5|CM5_2hHq1*6m zq|B(2io%A1Rp)szs0TXTRHOD2luHiDXMUilpqx4&@Q^dG*^auxnnPU689u$+Hv%K8&_WiwIKbmpHwlii{W97(%Y=^r}n)KjVqx(`!B&*!*!dN^%_ecCUbl-ScgL2xd z(umo=FyR`T2-=>YCpRmRL5JLJq6jm)sM|Wvsvy3*j*=l0#NP|SOU(bk>Qjs1ovTsq zIb8{n&O%1`!Z@4rN|p9wU$u2=jL#;Ky2id$90M5zYus1b6&kx}16CsOjn+SEOX534({f#}9fa39{ynAP!Z{l=U0-GsAi@?nm zxPhA;=A0u&{i{&_0BJy3|K{qgL7l5dzqk7NX|nwdGf<*~<0Xw$co4$Yqag<3p1e?ay^K5)3bKQzk+uDw}bOt>V|3qBOFe<0OJ z=&K-$a}7nPG&a!MnVce$(=okXepRjn%zzRl#UxcB#rMsfn_+ zNZC!*Iz9Bc1~zwQSF!E)cm&Izf>DD~Y+%eg#pb*6ES1_jqKr4})AjbLuXtmWhD@3if5~z~&ou=@`xk&F)=n++8AF*FHE6A-@JNnu zvqiNnvg_ERt?W`MGS%d0)jiU3Y+9sW#LP8Dp(3E<^_AFkIgo2Gi6?g!*IrbxyvvAa zQ-k3qAa{6&^+3Y}hK$7uR^LX>@Vzt{>-0=^rk^Rz#+#(n6bbdC`WdG((<ggL*SpES;6cs@92;_-ZI=E4yJ@ffz#Lra}gz{q8+aR?u5S|jFsoqC<#bkv`jJK;R`d9B3# zO>NB7lvlGai9P$7fe+LKlu36~&zZDK0mSsXy7Po0H#ja!h?K`)E>tYq{`&cv!^`Lt zpojR+X73N*rwC6V06Eti#9W+MqnBl^Zm`4eHl;|MyD&I)`4FEHu(Drpr37~Bn{%d4 zDW4ln>C znv_Bj_r~cfvrTi&(z(fQq^#$lI9jROhL_#7ZSsvrt9xPt(WG7U=&uz>Z7G0pbr4cy zp&6WWJJ6)v4Ov(;$^Z3pzijfn`yJ|{ON;dMTB5IyjWs!v2QYe96_1z%(#Nr<)&`nP4c4wwy2A)|qPi zV`JY^>tp)Jh0^wa@v~PRk{o7kGa9hXTqjrir!9;F_Os+%AXmDxm?oS=@<)P¨Pq z9|!dehZ^pW&(#9jaBow#Q6Lo@2B8`;a30{>HJf=-0oRk{IF@d8TmCS}j7lwxhY-ax zcv+#K7rsnP!tybEB)?1Gu^T?_z;e>eWs&U1G9$}9U^E6#rxf1aqmxWHhv%NI60xNT9Y->bdJP5Ym3)ks=ZgS^`(&^12t8dxZFYi zt7tX<4G(6^su>p!9zl?<7aX5M+@=V&%mCNzUYP#w~$V+VOXYHo5PY2ZU^{8Q?n2)(j^RK!tkJOq1x;IIP$a!n_$$>zyLbaMJ)MCr8roHBmQm+W=)f3kLa{JCkbGIRY-DZCf zn*PqbNxVEY-3g}N*R0`k6)#e?mlP4(!R3o)Z(wWO^DK9YCj9fYhUvUxmUPuY#st5+Kk_co2aw#n5+;rVciJL~;tf7HP ziAa3?5DWVUV$+utEs1nMp5$wGvVbq`@nTOk@fOkB#}6(Kp1kwsaYC#hM2l%XF#BPw znPoBQ-5wU-`=vzHvro6OD^R=)0dFPHyJP=a{wR*AnJYv*w4Po@^tc>gSRqt{ijWof#Y{ChUXdDM@DCWq z+k|b@YrKQClxi4_0{y4(-nFbED zdP2EJ>#zGL@w4&^+u7TOP90S9f5FYdlT+)1$bS{l1hFBk~HH4Km z$WcBeXrw(;o8|AR4Sv=}pQ~j!b{x_!&Qnxsg#<$+fGNMmZV7JRy_uxpR1<%tO_ZA~ Z5?F - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +

    -
    -
    MM::FloatProperty Member List
    +
    MM::FloatProperty Member List

    This is the complete list of members for MM::FloatProperty, including all inherited members.

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AddAllowedValue(const char *value) (defined in MM::Property)MM::Property
    AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
    AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
    AddToSequence(const char *value) (defined in MM::Property)MM::Propertyinlinevirtual
    Apply() (defined in MM::Property)MM::Propertyinline
    Apply() (defined in MM::Property)MM::Propertyinline
    cached_ (defined in MM::Property)MM::Propertyprotected
    ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
    ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
    ClearSequence() (defined in MM::Property)MM::Propertyinlinevirtual
    FloatProperty(const char *name) (defined in MM::FloatProperty)MM::FloatPropertyinline
    FloatProperty(const char *name) (defined in MM::FloatProperty)MM::FloatPropertyinline
    fpAction_ (defined in MM::Property)MM::Propertyprotected
    Get(double &val) const (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Get(double &val) const (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Get(long &val) const (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Get(std::string &val) const (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Get(std::string &val) const (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    GetAllowedValues() const (defined in MM::Property)MM::Property
    GetCached() const (defined in MM::Property)MM::Propertyinline
    GetCached() const (defined in MM::Property)MM::Propertyinline
    GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
    GetInitStatus() const (defined in MM::Property)MM::Propertyinline
    GetInitStatus() const (defined in MM::Property)MM::Propertyinline
    GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetName() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetName() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetReadOnly() const (defined in MM::Property)MM::Propertyinline
    GetSequence() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetSequence() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
    GetType() (defined in MM::FloatProperty)MM::FloatPropertyinlinevirtual
    GetType() (defined in MM::FloatProperty)MM::FloatPropertyinlinevirtual
    GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
    hasData_ (defined in MM::Property)MM::Propertyprotected
    hasData_ (defined in MM::Property)MM::Propertyprotected
    HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
    initStatus_ (defined in MM::Property)MM::Propertyprotected
    initStatus_ (defined in MM::Property)MM::Propertyprotected
    IsAllowed(const char *value) const (defined in MM::Property)MM::Property
    IsSequenceable() (defined in MM::Property)MM::Propertyinline
    IsSequenceable() (defined in MM::Property)MM::Propertyinline
    limits_ (defined in MM::Property)MM::Propertyprotected
    lowerLimit_ (defined in MM::Property)MM::Propertyprotected
    lowerLimit_ (defined in MM::Property)MM::Propertyprotected
    name_ (defined in MM::Property)MM::Propertyprotected
    Property(const char *name) (defined in MM::Property)MM::Propertyinline
    Property(const char *name) (defined in MM::Property)MM::Propertyinline
    readOnly_ (defined in MM::Property)MM::Propertyprotected
    RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
    RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
    SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
    sequenceable_ (defined in MM::Property)MM::Propertyprotected
    sequenceable_ (defined in MM::Property)MM::Propertyprotected
    sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
    sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
    sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
    Set(double val) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Set(long val) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Set(long val) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    Set(const char *val) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
    SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
    SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
    SetLimits(double lowerLimit, double upperLimit) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    SetLimits(double lowerLimit, double upperLimit) (defined in MM::FloatProperty)MM::FloatPropertyvirtual
    SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
    SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
    SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
    StartSequence() (defined in MM::Property)MM::Propertyinline
    StopSequence() (defined in MM::Property)MM::Propertyinline
    StopSequence() (defined in MM::Property)MM::Propertyinline
    Update() (defined in MM::Property)MM::Propertyinline
    upperLimit_ (defined in MM::Property)MM::Propertyprotected
    upperLimit_ (defined in MM::Property)MM::Propertyprotected
    values_ (defined in MM::Property)MM::Propertyprotected
    ~FloatProperty() (defined in MM::FloatProperty)MM::FloatPropertyinlinevirtual
    ~FloatProperty() (defined in MM::FloatProperty)MM::FloatPropertyinlinevirtual
    ~Property() (defined in MM::Property)MM::Propertyinlinevirtual
    ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
    ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
    diff --git a/class_m_m_1_1_float_property.html b/class_m_m_1_1_float_property.html index a09dd1f..6603458 100644 --- a/class_m_m_1_1_float_property.html +++ b/class_m_m_1_1_float_property.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::FloatProperty Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    @@ -63,177 +62,395 @@
    - - - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - + - + - + - + + - + - + - + - + - + - + - - - + + -

    +

    Public Member Functions

    +
     FloatProperty (const char *name)
     
    -PropertyType GetType ()
    PropertyType GetType ()
     
    -bool Set (double val)
    bool Set (double val)
     
    -bool Set (long val)
    bool Set (long val)
     
    -bool Set (const char *val)
    bool Set (const char *val)
     
    -bool Get (double &val) const
    bool Get (double &val) const
     
    -bool Get (long &val) const
    bool Get (long &val) const
     
    -bool Get (std::string &val) const
    bool Get (std::string &val) const
     
    -bool SetLimits (double lowerLimit, double upperLimit)
    bool SetLimits (double lowerLimit, double upperLimit)
     
    - Public Member Functions inherited from MM::Property
    +
     Property (const char *name)
     
    +
    bool GetCached () const
     
    +
    void SetCached (bool bState=true)
     
    +
    bool GetReadOnly () const
     
    +
    void SetReadOnly (bool bState=true)
     
    +
    bool GetInitStatus () const
     
    +
    void SetInitStatus (bool init)
     
    +
    void RegisterAction (ActionFunctor *fpAction)
     
    +
    int Update ()
     
    +
    int Apply ()
     
    +
    std::vector< std::string > GetAllowedValues () const
     
    +
    void ClearAllowedValues ()
     
    +
    void AddAllowedValue (const char *value)
     
    +
    void AddAllowedValue (const char *value, long data)
     
    +
    bool IsAllowed (const char *value) const
     
    +
    bool GetData (const char *value, long &data) const
     
    -bool HasLimits () const
    bool HasLimits () const
     
    -double GetLowerLimit () const
    double GetLowerLimit () const
     
    -double GetUpperLimit () const
    double GetUpperLimit () const
     
    +
    bool SetLimits (double lowerLimit, double upperLimit)
     
    bool IsSequenceable ()
     
    -void SetSequenceable (long sequenceMaxSize)
    void SetSequenceable (long sequenceMaxSize)
     
    -long GetSequenceMaxSize () const
    long GetSequenceMaxSize () const
     
    -int ClearSequence ()
    int ClearSequence ()
     
    -int AddToSequence (const char *value)
    int AddToSequence (const char *value)
     
    -int SendSequence ()
    int SendSequence ()
     
    -std::string GetName () const
    std::string GetName () const
     
    -std::vector< std::string > GetSequence () const
     
    +
    std::vector< std::string > GetSequence () const
     
    int StartSequence ()
     
    +
    int StopSequence ()
     
    - - - - - - - - - - - - - -

    +

    Additional Inherited Members

    - Protected Attributes inherited from MM::Property
    +
    bool readOnly_
     
    +
    ActionFunctorfpAction_
     
    +
    bool cached_
     
    +
    bool hasData_
     
    +
    bool initStatus_
     
    +
    bool limits_
     
    +
    bool sequenceable_
     
    +
    long sequenceMaxSize_
     
    +
    std::vector< std::string > sequenceEvents_
     
    +
    double lowerLimit_
     
    +
    double upperLimit_
     
    +
    std::map< std::string, long > values_
     
    +
    const std::string name_
     

    Detailed Description

    Floating point property class (uses double type for value representation).

    -

    The documentation for this class was generated from the following files:
      +

      Member Function Documentation

      + +

      ◆ Get() [1/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Get (double & val) const
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ Get() [2/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Get (long & val) const
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ Get() [3/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Get (std::string & val) const
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ GetType()

      + +
      +
      + + + + + +
      + + + + + + + +
      PropertyType MM::FloatProperty::GetType ()
      +
      +inlinevirtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ Set() [1/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Set (const char * val)
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ Set() [2/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Set (double val)
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ Set() [3/3]

      + +
      +
      + + + + + +
      + + + + + + + + +
      bool MM::FloatProperty::Set (long val)
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      + +

      ◆ SetLimits()

      + +
      +
      + + + + + +
      + + + + + + + + + + + + + + + + + + +
      bool MM::FloatProperty::SetLimits (double lowerLimit,
      double upperLimit 
      )
      +
      +virtual
      +
      + +

      Implements MM::PropertyBase.

      + +
      +
      +
      The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_float_property.png b/class_m_m_1_1_float_property.png index f526a810e8fd53d77b797c18f35198426bbbcbf3..bf5c7b0d6dc2bcd7608bc9ae7d0dade06f7cde8c 100644 GIT binary patch delta 761 zcmZoS!Kw|ot7Y7a;0E!1sy1W7?$5|5O z7t8?UgMm5I>?;fmOmjS4978G?-_CuwX|)1R%ked`*!XOHQmm6DP-aIE3amix#hl!D_vi` za8B^)%PUuD&HenfJ6Kfmp3%bXpVD6?x&%M1sM`7Jq~*z|*->|2i++6-cYejHSxaV| z&#pL~9LbR#Yo0x$Ud2A}b!N@u+)p-NbzfY*@_oU-rOKYce8*WJu6j&eX7U4j03;A}xl9Q$PVtB!N5H$0T-hPgJo!y;3D} z<^L|JBT(`5k`+QGN(bb~w5!xV+)E1o2nOA)$ z>3k8~y6gJfz}dSzC$-+X8ZyT(H1uW2l|70tZTH`8U)esy&v$KmF~`=elEGP@zdpGyGil3}{=np(joTR>c>6M3h;?3Z*@Vfu#mbqz zKH+#k{i?RPTnx*w`2^;*1ACn~7VZ`Z@>;oh&a5D>X;MCSA8ZcIE1Nd|)eZJf5nh_H zt9b-pWlcYN)b@?W(k1`4&ApTS-{Y)$^m)7gw^w%W?mM@RW$js+od;D88-?x;J@q-n z&?)q;(Gs_!d&^f<>lSQk{~K2hjLx)B-=i-}KFXZm_3Vv6NMP#b(o6dm%ZX>r*(zhX zcwXu=>#WlC^Mm-WF3GOYyjqmqD|L>)_RelF{r5}E*WQ+DqF literal 769 zcmeAS@N?(olHy`uVBq!ia0vp^r9j-l!3-qdT?_F9QW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;1fyD*%M}| zeVG>(bNQTx@6GIYrTSBfv+AsZLw6SMt1DZjb2wVAIo2}ucj~lESy}*(>Q}X?i!NBHCc0oLcKjgjUiJOh3eQ(-Jf|+1 z_G|qLy~xLI&wr|WUf;#FGVt&mh)-{Ky}A~%hPhjM*WyTFp=Onp0j7sDBVWJMjQ^da zoTt0>)H0RSs_v*euR(sCvc%_W)+xXARa)g-S$6_n+3vrqAIz`(KIr_Wu;pUkfB9xj zGzs3?F4gB6UuhTr%j~M$bAhZ}W8alm&tLv?b|TOflz8Wy<@H#L24K`ROq24t`=Hx& zoo?~viD~VI4cSi>JEh+2swm>OW;*kK+vMsu@+&{4JbZKea5Vd)lg+c6oQ&Pxb)KDL zaCMjKsmE7Rgszq>S2X@)b@fhmn|Jk%_oeAmmgR_Doig{F*!hoZ6w})mG|e)r_PFJK z<+0P$&Cit6uWUY3zopr00${`IsgCw diff --git a/class_m_m_1_1_galvo-members.html b/class_m_m_1_1_galvo-members.html index c7f0ab8..dca07cb 100644 --- a/class_m_m_1_1_galvo-members.html +++ b/class_m_m_1_1_galvo-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ +
      -
      -
      MM::Galvo Member List
      +
      MM::Galvo Member List

      This is the complete list of members for MM::Galvo, including all inherited members.

      - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
      AddPolygonVertex(int polygonIndex, double x, double y)=0MM::Galvopure virtual
      AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
      AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
      Busy()=0 (defined in MM::Device)MM::Devicepure virtual
      ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      DeletePolygons()=0MM::Galvopure virtual
      DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
      DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
      Device() (defined in MM::Device)MM::Deviceinline
      Galvo() (defined in MM::Galvo)MM::Galvoinline
      Galvo() (defined in MM::Galvo)MM::Galvoinline
      GetChannel(char *channelName)=0MM::Galvopure virtual
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPosition(double &x, double &y)=0MM::Galvopure virtual
      GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
      GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetType() const (defined in MM::Galvo)MM::Galvoinlinevirtual
      GetXMinimum()=0MM::Galvopure virtual
      GetXMinimum()=0MM::Galvopure virtual
      GetXRange()=0MM::Galvopure virtual
      GetYMinimum()=0MM::Galvopure virtual
      GetYMinimum()=0MM::Galvopure virtual
      GetYRange()=0MM::Galvopure virtual
      HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
      LoadPolygons()=0MM::Galvopure virtual
      LoadPolygons()=0MM::Galvopure virtual
      MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
      PointAndFire(double x, double y, double time_us)=0MM::Galvopure virtual
      RunPolygons()=0MM::Galvopure virtual
      RunPolygons()=0MM::Galvopure virtual
      RunSequence()=0MM::Galvopure virtual
      SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
      SetIlluminationState(bool on)=0MM::Galvopure virtual
      SetIlluminationState(bool on)=0MM::Galvopure virtual
      SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
      SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
      SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
      SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
      SetPolygonRepetitions(int repetitions)=0MM::Galvopure virtual
      SetPolygonRepetitions(int repetitions)=0MM::Galvopure virtual
      SetPosition(double x, double y)=0MM::Galvopure virtual
      SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
      SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
      SetSpotInterval(double pulseInterval_us)=0MM::Galvopure virtual
      Shutdown()=0MM::Devicepure virtual
      Shutdown()=0MM::Devicepure virtual
      StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopSequence()=0MM::Galvopure virtual
      SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
      SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
      Type (defined in MM::Galvo)MM::Galvostatic
      UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
      UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
      ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
      ~Galvo() (defined in MM::Galvo)MM::Galvoinlinevirtual
      ~Galvo() (defined in MM::Galvo)MM::Galvoinlinevirtual
      diff --git a/class_m_m_1_1_galvo.html b/class_m_m_1_1_galvo.html index ab521ed..70ea524 100644 --- a/class_m_m_1_1_galvo.html +++ b/class_m_m_1_1_galvo.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Galvo Class Reference @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ + -
      -
      MM::Galvo Class Referenceabstract
      +
      MM::Galvo Class Referenceabstract
      @@ -65,173 +64,149 @@
      - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

      +

      Public Member Functions

      -virtual DeviceType GetType () const
      virtual DeviceType GetType () const
       
      virtual int PointAndFire (double x, double y, double time_us)=0
      virtual int PointAndFire (double x, double y, double time_us)=0
       
      virtual int SetSpotInterval (double pulseInterval_us)=0
      virtual int SetSpotInterval (double pulseInterval_us)=0
       
      virtual int SetPosition (double x, double y)=0
      virtual int SetPosition (double x, double y)=0
       
      virtual int GetPosition (double &x, double &y)=0
      virtual int GetPosition (double &x, double &y)=0
       
      virtual int SetIlluminationState (bool on)=0
      virtual int SetIlluminationState (bool on)=0
       
      virtual double GetXRange ()=0
      virtual double GetXRange ()=0
       
      virtual double GetXMinimum ()=0
      virtual double GetXMinimum ()=0
       
      virtual double GetYRange ()=0
      virtual double GetYRange ()=0
       
      virtual double GetYMinimum ()=0
      virtual double GetYMinimum ()=0
       
      virtual int AddPolygonVertex (int polygonIndex, double x, double y)=0
      virtual int AddPolygonVertex (int polygonIndex, double x, double y)=0
       
      virtual int DeletePolygons ()=0
      virtual int DeletePolygons ()=0
       
      virtual int RunSequence ()=0
      virtual int RunSequence ()=0
       
      virtual int LoadPolygons ()=0
      virtual int LoadPolygons ()=0
       
      virtual int SetPolygonRepetitions (int repetitions)=0
      virtual int SetPolygonRepetitions (int repetitions)=0
       
      virtual int RunPolygons ()=0
      virtual int RunPolygons ()=0
       
      virtual int StopSequence ()=0
      virtual int StopSequence ()=0
       
      virtual int GetChannel (char *channelName)=0
      virtual int GetChannel (char *channelName)=0
       
      - Public Member Functions inherited from MM::Device
      -virtual unsigned GetNumberOfProperties () const =0
      virtual unsigned GetNumberOfProperties () const =0
       
      -virtual int GetProperty (const char *name, char *value) const =0
      virtual int GetProperty (const char *name, char *value) const =0
       
      -virtual int SetProperty (const char *name, const char *value)=0
      virtual int SetProperty (const char *name, const char *value)=0
       
      -virtual bool HasProperty (const char *name) const =0
      virtual bool HasProperty (const char *name) const =0
       
      -virtual bool GetPropertyName (unsigned idx, char *name) const =0
      virtual bool GetPropertyName (unsigned idx, char *name) const =0
       
      -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
      virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
       
      -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
      virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
       
      +
      virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
       
      -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
      virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
       
      -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
      virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
       
      -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
      virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
       
      -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
      virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
       
      -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
      virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
       
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
       
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
       
      virtual int StartPropertySequence (const char *propertyName)=0
      virtual int StartPropertySequence (const char *propertyName)=0
       
      virtual int StopPropertySequence (const char *propertyName)=0
      virtual int StopPropertySequence (const char *propertyName)=0
       
      virtual int ClearPropertySequence (const char *propertyName)=0
      virtual int ClearPropertySequence (const char *propertyName)=0
       
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
       
      virtual int SendPropertySequence (const char *propertyName)=0
      virtual int SendPropertySequence (const char *propertyName)=0
       
      -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
      virtual bool GetErrorText (int errorCode, char *errMessage) const =0
       
      +
      virtual bool Busy ()=0
       
      -virtual double GetDelayMs () const =0
      virtual double GetDelayMs () const =0
       
      -virtual void SetDelayMs (double delay)=0
      virtual void SetDelayMs (double delay)=0
       
      -virtual bool UsesDelay ()=0
      virtual bool UsesDelay ()=0
       
      +
       MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
       
      +
       MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
       
      -virtual void SetLabel (const char *label)=0
      virtual void SetLabel (const char *label)=0
       
      -virtual void GetLabel (char *name) const =0
      virtual void GetLabel (char *name) const =0
       
      -virtual void SetModuleName (const char *moduleName)=0
      virtual void SetModuleName (const char *moduleName)=0
       
      -virtual void GetModuleName (char *moduleName) const =0
      virtual void GetModuleName (char *moduleName) const =0
       
      -virtual void SetDescription (const char *description)=0
      virtual void SetDescription (const char *description)=0
       
      -virtual void GetDescription (char *description) const =0
      virtual void GetDescription (char *description) const =0
       
      +
      virtual int Initialize ()=0
       
      virtual int Shutdown ()=0
      virtual int Shutdown ()=0
       
      +
      virtual void GetName (char *name) const =0
       
      -virtual void SetCallback (Core *callback)=0
      virtual void SetCallback (Core *callback)=0
       
      +
      virtual bool SupportsDeviceDetection (void)=0
       
      +
      virtual MM::DeviceDetectionStatus DetectDevice (void)=0
       
      +
      virtual void SetParentID (const char *parentId)=0
       
      +
      virtual void GetParentID (char *parentID) const =0
       
      - -

      +

      Static Public Attributes

      +
      static const DeviceType Type = GalvoDevice
       

      Detailed Description

      Galvo API A Galvo in Micro-Manager is a two-axis (conveniently labeled x and y) that can illuminate a sample in the microscope. It therefore also has the capability to switch a light source on and off (note that this functionality can be offloaded to a shutter device that can be obtained through a callback). Galvos can illuminate a point, or possibly be directed to illuminate a polygon by scanning the two axis and controlling the light source so that only the area with the polygon is illuminated. Currently known implementations are Utilities-DAGalvo (which uses two DAs to control a Galvo), Democamera-Galvo, ASITiger-ASIScanner, and Rapp. There is no integration with a detector as would be needed for a confocal microscope, and there is also no support for waveforms.

      Member Function Documentation

      - -

      ◆ AddPolygonVertex()

      + +

      ◆ AddPolygonVertex()

      @@ -274,8 +249,8 @@

      -

      ◆ DeletePolygons()

      + +

      ◆ DeletePolygons()

      @@ -300,8 +275,8 @@

      -

      ◆ GetChannel()

      + +

      ◆ GetChannel()

      @@ -327,8 +302,8 @@

      -

      ◆ GetPosition()

      + +

      ◆ GetPosition()

      @@ -364,8 +339,35 @@

      -

      ◆ GetXMinimum()

      + +

      ◆ GetType()

      + +
      +
      + + + + + +
      + + + + + + + +
      virtual DeviceType MM::Galvo::GetType () const
      +
      +inlinevirtual
      +
      + +

      Implements MM::Device.

      + +
      +
      + +

      ◆ GetXMinimum()

      @@ -390,8 +392,8 @@

      -

      ◆ GetXRange()

      + +

      ◆ GetXRange()

      @@ -416,8 +418,8 @@

      -

      ◆ GetYMinimum()

      + +

      ◆ GetYMinimum()

      @@ -442,8 +444,8 @@

      -

      ◆ GetYRange()

      + +

      ◆ GetYRange()

      @@ -468,8 +470,8 @@

      -

      ◆ LoadPolygons()

      + +

      ◆ LoadPolygons()

      @@ -494,8 +496,8 @@

      -

      ◆ PointAndFire()

      + +

      ◆ PointAndFire()

      @@ -537,8 +539,8 @@

      -

      ◆ RunPolygons()

      + +

      ◆ RunPolygons()

      @@ -563,8 +565,8 @@

      -

      ◆ RunSequence()

      + +

      ◆ RunSequence()

      @@ -589,8 +591,8 @@

      -

      ◆ SetIlluminationState()

      + +

      ◆ SetIlluminationState()

      @@ -616,8 +618,8 @@

      -

      ◆ SetPolygonRepetitions()

      + +

      ◆ SetPolygonRepetitions()

      @@ -643,8 +645,8 @@

      -

      ◆ SetPosition()

      + +

      ◆ SetPosition()

      @@ -680,8 +682,8 @@

      -

      ◆ SetSpotInterval()

      + +

      ◆ SetSpotInterval()

      @@ -707,8 +709,8 @@

      -

      ◆ StopSequence()

      + +

      ◆ StopSequence()

      @@ -735,12 +737,12 @@

      MMDevice.h -
    • MMDevice.cpp
    • +
    • MMDevice.cpp
    diff --git a/class_m_m_1_1_galvo.png b/class_m_m_1_1_galvo.png index c09e70290e88e82b847352870ee5c2f10a58a408..f0c1f11b1f68dcdfd7a2dcadf64f046b92ad369a 100644 GIT binary patch delta 1049 zcmV+!1m^pO38M*+B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00b^cL_t(|0qvdblCvNTMvo6Oo!tKwzqSg3+HSwx z$iC@#7K*H##6bU&Qc4{|lB8}4e@XHq{3XecPyL6bt-5pP`hSt6mYpF-r+m-Gb!ENs%~9S*?RHMVVIe{&vE{h zc24wZ{o9PM(_W$|)}@5Z%s%4R{F|(w&VOAL?SV_PB)&S1&hB4iNBg`B=8cgLsgs;P zW@cW5znPgI;csTi_703Fl0|K-wm0G<1f`dtUmyMLTN0G@^<=(u;l$+eE2deRQbh-Dee`TJZS(a=c z^oD=?z`cR({Sw$BIn0B%yH&R?sJn~o`&Xg8>R*4YRh4eJxn!?edC$LkRG$01fA#!F z{&_<;8872?{S@WtUi0d+cfQtXuOHGZ_sG9Q@I(IV1lIXq?f32fG<))A|0e5C_;2&S zJ%5@_`bqt7ilRMmmc+Nqy;lD_=YMH8CrvZ&RxuCGpI!eVJN@(AR+jnU`#%)j{Qmy* z19K{J{~v!J&z^rtdPMk3k{{tONq+nR|CCbd7l0$V0CY^}{+CPN0d(#^>XR7)Hh&pzmCl^`Aq(cd>cmgYVMc7=5W^jPgR_x<@&_GBy-ols{b5L z^@{H0|J4XS%l{lju`YgX{S@UXsA9%(Q$Mdo@UefB^&S7JWOnQ1ck|z#KTF~(jZ@cu zd;XVQF!hSsQYy>5d*{#UcSMq2;lKO+m8269{*vTJ_)C%>;V(&kjQ%O5)Gz-4TI}#Z T6(A_r00000NkvXXu0mjfQH)9y delta 1024 zcmV+b1poV^35E%fB!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00b3DL_t(|0qvdPcB>!|2FH(ceE&zjCJHQS(j>;N^lpz+ zC{mbRSNuy#DRm4jRObPx-?8+hp9l z$Hsqok#mH_fByxSq*wVJ|JB2?`In>veB=CFRrB`zDWmzSeFt4 zIK;2{H(9@&|GFsJ1E(h597k98FS3(;ehZe}@*#C6k@E+@i|_~VBm4pU2!8-S{(%25 z3`4&FoXH5#F`fI5W8VRE?my|1i~}}*A*GZ~WK1cg6Cp`bw}ihW`4Rq-;7i_Xa4zxZZclRZT%GG`Cjwrvv!n-7DtF`LpX^Waocg zT4R|P-~Ui_^Zotl19NfzAHR<-SI@sBJtO=j$&c`tBtQOue@ZF!3&5F-03Fl0|2Xy? zKN$DC9_*6znlN|{HcjI8kesB_WUnz!Q3lqwN&c7N9WJ#J0eN%@ZWuZ uCFw$hza;q){*vTJ_)C%>lYdGn^~*n&$8zB8pU%qw0000 - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MM::Generic Member List
    +
    MM::Generic Member List

    This is the complete list of members for MM::Generic, including all inherited members.

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    Busy()=0 (defined in MM::Device)MM::Devicepure virtual
    ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Device() (defined in MM::Device)MM::Deviceinline
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
    GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
    GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
    GetType() const (defined in MM::Generic)MM::Genericinlinevirtual
    GetType() const (defined in MM::Generic)MM::Genericinlinevirtual
    HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
    Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
    MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
    SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
    SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
    SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
    Shutdown()=0MM::Devicepure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
    Type (defined in MM::Generic)MM::Genericstatic
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
    ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
    diff --git a/class_m_m_1_1_generic.html b/class_m_m_1_1_generic.html index 7f6c16b..6805729 100644 --- a/class_m_m_1_1_generic.html +++ b/class_m_m_1_1_generic.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Generic Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ + -
    -
    MM::Generic Class Reference
    +
    MM::Generic Class Reference
    @@ -65,144 +64,148 @@
    - - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

    +

    Public Member Functions

    -virtual DeviceType GetType () const
    virtual DeviceType GetType () const
     
    - Public Member Functions inherited from MM::Device
    -virtual unsigned GetNumberOfProperties () const =0
    virtual unsigned GetNumberOfProperties () const =0
     
    -virtual int GetProperty (const char *name, char *value) const =0
    virtual int GetProperty (const char *name, char *value) const =0
     
    -virtual int SetProperty (const char *name, const char *value)=0
    virtual int SetProperty (const char *name, const char *value)=0
     
    -virtual bool HasProperty (const char *name) const =0
    virtual bool HasProperty (const char *name) const =0
     
    -virtual bool GetPropertyName (unsigned idx, char *name) const =0
    virtual bool GetPropertyName (unsigned idx, char *name) const =0
     
    -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
    virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
     
    -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
    virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
     
    +
    virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
     
    -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
    virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
     
    -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
    virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
     
    -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
    virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
     
    -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
    virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
     
    -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
    virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
     
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
    virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
     
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
    virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
     
    virtual int StartPropertySequence (const char *propertyName)=0
    virtual int StartPropertySequence (const char *propertyName)=0
     
    virtual int StopPropertySequence (const char *propertyName)=0
    virtual int StopPropertySequence (const char *propertyName)=0
     
    virtual int ClearPropertySequence (const char *propertyName)=0
    virtual int ClearPropertySequence (const char *propertyName)=0
     
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
    virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
     
    virtual int SendPropertySequence (const char *propertyName)=0
    virtual int SendPropertySequence (const char *propertyName)=0
     
    -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
    virtual bool GetErrorText (int errorCode, char *errMessage) const =0
     
    +
    virtual bool Busy ()=0
     
    -virtual double GetDelayMs () const =0
    virtual double GetDelayMs () const =0
     
    -virtual void SetDelayMs (double delay)=0
    virtual void SetDelayMs (double delay)=0
     
    -virtual bool UsesDelay ()=0
    virtual bool UsesDelay ()=0
     
    +
     MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
     
    +
     MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
     
    -virtual void SetLabel (const char *label)=0
    virtual void SetLabel (const char *label)=0
     
    -virtual void GetLabel (char *name) const =0
    virtual void GetLabel (char *name) const =0
     
    -virtual void SetModuleName (const char *moduleName)=0
    virtual void SetModuleName (const char *moduleName)=0
     
    -virtual void GetModuleName (char *moduleName) const =0
    virtual void GetModuleName (char *moduleName) const =0
     
    -virtual void SetDescription (const char *description)=0
    virtual void SetDescription (const char *description)=0
     
    -virtual void GetDescription (char *description) const =0
    virtual void GetDescription (char *description) const =0
     
    +
    virtual int Initialize ()=0
     
    virtual int Shutdown ()=0
    virtual int Shutdown ()=0
     
    +
    virtual void GetName (char *name) const =0
     
    -virtual void SetCallback (Core *callback)=0
    virtual void SetCallback (Core *callback)=0
     
    +
    virtual bool SupportsDeviceDetection (void)=0
     
    +
    virtual MM::DeviceDetectionStatus DetectDevice (void)=0
     
    +
    virtual void SetParentID (const char *parentId)=0
     
    +
    virtual void GetParentID (char *parentID) const =0
     
    - -

    +

    Static Public Attributes

    +
    static const DeviceType Type = GenericDevice
     

    Detailed Description


    The documentation for this class was generated from the following files:
      +

      Member Function Documentation

      + +

      ◆ GetType()

      + +
      +
      + + + + + +
      + + + + + + + +
      virtual DeviceType MM::Generic::GetType () const
      +
      +inlinevirtual
      +
      + +

      Implements MM::Device.

      + +
      +
      +
      The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_generic.png b/class_m_m_1_1_generic.png index 2a5dd77d131318477e784a26b0db4195d2c4bbbd..b818d240a5fc1d45074ed13175ffed2acc64a037 100644 GIT binary patch literal 1243 zcmeAS@N?(olHy`uVBq!ia0vp^r-AqY2Q!eI`zZYokdhAY332`Z|38rV;?396{zJAmegDT;5G%1dFrqM6FO=f+%S{o8s%b>-9PG4JZ1e_fd)d)jl7-J?}9vz7N8e=#fi zlJ3Rd!M7DX=YRB_es`D5t{iSv&-sNn@8yRby2|i8sQW~P=3a6~zl;n74rhL0ZN z4HZkc9c)mg=OjtAEfkhGb7q%9?3pt_g=uLYcN|KsJXBJ4_UpSZ#>UmBQYTk-p8nHu z`=n{@lKq>%-7hN)`hITVz17{OvG>~dL|Geeo*pwf+4NNGW%by%^INa4{=0PM&HbNk z#g_*tmj$lZduwKF{JUK5*6*`kZ>BHS^H?0BeMr7EGdOp8Wm=kiaj37|3EBB6`A;II z{4ElBY;<>f$}O*}+g@Hzl3mp|bEYf8T^{1bn=4A58Sxyxz|L?#o#jPKU(B(M@-zEl z)TZX8R27}HViTB1l&@idvRq^7l=a5bf=*pu=n*6i58!jDGwQyUSbKju?tFc6;iM}Y zdS;$mx3hYsitJ~dDb4@Rrb>RyS+e9=MfDw;2=Q+B%_aFYc zeednP-Fkkj>^4`PDtUSTLu2=Ji+2@!_Iu?qUN3mId)>>)d9@zDr`&zIu=}#j>qqx@ z`(CfQ?EZ0acXdebkB?K&uCa}u{x#Nqr_RxY?`LkkFV5ku-*rE6|JnEz(_;X5Bazq$3zy`|57 zfBM%y0UKu(eqZxzVV~@-HIohh7e^a!xB6D_^RoL({o3#Gwe9~VoIdUUDn3fw^H(P< z!7VnP9_00sx#7JrQ;Czi-s2nnKJI#xz08elcc#cPcX$v?V6dPDrN7`Qz>t>o)_nRp zKxHNOCD%#7^ajjnm-P;R$(Ei}a-{6L*_Y=V-`U@j)bQ+|QyLjx{%r62zQ3{4zq+1X za)15vnd`X?V$U7>`pk&&w1TDxC2T`H@2R5U+A zd|i2=(A&Dm>b>7S?wYgpXHM)p?n@e1SCs3WtK+SgyLIIEgyiQrcIDuNnA@Ybmaq6_ z`Sqo1lk=ZO-1vK`F1~E(sqj_Litg%vt)F*wiy*e=U!n)HDfJK7dk8a*^iJ dDRw{PpH}@_s~}PI8(0i6c)I$ztaD0e0syE#aE1T? literal 1212 zcmeAS@N?(olHy`uVBq!ia0vp^r-AqY2Q!eI`zZYokdg@S332`Z|38rV;?396{zDUh zEHFNB-~emq9eE&^qa?^Lm;tB=1g@S6F=Aj~@%D6a45?szJNMzF%{n}8{rtxF{;Sq+ zQ)1h?cHJ%Wr>FbU1DDKVR{W>Bbc$4?il?uD-lQk}1rt^3V;)~RyVmlodcVErs+%t+ zEisOHV&wKM`qj+vUA+;U#x?8`YN!C$tmv{rd3 zQ@%^*TI%K0I1Nv$wl-7R+U$6^@x~vBdEs!)Xq@f!rfqxDlN0< z^{#b-FBoPiK$Yz{lv;J@!mQwEb;h`&n<;URjO-p=oDnSjvi#b=JaOf(Z)EP7-+HRX z{vq=%gI$qt-%}0oL-H{<)p_;t9%Tf#TDvW;6bo+x@L>tI+AEC%A(& zpLTs%tXH~9*NFdtN%++#y>~WxZc{$K=gsuB63buKsa%d(^~^WEYwKz&wg-(!PQN(A z`+8}tG{YT#{tFzuJHOOg8}aVs(K>r#%M+neo&(B6`xF!qd=rDbwqIU8<;Dl0h; zxlRIx%%ms$k1z4o@2uQ1>CMJhRfc|(w3Zn zCd>6&+Wrvm{QU9a(mSW$OFz%C+AO%M67D(SwpfB4SK#TBoU-E<`_r9J>)ne;T ze^xg;S@qAyxT!*u50~gnKfEv7(D!#t*V*>cjl$X2QvI%H-L4sYb`-ubURHOJ04tTz+Z% zuXpvo`2J2fecb<*{@QMpy~;5vC*?s2EaMC?`QKuAP*>I9mT_X~``Z&UPoxH9x-Cvqr zxbi1^tB==RU%F?-tS`^MT70f#Y&(6?;{F`91gVrZtD=(|?H)<>%WT;@CuxrU*$bYz zFE?pxtDZeBIsN&OSp{pmC$9MJ{c`KA+pmkRJiD{YMtn)osX+aho?6a&nW&??Pi;&# zdmj5LBswKdcCqK`voXKk?YdH$6W+J;uKw5Wse!9 - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ +
      -
      -
      MM::Hub Member List
      +
      MM::Hub Member List

      This is the complete list of members for MM::Hub, including all inherited members.

      - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
      AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
      Busy()=0 (defined in MM::Device)MM::Devicepure virtual
      Busy()=0 (defined in MM::Device)MM::Devicepure virtual
      ClearInstalledDevices()=0MM::Hubpure virtual
      ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
      DetectInstalledDevices()=0MM::Hubpure virtual
      DetectInstalledDevices()=0MM::Hubpure virtual
      Device() (defined in MM::Device)MM::Deviceinline
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetInstalledDevice(int devIdx)=0MM::Hubpure virtual
      GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetInstalledDevice(int devIdx)=0MM::Hubpure virtual
      GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfInstalledDevices()=0MM::Hubpure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
      GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
      GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetType() const (defined in MM::Hub)MM::Hubinlinevirtual
      GetType() const (defined in MM::Hub)MM::Hubinlinevirtual
      HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
      Hub() (defined in MM::Hub)MM::Hubinline
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
      MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
      SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
      SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
      SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
      SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
      SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
      SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
      SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
      Shutdown()=0MM::Devicepure virtual
      Shutdown()=0MM::Devicepure virtual
      StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
      Type (defined in MM::Hub)MM::Hubstatic
      Type (defined in MM::Hub)MM::Hubstatic
      UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
      ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
      ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
      ~Hub() (defined in MM::Hub)MM::Hubinlinevirtual
      diff --git a/class_m_m_1_1_hub.html b/class_m_m_1_1_hub.html index fe61c33..56ed988 100644 --- a/class_m_m_1_1_hub.html +++ b/class_m_m_1_1_hub.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Hub Class Reference @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ + -
      -
      MM::Hub Class Referenceabstract
      +
      MM::Hub Class Referenceabstract
      @@ -65,147 +64,123 @@
      - - + - + - + - + - - + + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

      +

      Public Member Functions

      -virtual DeviceType GetType () const
      virtual DeviceType GetType () const
       
      virtual int DetectInstalledDevices ()=0
      virtual int DetectInstalledDevices ()=0
       
      virtual void ClearInstalledDevices ()=0
      virtual void ClearInstalledDevices ()=0
       
      virtual unsigned GetNumberOfInstalledDevices ()=0
      virtual unsigned GetNumberOfInstalledDevices ()=0
       
      virtual DeviceGetInstalledDevice (int devIdx)=0
       
      virtual DeviceGetInstalledDevice (int devIdx)=0
       
      - Public Member Functions inherited from MM::Device
      -virtual unsigned GetNumberOfProperties () const =0
      virtual unsigned GetNumberOfProperties () const =0
       
      -virtual int GetProperty (const char *name, char *value) const =0
      virtual int GetProperty (const char *name, char *value) const =0
       
      -virtual int SetProperty (const char *name, const char *value)=0
      virtual int SetProperty (const char *name, const char *value)=0
       
      -virtual bool HasProperty (const char *name) const =0
      virtual bool HasProperty (const char *name) const =0
       
      -virtual bool GetPropertyName (unsigned idx, char *name) const =0
      virtual bool GetPropertyName (unsigned idx, char *name) const =0
       
      -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
      virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
       
      -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
      virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
       
      +
      virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
       
      -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
      virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
       
      -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
      virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
       
      -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
      virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
       
      -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
      virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
       
      -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
      virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
       
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
       
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
       
      virtual int StartPropertySequence (const char *propertyName)=0
      virtual int StartPropertySequence (const char *propertyName)=0
       
      virtual int StopPropertySequence (const char *propertyName)=0
      virtual int StopPropertySequence (const char *propertyName)=0
       
      virtual int ClearPropertySequence (const char *propertyName)=0
      virtual int ClearPropertySequence (const char *propertyName)=0
       
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
       
      virtual int SendPropertySequence (const char *propertyName)=0
      virtual int SendPropertySequence (const char *propertyName)=0
       
      -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
      virtual bool GetErrorText (int errorCode, char *errMessage) const =0
       
      +
      virtual bool Busy ()=0
       
      -virtual double GetDelayMs () const =0
      virtual double GetDelayMs () const =0
       
      -virtual void SetDelayMs (double delay)=0
      virtual void SetDelayMs (double delay)=0
       
      -virtual bool UsesDelay ()=0
      virtual bool UsesDelay ()=0
       
      +
       MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
       
      +
       MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
       
      -virtual void SetLabel (const char *label)=0
      virtual void SetLabel (const char *label)=0
       
      -virtual void GetLabel (char *name) const =0
      virtual void GetLabel (char *name) const =0
       
      -virtual void SetModuleName (const char *moduleName)=0
      virtual void SetModuleName (const char *moduleName)=0
       
      -virtual void GetModuleName (char *moduleName) const =0
      virtual void GetModuleName (char *moduleName) const =0
       
      -virtual void SetDescription (const char *description)=0
      virtual void SetDescription (const char *description)=0
       
      -virtual void GetDescription (char *description) const =0
      virtual void GetDescription (char *description) const =0
       
      +
      virtual int Initialize ()=0
       
      virtual int Shutdown ()=0
      virtual int Shutdown ()=0
       
      +
      virtual void GetName (char *name) const =0
       
      -virtual void SetCallback (Core *callback)=0
      virtual void SetCallback (Core *callback)=0
       
      +
      virtual bool SupportsDeviceDetection (void)=0
       
      +
      virtual MM::DeviceDetectionStatus DetectDevice (void)=0
       
      +
      virtual void SetParentID (const char *parentId)=0
       
      +
      virtual void GetParentID (char *parentID) const =0
       
      - -

      +

      Static Public Attributes

      +
      static const DeviceType Type = HubDevice
       

      Detailed Description

      HUB device. Used for complex uber-device functionality in microscope stands and managing auto-configuration (discovery) of other devices

      Member Function Documentation

      - -

      ◆ ClearInstalledDevices()

      + +

      ◆ ClearInstalledDevices()

      @@ -233,8 +208,8 @@

      -

      ◆ DetectInstalledDevices()

      + +

      ◆ DetectInstalledDevices()

      diff --git a/class_m_m_1_1_hub.png b/class_m_m_1_1_hub.png index e09f6d0865ff09c4dcdde41bbc776bb60da2d833..e85150a264f5e83520c0141d46c9659a969d8fd6 100644 GIT binary patch delta 982 zcmV;{11bEy2-gUZB!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00ZJlL_t(|0qvd9lCvrh2HTG+Yu^8fPc$N+?!SrA z*>GwsTL=S-Rgt*4BLa`@BA~Ud}ZE*0SAH z{%jACq(368B{9i|u$Ckr!djAi=+-)=lzIc;CPskn=+b%|d(`gI`XSw+cAwUakBW}Ok%W@bKwwV9a@S6Jr}9%WUnE9Dv2#OM<1MQyS! z)&GU{RGEu%&&=!`*JQ|3=_ysJC1on>Dviv{&T*f0eh>3e#rk`!+vwKe+-FEwo0**@ zn^aPV)_J*pv-M^*PQG8YhnSi964qvBK7_TInGa!YX68d0x7Ncj47~wx6C*%(bZI?~ zJ!*Gp{gCcZyHAr#12KQ*Oev*%7*k5=9!QeZ8DT9+K7_R-`A}I8k7FsOQc`{Hnttdf zNe#KrqpYfRrHry2Z~lGokYb&C{M1uYbH3bfQJaP?)r+hTMp|NDCbI;$w70G0-rLse zL)yQeu&#BF8}|3t>6FJmO!BpniwFUe|vDOZ=-RA6ZvxBda!( zK8*D`>c6b>@@%5Jw$~Z5iazf(uQ}W1vkvDE5&AhpmXUvnbsela)|=J4|4*~RuCm_8 zdcTJ>OYW1r-bo!==jHlVULWk&Yq{GkntpRm{9_L}wBD@7>EG2J(j>klZTQY_<8PmV zueAR4+x4BXmZT|v5!RCALs(0a58Ya)lu~a1+{6gb9bHQe%X*B>525lH|h|)?H~$xCG-NNi_#ul7I9u-&oHMV`D<2ca@_g z)!b=4UFV!Hl#bj;(&v0tA+yV5W5QB0+0!<4ha{cga_dd553Nh`CFum;t;Q<5W>p&N zWm)EVt=7lORg&J|cI(X_V{xN$WwnLG3oJV-ErFB9kEkACrIs z41cP#>$tJgf=Ln zY{#2EA3UU3=R02ADXBW&zHd<*hc4ko)(0akxi6Dhl3V)g-tyhY*6Ty+pP#U{y2l;+ z@7L*+#}6j?T7{)#%pj(WcGhM>pIV#bo4U3Fe@p(&laH*;+Q_Qaqz`kwj{1{zUY=EU z*M3_etLXe)^*3kReA;xr$k6KwSw{XP*EU%;*PGS5|4p^RuCm_edcTKMOYWPx-bo!= z=jHlQT_5b%YrESms{5vz_+bw@wBD@7@z-V#sS00`Hazp)_}gpXk=DPyyPlbAN&1Pf zA(kW`!djAiXx2KVlv)GeCVGJ8XwtgxThwmSdXR2VyG@f20x^H;Oev*%=u=AR9!QeZ z7-20*K7_R-`EbU%GglLJ;~`1EFx~UcjgoZCmDX?C{I&HMOwE+z)n-X~zHSAdVm*i1 zW}S=quufuY{Z>s$QpG9j`LKSoe93E`#Ar%19pI`QnT-Q@gyxv1{1xeCL;*BmzK7_R-`4HBUd1KNdN!< diff --git a/class_m_m_1_1_image_processor-members.html b/class_m_m_1_1_image_processor-members.html index 4fa5250..23d5bc7 100644 --- a/class_m_m_1_1_image_processor-members.html +++ b/class_m_m_1_1_image_processor-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ +
      -
      -
      MM::ImageProcessor Member List
      +
      MM::ImageProcessor Member List

      This is the complete list of members for MM::ImageProcessor, including all inherited members.

      - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
      AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
      Busy()=0 (defined in MM::Device)MM::Devicepure virtual
      Busy()=0 (defined in MM::Device)MM::Devicepure virtual
      ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
      DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
      Device() (defined in MM::Device)MM::Deviceinline
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
      GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
      GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
      GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
      GetType() const (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
      GetType() const (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
      HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
      HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
      ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinline
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
      IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
      MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
      MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
      Process(unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0 (defined in MM::ImageProcessor)MM::ImageProcessorpure virtual
      Process(unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0 (defined in MM::ImageProcessor)MM::ImageProcessorpure virtual
      SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
      SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
      SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
      SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
      SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
      SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
      SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
      SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
      SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
      Shutdown()=0MM::Devicepure virtual
      StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
      SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
      SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
      Type (defined in MM::ImageProcessor)MM::ImageProcessorstatic
      UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
      UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
      ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
      ~ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
      ~ImageProcessor() (defined in MM::ImageProcessor)MM::ImageProcessorinlinevirtual
      diff --git a/class_m_m_1_1_image_processor.html b/class_m_m_1_1_image_processor.html index 294ae51..396abcf 100644 --- a/class_m_m_1_1_image_processor.html +++ b/class_m_m_1_1_image_processor.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::ImageProcessor Class Reference @@ -16,10 +16,9 @@
      - - + @@ -27,15 +26,16 @@
      -
      MMDevice -  70 +
      +
      MMDevice 70
      - + +/* @license-end */ + -
      -
      MM::ImageProcessor Class Referenceabstract
      +
      MM::ImageProcessor Class Referenceabstract

      @@ -65,147 +64,151 @@
      - - + - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

      +

      Public Member Functions

      -virtual DeviceType GetType () const
      virtual DeviceType GetType () const
       
      +
      virtual int Process (unsigned char *buffer, unsigned width, unsigned height, unsigned byteDepth)=0
       
      - Public Member Functions inherited from MM::Device
      -virtual unsigned GetNumberOfProperties () const =0
      virtual unsigned GetNumberOfProperties () const =0
       
      -virtual int GetProperty (const char *name, char *value) const =0
      virtual int GetProperty (const char *name, char *value) const =0
       
      -virtual int SetProperty (const char *name, const char *value)=0
      virtual int SetProperty (const char *name, const char *value)=0
       
      -virtual bool HasProperty (const char *name) const =0
      virtual bool HasProperty (const char *name) const =0
       
      -virtual bool GetPropertyName (unsigned idx, char *name) const =0
      virtual bool GetPropertyName (unsigned idx, char *name) const =0
       
      -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
      virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
       
      -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
      virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
       
      +
      virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
       
      -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
      virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
       
      -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
      virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
       
      -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
      virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
       
      -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
      virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
       
      -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
      virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
       
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
      virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
       
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
      virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
       
      virtual int StartPropertySequence (const char *propertyName)=0
      virtual int StartPropertySequence (const char *propertyName)=0
       
      virtual int StopPropertySequence (const char *propertyName)=0
      virtual int StopPropertySequence (const char *propertyName)=0
       
      virtual int ClearPropertySequence (const char *propertyName)=0
      virtual int ClearPropertySequence (const char *propertyName)=0
       
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
      virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
       
      virtual int SendPropertySequence (const char *propertyName)=0
      virtual int SendPropertySequence (const char *propertyName)=0
       
      -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
      virtual bool GetErrorText (int errorCode, char *errMessage) const =0
       
      +
      virtual bool Busy ()=0
       
      -virtual double GetDelayMs () const =0
      virtual double GetDelayMs () const =0
       
      -virtual void SetDelayMs (double delay)=0
      virtual void SetDelayMs (double delay)=0
       
      -virtual bool UsesDelay ()=0
      virtual bool UsesDelay ()=0
       
      +
       MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
       
      +
       MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
       
      -virtual void SetLabel (const char *label)=0
      virtual void SetLabel (const char *label)=0
       
      -virtual void GetLabel (char *name) const =0
      virtual void GetLabel (char *name) const =0
       
      -virtual void SetModuleName (const char *moduleName)=0
      virtual void SetModuleName (const char *moduleName)=0
       
      -virtual void GetModuleName (char *moduleName) const =0
      virtual void GetModuleName (char *moduleName) const =0
       
      -virtual void SetDescription (const char *description)=0
      virtual void SetDescription (const char *description)=0
       
      -virtual void GetDescription (char *description) const =0
      virtual void GetDescription (char *description) const =0
       
      +
      virtual int Initialize ()=0
       
      virtual int Shutdown ()=0
      virtual int Shutdown ()=0
       
      +
      virtual void GetName (char *name) const =0
       
      -virtual void SetCallback (Core *callback)=0
      virtual void SetCallback (Core *callback)=0
       
      +
      virtual bool SupportsDeviceDetection (void)=0
       
      +
      virtual MM::DeviceDetectionStatus DetectDevice (void)=0
       
      +
      virtual void SetParentID (const char *parentId)=0
       
      +
      virtual void GetParentID (char *parentID) const =0
       
      - -

      +

      Static Public Attributes

      +
      static const DeviceType Type = ImageProcessorDevice
       

      Detailed Description

      Image processor API.

      -

      The documentation for this class was generated from the following files:
        +

        Member Function Documentation

        + +

        ◆ GetType()

        + +
        +
        + + + + + +
        + + + + + + + +
        virtual DeviceType MM::ImageProcessor::GetType () const
        +
        +inlinevirtual
        +
        + +

        Implements MM::Device.

        + +
        +
        +
        The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_image_processor.png b/class_m_m_1_1_image_processor.png index 1d8bc0f57edfdf0c2eafecd2dc30e85624736a47..16c6c49503b27c3a962a91159a847ddf5891b865 100644 GIT binary patch literal 1446 zcma)6X;9K>82`JK*`e6%DwP^Zl%uV8ghy%`PGBmnin`vDDa#_}8M=v9n;YdS8(5N< z?rvtLhF4yRM;@yt$mE5Jd4-r5xcRpfk67H9ZDzmq&OGn)yvLX4`5m{;d!E(YeQ-Ab z0Ge0~+Dnxcs%X{NrrO_&kzJ~!ci!E{RjE{}%D3-6B+}a++gKRK?9bu7ZEbB;-Fq_z zidApB61+UU0oD26h5Cv;2mm`Qv1n(XBsJNCh5izYy{@Q6YxfD|El5sCzn9M4j7hBi zz0;axsK=Yo8`{^g+L->s(VmRjn0Uss&L@&HwxzvEmT8!(q5(9+D2AhuS{4jG^5XU} z5hOV>v{_g~&;BI=-eYZJEAlJo#01}4#&OnsP``2-^qLXYK>sFAS&XKP_P+3pz4OM97sfEnqk%9;irXZ@X$b zt`9^_OMtLFsGUGyy)7`(##d|Ajn)EGo&Enyj6=J{-eWHg!!Kx~p!+J**%`Ev84Yl- zJ;67JpH9QjAMtL}g7}6K5){M+%aM~hN8xc6P!`1Yz>L&$5=?IDm5}^z|1dK|Nts$8 z!kDrM$(ohH0J&D+AvFsTk`uXhaTT;~XdZ#HlKKP)EPp1b&dxHW%-R!f)4J#MeWpwB zzIQ#_PA9st@w>P_;VE=E!LC!gRDw892MtXn?W1@b*r~F zzAHM)@;;>9!hbsu9ljl4vXHQ|rP4^gQS3wMWqwobwyVf5AK&K*2jMgf$2<4CXi%=5 zW~j%i_>;bcT(-i3Izx114t5pIJL_Y83t97JX0QaeD!Y$bE)0nOp~dCzc-|ckF^r)~ z`{>O3IB8tDqR$z#q-M@%k9G{<{GL142%pZ@p?Ei!YU7*4R7VmA35e*;k%M5ASd>OR4#A$H*s%8gBe^9wDS!*a+h#WkD zVNzwm)@#ftf%TQhe76vL@ffGtp_kKAv&h{ds!fG{WkEngE}nAGPPD=ztUyT|s7K4Y zB6xJcD^jz7Tb+~7Mkx>3i6#R;GP&G@hg#=Sm+mGv3f7xWiRK{uE9+b^EnmPk3F$Od zY!=p1_&cj?eVjbV=J6xJqSCW<@jvpgOQ=;jB!yt)L}>2uWo%r{p>9m%uEaAD^jV|o z2MAmjAKS0HrA8L-jK&K%5TkblV0Dx!Yy$8olH)Bsd>u(%V*r$W8PPu@wWWorpIkJi z&HmDMso%4maf0@r#@^Se;F5febqvqCasbWH`{>xvk#e%bNJ6X^N?-!gB2$<wyq~e=b9i@w_tz$Q(#agSHAdxYe>cFo)P9c862O5-TnbbpdcM2~3 zZk3ispw>uCWOX6Lx=3S#K>15brTIc&`Xj%AP>}K(Vj224;P^uK@F{!`gJ)VI+Fvp5 zbD15LCfL*f$!4fK^i-3DQER_l6MQL27=$YgpOAxDiVSKqQhA5UQ3^_Bf>7xr?#90WrPiM c-*T5bX&2j(+>=lrp2|@Htg9!Q;}UlLA2+blYybcN literal 1411 zcma)6e^AnA7>CknWp-N2Whu?@n$FPlq$?+8VfK|$XOKBXGqYc$mMBUfYPq(`NfG`e z^LAy<3@n^KP*gO_Qix?KQ$fn)OO%L-BBaP@SG#S0?DpI}Ki+$v=kEPH&--~Ugog$% zU+TCN0)Z?CcB3QA-e6XN^7xIx6^sTMby%rLM6fsm?xn| zt`c-mJE)F_R$m(~ZtpW7SmJmBdSyymu@&mNZu4O5kz`Lv0$-%#J(g~gq(?iY6s)tE zgepsiTjSgX0|c2es^?)*%T&3KYgHYD$dSPtEenFX$lrK@}vvP zzR_2E=ryHV_SXuBvqm(EL6ns~Un{gaR#5Hb=~~NCD>O+NNmlwFHwd94V~jv3G3FpG zykQZw^K(MmVGqIgF-$eYVdY22`Jfr3GqfpxZ4O3SCQpv-mzB{+L;HbdeYNqG&hliFL;L>R^B3AZeaUx*0i3PE94mzc;Z!yBg;UT zU&5?NO~gq=zr0<)S681QdL72~7mt@3zMC5QQb}T|qeu(vEM>ntE2Jt=ao~M*VNFze zReW6*olMHU2a=wS_a?iK>ejS?b3#9gibvLJ;_HlTU-^LUb|;l99^M#N+BnCT_ts@C z{Kjt-`{~ldSbjnqSq!7zXW}ctMasnj(U%lZ7_} zCb@KZw3e0}(sytEa08}KmB)h{T!gNV9d3|A+{hL$ypth_(*#-z8J9soUG&4v5}fOu z1Z)4-kNz~Uwy+R4{DV!EOwQTA6M6&*dnh)-0dZ4zs}1Aka!SRuLkq~RIHBZaEXzcW zrBuvw$j-+YadH87*Q;5kt*aY&iSoPS(=L`qk;_~0>|3YFwcsmwosrrs=1AGv+Mzd@ zL~KXv-NecH&)l`M83VzD=;XKsn06E2sh?7id - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
        - - + @@ -27,15 +26,16 @@
        -
        MMDevice -  70 +
        +
        MMDevice 70
        - + +/* @license-end */ +
        -
        -
        MM::IntegerProperty Member List
        +
        MM::IntegerProperty Member List

        This is the complete list of members for MM::IntegerProperty, including all inherited members.

        - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
        AddAllowedValue(const char *value) (defined in MM::Property)MM::Property
        AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
        AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
        AddToSequence(const char *value) (defined in MM::Property)MM::Propertyinlinevirtual
        Apply() (defined in MM::Property)MM::Propertyinline
        Apply() (defined in MM::Property)MM::Propertyinline
        cached_ (defined in MM::Property)MM::Propertyprotected
        ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
        ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
        ClearSequence() (defined in MM::Property)MM::Propertyinlinevirtual
        fpAction_ (defined in MM::Property)MM::Propertyprotected
        fpAction_ (defined in MM::Property)MM::Propertyprotected
        Get(double &val) const (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Get(long &val) const (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Get(long &val) const (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Get(std::string &val) const (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        GetAllowedValues() const (defined in MM::Property)MM::Property
        GetAllowedValues() const (defined in MM::Property)MM::Property
        GetCached() const (defined in MM::Property)MM::Propertyinline
        GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
        GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
        GetInitStatus() const (defined in MM::Property)MM::Propertyinline
        GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetName() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetReadOnly() const (defined in MM::Property)MM::Propertyinline
        GetReadOnly() const (defined in MM::Property)MM::Propertyinline
        GetSequence() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetType() (defined in MM::IntegerProperty)MM::IntegerPropertyinlinevirtual
        GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
        GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
        hasData_ (defined in MM::Property)MM::Propertyprotected
        HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
        HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
        initStatus_ (defined in MM::Property)MM::Propertyprotected
        IntegerProperty(const char *name) (defined in MM::IntegerProperty)MM::IntegerPropertyinline
        IntegerProperty(const char *name) (defined in MM::IntegerProperty)MM::IntegerPropertyinline
        IsAllowed(const char *value) const (defined in MM::Property)MM::Property
        IsSequenceable() (defined in MM::Property)MM::Propertyinline
        IsSequenceable() (defined in MM::Property)MM::Propertyinline
        limits_ (defined in MM::Property)MM::Propertyprotected
        lowerLimit_ (defined in MM::Property)MM::Propertyprotected
        lowerLimit_ (defined in MM::Property)MM::Propertyprotected
        name_ (defined in MM::Property)MM::Propertyprotected
        Property(const char *name) (defined in MM::Property)MM::Propertyinline
        Property(const char *name) (defined in MM::Property)MM::Propertyinline
        readOnly_ (defined in MM::Property)MM::Propertyprotected
        RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
        RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
        SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
        sequenceable_ (defined in MM::Property)MM::Propertyprotected
        sequenceable_ (defined in MM::Property)MM::Propertyprotected
        sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
        sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
        sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
        Set(double val) (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Set(long val) (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Set(long val) (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        Set(const char *val) (defined in MM::IntegerProperty)MM::IntegerPropertyvirtual
        SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
        SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
        SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
        SetLimits(double lowerLimit, double upperLimit) (defined in MM::Property)MM::Propertyinlinevirtual
        SetLimits(double lowerLimit, double upperLimit) (defined in MM::Property)MM::Propertyinlinevirtual
        SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
        SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
        SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
        StartSequence() (defined in MM::Property)MM::Propertyinline
        StopSequence() (defined in MM::Property)MM::Propertyinline
        StopSequence() (defined in MM::Property)MM::Propertyinline
        Update() (defined in MM::Property)MM::Propertyinline
        upperLimit_ (defined in MM::Property)MM::Propertyprotected
        upperLimit_ (defined in MM::Property)MM::Propertyprotected
        values_ (defined in MM::Property)MM::Propertyprotected
        ~IntegerProperty() (defined in MM::IntegerProperty)MM::IntegerPropertyinline
        ~IntegerProperty() (defined in MM::IntegerProperty)MM::IntegerPropertyinline
        ~Property() (defined in MM::Property)MM::Propertyinlinevirtual
        ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
        ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
        diff --git a/class_m_m_1_1_integer_property.html b/class_m_m_1_1_integer_property.html index 69cba13..491b870 100644 --- a/class_m_m_1_1_integer_property.html +++ b/class_m_m_1_1_integer_property.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::IntegerProperty Class Reference @@ -16,10 +16,9 @@
        - - + @@ -27,15 +26,16 @@
        -
        MMDevice -  70 +
        +
        MMDevice 70
        - + +/* @license-end */ +
        @@ -63,177 +62,355 @@
        - - - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - + - + - + - + - - + - + - + - + - + - + - - - + + -

        +

        Public Member Functions

        +
         IntegerProperty (const char *name)
         
        -PropertyType GetType ()
        PropertyType GetType ()
         
        -bool Set (double val)
        bool Set (double val)
         
        -bool Set (long val)
        bool Set (long val)
         
        -bool Set (const char *val)
        bool Set (const char *val)
         
        -bool Get (double &val) const
        bool Get (double &val) const
         
        -bool Get (long &val) const
        bool Get (long &val) const
         
        -bool Get (std::string &val) const
        bool Get (std::string &val) const
         
        - Public Member Functions inherited from MM::Property
        +
         Property (const char *name)
         
        +
        bool GetCached () const
         
        +
        void SetCached (bool bState=true)
         
        +
        bool GetReadOnly () const
         
        +
        void SetReadOnly (bool bState=true)
         
        +
        bool GetInitStatus () const
         
        +
        void SetInitStatus (bool init)
         
        +
        void RegisterAction (ActionFunctor *fpAction)
         
        +
        int Update ()
         
        +
        int Apply ()
         
        +
        std::vector< std::string > GetAllowedValues () const
         
        +
        void ClearAllowedValues ()
         
        +
        void AddAllowedValue (const char *value)
         
        +
        void AddAllowedValue (const char *value, long data)
         
        +
        bool IsAllowed (const char *value) const
         
        +
        bool GetData (const char *value, long &data) const
         
        -bool HasLimits () const
        bool HasLimits () const
         
        -double GetLowerLimit () const
        double GetLowerLimit () const
         
        -double GetUpperLimit () const
        double GetUpperLimit () const
         
        -bool SetLimits (double lowerLimit, double upperLimit)
        bool SetLimits (double lowerLimit, double upperLimit)
         
        +
        bool IsSequenceable ()
         
        -void SetSequenceable (long sequenceMaxSize)
        void SetSequenceable (long sequenceMaxSize)
         
        -long GetSequenceMaxSize () const
        long GetSequenceMaxSize () const
         
        -int ClearSequence ()
        int ClearSequence ()
         
        -int AddToSequence (const char *value)
        int AddToSequence (const char *value)
         
        -int SendSequence ()
        int SendSequence ()
         
        -std::string GetName () const
        std::string GetName () const
         
        -std::vector< std::string > GetSequence () const
         
        +
        std::vector< std::string > GetSequence () const
         
        int StartSequence ()
         
        +
        int StopSequence ()
         
        - - - - - - - - - - - - - -

        +

        Additional Inherited Members

        - Protected Attributes inherited from MM::Property
        +
        bool readOnly_
         
        +
        ActionFunctorfpAction_
         
        +
        bool cached_
         
        +
        bool hasData_
         
        +
        bool initStatus_
         
        +
        bool limits_
         
        +
        bool sequenceable_
         
        +
        long sequenceMaxSize_
         
        +
        std::vector< std::string > sequenceEvents_
         
        +
        double lowerLimit_
         
        +
        double upperLimit_
         
        +
        std::map< std::string, long > values_
         
        +
        const std::string name_
         

        Detailed Description

        Integer property class.

        -

        The documentation for this class was generated from the following files:
          +

          Member Function Documentation

          + +

          ◆ Get() [1/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Get (double & val) const
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ Get() [2/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Get (long & val) const
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ Get() [3/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Get (std::string & val) const
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ GetType()

          + +
          +
          + + + + + +
          + + + + + + + +
          PropertyType MM::IntegerProperty::GetType ()
          +
          +inlinevirtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ Set() [1/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Set (const char * val)
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ Set() [2/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Set (double val)
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          + +

          ◆ Set() [3/3]

          + +
          +
          + + + + + +
          + + + + + + + + +
          bool MM::IntegerProperty::Set (long val)
          +
          +virtual
          +
          + +

          Implements MM::PropertyBase.

          + +
          +
          +
          The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_integer_property.png b/class_m_m_1_1_integer_property.png index e337dd1a6bbe89e5e3e0944967d2b18c061f3154..59973488d7b0965a3744110581869019ba721131 100644 GIT binary patch delta 745 zcmeyy+Q>FRrCvI~C&cyt|NjgO3@_e%E$u(F+`>S!Kw|ot7Y7a;0E!1sy1W7?$5|5O z7t8?UgMm5I>?;fmOg)}1jv*C{Z|A<9^jd+VO)%Z)-ha{gNBTQld@q@_pF4M3k6Y`N za?@Y$d)4`xPiD@1%fi5r!5DM((3xZ364T~+m+myHcVt|`Ia_F1#LpT>#)8a4>0petxTI4F#FI~v4&ljYOU9ntUu9cyV8&G zmT`AVPVc|4vyrp4H9lIVJu7G6Qx;kv7o}&eci1oDID-~@8iRQ80(ON-8>Tt$=ki)` zdx_`N!lhg@X4bzyvEr1zO~iVpJ2(D|Hdz0Dd|iOSp7Fun?`=*lUp&N=l)N{xMTjLc zWjB=8M>7>OgfId_0|_+jX8k(~_4Ezy18r z@F1z-(SfXG@75&E*d%OR9R4gkpnSr!`a1QE`sPNdxi8g>i{0NbuaLR1{j!(&%$e3j zlUmNsbT!)6#&jZQYxy+Jdh)e^?ow z&)F}@VC}pk59D%`1o;Is02P72)l(rx3=B-Io-U3d6^w7^zMa&nz|kg{zU#mDy-&)G zS6*$=O)tA=e7dRYS4Tp<<}nG|Rwd)j^MS@lDVXSd6o8xkCtiA-ZRL!sW@0~iOGv;o4cWp(TDF0gWfX- zeg~CA?e;p+D-N%hoSa&?lxxP!_a|1I(zl6N&vfU;f6)f(-;c978rCy(7`nMDDpjd) z3r<{K!K~A5+-QDa*M9v*Ylc-o4>S z?~gn~i^u|#4YPLcULmsV(UCKErv4P&BD-Ygea~0gy-qiyww*k4XX0-LHTG|B*KG1l zd)7BcWuet(54T*2hC|n?(r12PJCOK<(LsMrGQ(tMea0Cpy7t(IIBL$$)cyC&+v3&< z>4bk0d-)4KNjw6&Kc6)Bb11U-FLZEu0&+iJfMuAjPx6_};viu`U)S9x4QtF*&r~xk zm*Zy$+iw!|f9XTt>tV5)UzbW|Dx9C3xAn{S6WYrDQ`7!V=Dizk;lgsnVYa&aI_4F7 zHZWwR&SYM+`MDX>g>C1HA)^Uyp?*-0yW1o$^X(AAj7T+w1+7|4(Kp - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ +
          -
          -
          MM::MMTime Member List
          +
          MM::MMTime Member List

          This is the complete list of members for MM::MMTime, including all inherited members.

          - + - + - + - + - + - + - + - +
          fromMs(double ms) (defined in MM::MMTime)MM::MMTimeinlinestatic
          fromSeconds(long secs) (defined in MM::MMTime)MM::MMTimeinlinestatic
          fromSeconds(long secs) (defined in MM::MMTime)MM::MMTimeinlinestatic
          fromUs(long long us) (defined in MM::MMTime)MM::MMTimeinlinestatic
          getMsec() const (defined in MM::MMTime)MM::MMTimeinline
          getMsec() const (defined in MM::MMTime)MM::MMTimeinline
          getUsec() const (defined in MM::MMTime)MM::MMTimeinline
          MMTime() (defined in MM::MMTime)MM::MMTimeinline
          MMTime() (defined in MM::MMTime)MM::MMTimeinline
          MMTime(double uSecTotal) (defined in MM::MMTime)MM::MMTimeinlineexplicit
          MMTime(long sec, long uSec) (defined in MM::MMTime)MM::MMTimeinlineexplicit
          MMTime(long sec, long uSec) (defined in MM::MMTime)MM::MMTimeinlineexplicit
          operator!=(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator+(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator+(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator-(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator<(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator<(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator<=(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator==(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator==(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator>(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator>=(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          operator>=(const MMTime &other) const (defined in MM::MMTime)MM::MMTimeinline
          toString() const (defined in MM::MMTime)MM::MMTimeinline
          diff --git a/class_m_m_1_1_m_m_time.html b/class_m_m_1_1_m_m_time.html index a9fa0d3..39b1ddb 100644 --- a/class_m_m_1_1_m_m_time.html +++ b/class_m_m_1_1_m_m_time.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::MMTime Class Reference @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ + -
          -
          MM::MMTime Class Reference
          +
          MM::MMTime Class Reference

          #include <MMDevice.h>

          - - - - - - - - - - - - - -

          +

          Public Member Functions

          +
           MMTime (double uSecTotal)
           
          +
           MMTime (long sec, long uSec)
           
          +
          MMTime operator+ (const MMTime &other) const
           
          +
          MMTime operator- (const MMTime &other) const
           
          +
          bool operator> (const MMTime &other) const
           
          +
          bool operator>= (const MMTime &other) const
           
          +
          bool operator< (const MMTime &other) const
           
          +
          bool operator<= (const MMTime &other) const
           
          +
          bool operator== (const MMTime &other) const
           
          +
          bool operator!= (const MMTime &other) const
           
          +
          double getMsec () const
           
          +
          double getUsec () const
           
          +
          std::string toString () const
           
          - - - -

          +

          Static Public Member Functions

          +
          static MMTime fromUs (long long us)
           
          +
          static MMTime fromMs (double ms)
           
          +
          static MMTime fromSeconds (long secs)
           
          @@ -116,7 +115,7 @@
          diff --git a/class_m_m_1_1_magnifier-members.html b/class_m_m_1_1_magnifier-members.html index 15ffbd0..fa59ae4 100644 --- a/class_m_m_1_1_magnifier-members.html +++ b/class_m_m_1_1_magnifier-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ +
          -
          -
          MM::Magnifier Member List
          +
          MM::Magnifier Member List

          This is the complete list of members for MM::Magnifier, including all inherited members.

          - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
          AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
          Busy()=0 (defined in MM::Device)MM::Devicepure virtual
          Busy()=0 (defined in MM::Device)MM::Devicepure virtual
          ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
          DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
          Device() (defined in MM::Device)MM::Deviceinline
          GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetMagnification()=0 (defined in MM::Magnifier)MM::Magnifierpure virtual
          GetMagnification()=0 (defined in MM::Magnifier)MM::Magnifierpure virtual
          GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
          GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetType() const (defined in MM::Magnifier)MM::Magnifierinlinevirtual
          HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
          Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
          Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
          IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
          Magnifier() (defined in MM::Magnifier)MM::Magnifierinline
          Magnifier() (defined in MM::Magnifier)MM::Magnifierinline
          MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
          MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
          MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
          SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
          SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
          SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
          SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
          SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
          SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
          SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
          SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
          Shutdown()=0MM::Devicepure virtual
          StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
          SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
          Type (defined in MM::Magnifier)MM::Magnifierstatic
          UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
          UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
          ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
          ~Magnifier() (defined in MM::Magnifier)MM::Magnifierinlinevirtual
          ~Magnifier() (defined in MM::Magnifier)MM::Magnifierinlinevirtual
          diff --git a/class_m_m_1_1_magnifier.html b/class_m_m_1_1_magnifier.html index 5eba0a2..35f03a1 100644 --- a/class_m_m_1_1_magnifier.html +++ b/class_m_m_1_1_magnifier.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Magnifier Class Reference @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ + -
          -
          MM::Magnifier Class Referenceabstract
          +
          MM::Magnifier Class Referenceabstract
          @@ -65,147 +64,151 @@
          - - + - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

          +

          Public Member Functions

          -virtual DeviceType GetType () const
          virtual DeviceType GetType () const
           
          +
          virtual double GetMagnification ()=0
           
          - Public Member Functions inherited from MM::Device
          -virtual unsigned GetNumberOfProperties () const =0
          virtual unsigned GetNumberOfProperties () const =0
           
          -virtual int GetProperty (const char *name, char *value) const =0
          virtual int GetProperty (const char *name, char *value) const =0
           
          -virtual int SetProperty (const char *name, const char *value)=0
          virtual int SetProperty (const char *name, const char *value)=0
           
          -virtual bool HasProperty (const char *name) const =0
          virtual bool HasProperty (const char *name) const =0
           
          -virtual bool GetPropertyName (unsigned idx, char *name) const =0
          virtual bool GetPropertyName (unsigned idx, char *name) const =0
           
          -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
          virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
           
          -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
          virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
           
          +
          virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
           
          -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
          virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
           
          -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
          virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
           
          -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
          virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
           
          -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
          virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
           
          -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
          virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
           
          virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
          virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
           
          virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
          virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
           
          virtual int StartPropertySequence (const char *propertyName)=0
          virtual int StartPropertySequence (const char *propertyName)=0
           
          virtual int StopPropertySequence (const char *propertyName)=0
          virtual int StopPropertySequence (const char *propertyName)=0
           
          virtual int ClearPropertySequence (const char *propertyName)=0
          virtual int ClearPropertySequence (const char *propertyName)=0
           
          virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
          virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
           
          virtual int SendPropertySequence (const char *propertyName)=0
          virtual int SendPropertySequence (const char *propertyName)=0
           
          -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
          virtual bool GetErrorText (int errorCode, char *errMessage) const =0
           
          +
          virtual bool Busy ()=0
           
          -virtual double GetDelayMs () const =0
          virtual double GetDelayMs () const =0
           
          -virtual void SetDelayMs (double delay)=0
          virtual void SetDelayMs (double delay)=0
           
          -virtual bool UsesDelay ()=0
          virtual bool UsesDelay ()=0
           
          +
           MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
           
          +
           MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
           
          -virtual void SetLabel (const char *label)=0
          virtual void SetLabel (const char *label)=0
           
          -virtual void GetLabel (char *name) const =0
          virtual void GetLabel (char *name) const =0
           
          -virtual void SetModuleName (const char *moduleName)=0
          virtual void SetModuleName (const char *moduleName)=0
           
          -virtual void GetModuleName (char *moduleName) const =0
          virtual void GetModuleName (char *moduleName) const =0
           
          -virtual void SetDescription (const char *description)=0
          virtual void SetDescription (const char *description)=0
           
          -virtual void GetDescription (char *description) const =0
          virtual void GetDescription (char *description) const =0
           
          +
          virtual int Initialize ()=0
           
          virtual int Shutdown ()=0
          virtual int Shutdown ()=0
           
          +
          virtual void GetName (char *name) const =0
           
          -virtual void SetCallback (Core *callback)=0
          virtual void SetCallback (Core *callback)=0
           
          +
          virtual bool SupportsDeviceDetection (void)=0
           
          +
          virtual MM::DeviceDetectionStatus DetectDevice (void)=0
           
          +
          virtual void SetParentID (const char *parentId)=0
           
          +
          virtual void GetParentID (char *parentID) const =0
           
          - -

          +

          Static Public Attributes

          +
          static const DeviceType Type = MagnifierDevice
           

          Detailed Description

          Devices that can change magnification of the system

          -

          The documentation for this class was generated from the following files:
            +

            Member Function Documentation

            + +

            ◆ GetType()

            + +
            +
            + + + + + +
            + + + + + + + +
            virtual DeviceType MM::Magnifier::GetType () const
            +
            +inlinevirtual
            +
            + +

            Implements MM::Device.

            + +
            +
            +
            The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_magnifier.png b/class_m_m_1_1_magnifier.png index 9c60bdd73137b08af0f52e0aa34422b5534d481f..0889ffb33d865fc1e5e42494691902a6e0b5c80b 100644 GIT binary patch literal 1329 zcma)64NOy46n;__WI^3Df)i1sMjk_vb!{m!K?c}Ypt9E@u>}e-KC!d>gQYn9-5f+M zJfX@;L8S#=RfuDNAP}4iimm*#P*Y$k*aGq!q#_`6Pm?WMvL(C8z31Nho!ooBd(L+< zLzsJQtUtE~0Kf*K`@y)?;=Rd=fRBND8%lArAtZ?HZ#J9p>CmVtMf_W-$4)Tb?y_pA zsi_IyXQ7%h99xkLGg$z>{@AD%Qv9H$^^o5lws6UqY~+{X&8wI9h?UxU^O}lG+mJ_n z14tQ7y3)0*{prrxKn7@94xw{fX*d?M_>vbMf)eb6IxX+^ym#y0#)rqJ4j$@;gC|VKVGS z5piMphsRif(3B4yLM=sk3{deD@W}kcCvMs~r8YUHt5`dvEegF1f4cx2UkwAeFR<$D z+LM;P)=dP*WiL);TTJ@Umk2k@0k40;FOq(YwiBJXr@HCp+p1C#91kJJQ%-Wpw)29H zTSk@2rF`Ii{4u?1^!t@LKRYA{vSP`Hk?#I?Y#NLIeo6j(%@yWBO$=?J!Qehjjf>OW zvXtEWfqW?G&CW6eahp5_cZDa6R%h)3NtF{GWg(*nS?jXwOA3x`$ByXp*@sx-O>F8# zm*JVjvce~W!#YjH?Mn4U-4q3^k|&x-r1>l-xk~l>fLQ0ndwq2+iFCK+#827+1VK(b zFhky?N^c^LWXNcG(E=$o)k1vvqxZChAhM;8hSCj9`YW z^e~40cw}R2ol(E`1H|#-yu`HQV`_J<$l&ANxKW){L^rhb?w9KBT##rK4=iCtaQf9k zp5V>XQh_U1-6x7#A0FdcXY)Ehc_l4OX%&%B(*3wuFTnWYRn*!GPj+MXn zXJpCq*Y4^u-r#PEfkO+TX*lo*;vmD)UT({A;T>L&MMPs0ppyw@%X+$mDW?kql;s&x z{-ip;uIL+6`0jlZCA^U!az<%)wK7RM61!sN>Ks{7JrR}mZu*LZjr(5iT*O@E#Nlni zxq+F{)4WScI0#Mk%3G|ZSFK^7k%P9HeQ4ufnz2*B42%RY`z_ixe9eg1v5{kPCVQF= zcPZFxZ(!5^%E~{Z@~$8k_B@BnQfBdYSqiy$7|PXCJcu8E7kRdi7uR^KWpVtjSR!w! z|Dwv3Ix*I?&b zfxs_~9)sMeW&XWX*lp`g`Fom=Qa`j2>&xfZQ@h9L4L3}+>`y=D?e$-ChigPZwnr(E zis$JZOL{29BwU{z(M;Bi_R>Rplx^Dk)ANr>RkJb|X6sEY+S*m&!J3sIChqPx# literal 1296 zcmeAS@N?(olHy`uVBq!ia0vp^SAh5c2Q!fLcHg@kNJ#|vgt-3y{~ySF@#br3|Dg#$ z78oBmaDcV*jy#adQ4-`A%m7pb0#{Fk7%?!g%=dJ045?szJNNaZ)d~V^xBIp3|DV|3 zsig2k>-EWi$-eC3AsOis|Am}57CTN@vavwZb5n!2=Ok7uFW;4C`L;LTcAw-W6+5Y9 z+Pt9GLixUBGuHm=7g1UH#B1g6_fi{suLw$eTKQi85AYlCkY>rGl6m`D7j^iC85pfxo8*W0}x zpFjT|;+^&T-Oa7rQ!W2oeWmWXzY*k=7_Uh>4}vD8GzKnp;z%@L&`V;I=oMW0tkPk% z;8L;WAJ?=^`SglCfq6R9h6ZoOhyzO*fXW%f3N#tGcZf8w#&8{A(qm0vM3ug8?0eZn z%7-EOAyny?30>t8x87`!VqUT1Yx(-H*d^DZ@5}=6GcMYPuA8!Jufw+kI`-f9Z8ev- z+rP-}<#yfo1rg;(&YhUIX=SBUNQ3zg>y=qLx6773a^!j-GnebAp;_fZk3_GT*Cs`^ z_j-n!mDVrcb#e6)`%??6blxtH_uqf)RF~-cr@5h7o=ab`7j)fwZ`*MF&&N5}y-U3e z8{Gf2d*o)aeQ^IX{|oaEXQ(e4U9)B_%cNEq2s?3HH)t0)q$;42sRIvYpR6dm=;CbE zr}tOAK3F*^MBscRC|o8l=_P|P_GsVhg zuWs5$jrS*hoxW%Ctv6)X+1hQnebxDPbG&O5r{3OT{p#agv$Zv`ZZTO_Ypj#fml$SB zUUAZr{u!dh9lLG$w}Z#-oAb4+c% zcB^J;ly_GAna#Faeg7y0{d{~zxl}{vt7+wudy`fb?|!wu?80e}t5?^rU`zjY<+04F zwK2v>Ost^&^{>|voJoj=^iIdoOr&nuRrcT)>yJS_X-2|&Q zD_=xJY*+re^4j;H$QeP)wl3LpY0~oh?>5d0(And)|NIs!4^YCDo8WxR^zxfq9-*gK zeZO+~%kPu6p?j8Zn!8DJ>yn_ar@w{lS`zv9k - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MM::Property Member List
            +
            MM::Property Member List

            This is the complete list of members for MM::Property, including all inherited members.

            - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
            AddAllowedValue(const char *value) (defined in MM::Property)MM::Property
            AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
            AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
            AddToSequence(const char *value) (defined in MM::Property)MM::Propertyinlinevirtual
            Apply() (defined in MM::Property)MM::Propertyinline
            Apply() (defined in MM::Property)MM::Propertyinline
            cached_ (defined in MM::Property)MM::Propertyprotected
            ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
            ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
            ClearSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            fpAction_ (defined in MM::Property)MM::Propertyprotected
            fpAction_ (defined in MM::Property)MM::Propertyprotected
            Get(double &dVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Get(long &lVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Get(long &lVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Get(std::string &strVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            GetAllowedValues() const (defined in MM::Property)MM::Property
            GetAllowedValues() const (defined in MM::Property)MM::Property
            GetCached() const (defined in MM::Property)MM::Propertyinline
            GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
            GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
            GetInitStatus() const (defined in MM::Property)MM::Propertyinline
            GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetName() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetReadOnly() const (defined in MM::Property)MM::Propertyinline
            GetReadOnly() const (defined in MM::Property)MM::Propertyinline
            GetSequence() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetType()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            hasData_ (defined in MM::Property)MM::Propertyprotected
            HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
            HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
            initStatus_ (defined in MM::Property)MM::Propertyprotected
            IsAllowed(const char *value) const (defined in MM::Property)MM::Property
            IsAllowed(const char *value) const (defined in MM::Property)MM::Property
            IsSequenceable() (defined in MM::Property)MM::Propertyinline
            limits_ (defined in MM::Property)MM::Propertyprotected
            limits_ (defined in MM::Property)MM::Propertyprotected
            lowerLimit_ (defined in MM::Property)MM::Propertyprotected
            name_ (defined in MM::Property)MM::Propertyprotected
            name_ (defined in MM::Property)MM::Propertyprotected
            Property(const char *name) (defined in MM::Property)MM::Propertyinline
            readOnly_ (defined in MM::Property)MM::Propertyprotected
            readOnly_ (defined in MM::Property)MM::Propertyprotected
            RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
            SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            sequenceable_ (defined in MM::Property)MM::Propertyprotected
            sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
            sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
            sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
            Set(double dVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Set(double dVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Set(long lVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Set(const char *Val)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            Set(const char *Val)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
            SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
            SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
            SetLimits(double lowerLimit, double upperLimit) (defined in MM::Property)MM::Propertyinlinevirtual
            SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
            StartSequence() (defined in MM::Property)MM::Propertyinline
            StartSequence() (defined in MM::Property)MM::Propertyinline
            StopSequence() (defined in MM::Property)MM::Propertyinline
            Update() (defined in MM::Property)MM::Propertyinline
            Update() (defined in MM::Property)MM::Propertyinline
            upperLimit_ (defined in MM::Property)MM::Propertyprotected
            values_ (defined in MM::Property)MM::Propertyprotected
            values_ (defined in MM::Property)MM::Propertyprotected
            ~Property() (defined in MM::Property)MM::Propertyinlinevirtual
            ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
            ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
            diff --git a/class_m_m_1_1_property.html b/class_m_m_1_1_property.html index 15169fc..701171b 100644 --- a/class_m_m_1_1_property.html +++ b/class_m_m_1_1_property.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Property Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ + -
            -
            MM::Property Class Reference
            +
            MM::Property Class Reference
            @@ -66,173 +65,473 @@
            - - - - - - - - - - - - - - - - - - + - + - + - + - - + - + - + - + - + - + - - - + + - - - - - - - -

            +

            Public Member Functions

            +
             Property (const char *name)
             
            +
            bool GetCached () const
             
            +
            void SetCached (bool bState=true)
             
            +
            bool GetReadOnly () const
             
            +
            void SetReadOnly (bool bState=true)
             
            +
            bool GetInitStatus () const
             
            +
            void SetInitStatus (bool init)
             
            +
            void RegisterAction (ActionFunctor *fpAction)
             
            +
            int Update ()
             
            +
            int Apply ()
             
            +
            std::vector< std::string > GetAllowedValues () const
             
            +
            void ClearAllowedValues ()
             
            +
            void AddAllowedValue (const char *value)
             
            +
            void AddAllowedValue (const char *value, long data)
             
            +
            bool IsAllowed (const char *value) const
             
            +
            bool GetData (const char *value, long &data) const
             
            -bool HasLimits () const
            bool HasLimits () const
             
            -double GetLowerLimit () const
            double GetLowerLimit () const
             
            -double GetUpperLimit () const
            double GetUpperLimit () const
             
            -bool SetLimits (double lowerLimit, double upperLimit)
            bool SetLimits (double lowerLimit, double upperLimit)
             
            +
            bool IsSequenceable ()
             
            -void SetSequenceable (long sequenceMaxSize)
            void SetSequenceable (long sequenceMaxSize)
             
            -long GetSequenceMaxSize () const
            long GetSequenceMaxSize () const
             
            -int ClearSequence ()
            int ClearSequence ()
             
            -int AddToSequence (const char *value)
            int AddToSequence (const char *value)
             
            -int SendSequence ()
            int SendSequence ()
             
            -std::string GetName () const
            std::string GetName () const
             
            -std::vector< std::string > GetSequence () const
             
            +
            std::vector< std::string > GetSequence () const
             
            int StartSequence ()
             
            +
            int StopSequence ()
             
            - Public Member Functions inherited from MM::PropertyBase
            +
            virtual PropertyType GetType ()=0
             
            +
            virtual bool Set (double dVal)=0
             
            +
            virtual bool Set (long lVal)=0
             
            +
            virtual bool Set (const char *Val)=0
             
            +
            virtual bool Get (double &dVal) const =0
             
            +
            virtual bool Get (long &lVal) const =0
             
            +
            virtual bool Get (std::string &strVal) const =0
             
            - - - - - - - - - - - - - -

            +

            Protected Attributes

            +
            bool readOnly_
             
            +
            ActionFunctorfpAction_
             
            +
            bool cached_
             
            +
            bool hasData_
             
            +
            bool initStatus_
             
            +
            bool limits_
             
            +
            bool sequenceable_
             
            +
            long sequenceMaxSize_
             
            +
            std::vector< std::string > sequenceEvents_
             
            +
            double lowerLimit_
             
            +
            double upperLimit_
             
            +
            std::map< std::string, long > values_
             
            +
            const std::string name_
             

            Detailed Description

            Property API with most of the Property mechanism implemented.

            -

            The documentation for this class was generated from the following files:
              +

              Member Function Documentation

              + +

              ◆ AddToSequence()

              + +
              +
              + + + + + +
              + + + + + + + + +
              int MM::Property::AddToSequence (const char * value)
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ ClearSequence()

              + +
              +
              + + + + + +
              + + + + + + + +
              int MM::Property::ClearSequence ()
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ GetLowerLimit()

              + +
              +
              + + + + + +
              + + + + + + + +
              double MM::Property::GetLowerLimit () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ GetName()

              + +
              +
              + + + + + +
              + + + + + + + +
              std::string MM::Property::GetName () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ GetSequence()

              + +
              +
              + + + + + +
              + + + + + + + +
              std::vector< std::string > MM::Property::GetSequence () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ GetSequenceMaxSize()

              + +
              +
              + + + + + +
              + + + + + + + +
              long MM::Property::GetSequenceMaxSize () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ GetUpperLimit()

              + +
              +
              + + + + + +
              + + + + + + + +
              double MM::Property::GetUpperLimit () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ HasLimits()

              + +
              +
              + + + + + +
              + + + + + + + +
              bool MM::Property::HasLimits () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ SendSequence()

              + +
              +
              + + + + + +
              + + + + + + + +
              int MM::Property::SendSequence ()
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ SetLimits()

              + +
              +
              + + + + + +
              + + + + + + + + + + + + + + + + + + +
              bool MM::Property::SetLimits (double lowerLimit,
              double upperLimit 
              )
              +
              +inlinevirtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              + +

              ◆ SetSequenceable()

              + +
              +
              + + + + + +
              + + + + + + + + +
              void MM::Property::SetSequenceable (long sequenceMaxSize)
              +
              +virtual
              +
              + +

              Implements MM::PropertyBase.

              + +
              +
              +
              The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_property.png b/class_m_m_1_1_property.png index b47a06cd45fe97fb56eb0ea75332e67c415955f1..222d21e2515c5abdfc634cf0a5878605f4208fff 100644 GIT binary patch literal 1518 zcmbu9Yfw{16vsEg3=(Bf9)c(p5G6NIAV%IVc?1%`5N{$aPAw=Vs7OHt1yMo~<&7pr z5Cs$`H$iYfgW4(~pdEvSAU>lJL6kQH6$1q$NUyfew9fQX_ruw9&hFXS{rz`NE`uJd zk2l8y0Q70pKo|gw0QGa`>!5ZjWlWAv%NSuS%G}%>>JF(VlaJjJyE#FLW+jTD=H_NJ z&*VR>Lf7Sc=3^778;9~6c_uTG z`*iMQ+q~Ym?%>W5M+i8FQ&kgvu(F*OZVQ1l7Q89=flN>>nh;irKw01SArV8So|@E? ztzi-I5i3F$AL!!WWLF7+njcCcH{2R<@<>VGM4(S{=34e=8ljhZD;3z$ZE(@QxxxyC z3{_yK4X$}9AKSB#hDkh%GFX|lC|xfDq#R$o4ov&O;2^0;g6+Z6FmG?SClUPw5_V@A+1lH38+OoIqs*7JNU>INn}x_mkz{XCL>N*jrhVnDD5nmF+OSD@Pw&9v~v0#4PWPF_j{VnYp*u@(a?ntdb z$-Cl+R-i$C4P0%sgJ?f24PmdYanUuQz~EXEb4g5rSapU51BdZJSi9g;byTSPsVJ0v z#R+wB)K>*XE`w6~VD?Y;xg>C9+i|V0=?#~wd`^SF8=aZNL zu##2K>z22BdHsT(lIiz8Cb=-?(qSRNFvAeRo(qJH_12*ohBcHo?_A&oK;Riuu#EF8 zAfV=1V+b3FAjF2k0|J5xSjB(GEwIU2B-^skD$9{!W0l45cOrkVNF^#1>Dgkc08b;; zzv3H{>kVnV&z3~CgOG)z-f<%Npko?umXKUpI=Nk6B|5(>aDVMp4c%)!)EMp4CWukk zH@p@h{56x@JxwmIFH0l$wU2+}$c0;TEsKQDbH(5G6HX~(wHwWTL4*d;&)n;{Z6jv~ zW@fh?7PYLE%zq^j?C53>U+^^8iGOv#Yf7l76e7ixyoAZEn?`!$%B>S38eG?3?p8jo ze-ihda&J(GZ%*?0U9)5UPkL4EvOf+-u4O-byrny&Z7I}`iKLT)FXbc<;-rlZ$T%fw z$ql0p9Mm85Y;)gFn_P~_rtLL4dmET=WsUAtotkSKo9<0z-kEBVrpHu{j;l?yUC}PX z+q+&1`T#ass@efAL1yt6}balolU z7fJH>&}gGVRnkM2Cc`#P^<^b!FoLRn^zNFX>U5*sf!q`xXi+ro}EYyRxSF z*M{{THQH%6&o15vc1%W|)vLF)a4Df<(b<}jBQ)AD@rtC5mf`z)=$!P;__;Ad(y_~% zl+3AvVMYq-EXP-US$0AH%4Ud#Mc%TORQ^J0hcd*~zn33E$r}@J)KXP@ZPB&_5#vg8 zeS^Zx*s(utycCOE$0#QdZ1%)idnMbU*91em-`e?mypc%iPHHF~-JenApUIza_^xj$ zL#+JK>VwbYV7x6E^|qVi?39xwG_9S8gF-QuSY%5G8M73N6ox?mJ8XXRj>G5bsU)*tM>u zyhoPI^?L2x&aj<(^>frFrEOSj!T9K)p2^E^_9}khx4jhT7J}PCt#z`F?Qy6C^hDP@ zNjg@Bo8U&}xK5?WJ1HDcP(ukbz*ZaXUW0EsFm|YeX=IfAeh98UleK!)XtMi7k+jXT zVkH)t2T0nn_JY-hd)^nTRd|q@y1Mt_G~iZQctL0iNd7NfvS;rM)RN;C@foK2UFcDtw=C+K4uJK)y{sl=kkV^iGL(fn^{r$vE{vsa7L5X zptv({oO#4nb$bsKs^k}?cV+e+hj|W1ob}A`#p%kaRqb;UYH3>E^$Wr+VqS$#rSn|) ziK!hgBEvwz9qGKa`NWMcm^w+X3lzFyXLgnDQz6XM#+BBO*yOb=o~(yHwp8a--%@qu zy4n=`Nd}SE6FEoS_fgb0*taBu2cjuzg;Xxc+a_6sGU~JiO^gtfs1k?l8up+Fu4)$sLjRL?>#LW;l#^gP8-PKGetni zB@-V?(ddyCA}~Hc*#2w6h3Ka=h)gCBf`IP*p9HSdX9l8}4(5U@@Dxm2OqLvm*ZlN+ RHTZoIBw`@pn(ywD{{p - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              -
              -
              MM::PropertyBase Member List
              +
              MM::PropertyBase Member List

              This is the complete list of members for MM::PropertyBase, including all inherited members.

              - + - + - + - + - + - + - + - + - +
              AddToSequence(const char *value)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              ClearSequence()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              ClearSequence()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Get(double &dVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Get(long &lVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Get(long &lVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Get(std::string &strVal) const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetLowerLimit() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetLowerLimit() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetName() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetSequence() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetSequence() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetSequenceMaxSize() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetType()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetType()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              GetUpperLimit() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              HasLimits() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              HasLimits() const =0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              SendSequence()=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Set(double dVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Set(double dVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Set(long lVal)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Set(const char *Val)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              Set(const char *Val)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              SetLimits(double lowerLimit, double upperLimit)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              SetSequenceable(long sequenceSize)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              SetSequenceable(long sequenceSize)=0 (defined in MM::PropertyBase)MM::PropertyBasepure virtual
              ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
              diff --git a/class_m_m_1_1_property_base.html b/class_m_m_1_1_property_base.html index 40a9426..dc8c74a 100644 --- a/class_m_m_1_1_property_base.html +++ b/class_m_m_1_1_property_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::PropertyBase Class Reference @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              @@ -65,60 +64,60 @@
              - - - - - - - - - - - - - - - - - + - - -

              +

              Public Member Functions

              +
              virtual PropertyType GetType ()=0
               
              +
              virtual bool Set (double dVal)=0
               
              +
              virtual bool Set (long lVal)=0
               
              +
              virtual bool Set (const char *Val)=0
               
              +
              virtual bool Get (double &dVal) const =0
               
              +
              virtual bool Get (long &lVal) const =0
               
              +
              virtual bool Get (std::string &strVal) const =0
               
              +
              virtual bool HasLimits () const =0
               
              +
              virtual double GetLowerLimit () const =0
               
              +
              virtual double GetUpperLimit () const =0
               
              +
              virtual bool SetLimits (double lowerLimit, double upperLimit)=0
               
              +
              virtual void SetSequenceable (long sequenceSize)=0
               
              +
              virtual long GetSequenceMaxSize () const =0
               
              +
              virtual std::vector< std::string > GetSequence () const =0
               
              +
               
              virtual int ClearSequence ()=0
               
              +
              virtual int AddToSequence (const char *value)=0
               
              +
              virtual int SendSequence ()=0
               
              +
              virtual std::string GetName () const =0
               
              @@ -130,7 +129,7 @@ diff --git a/class_m_m_1_1_property_base.png b/class_m_m_1_1_property_base.png index fb3c2bb5e43f251e38a8cf4b1fcd547bc3baca90..a395eda08e4f048cb20d2b5f521495b18c9893ee 100644 GIT binary patch literal 1513 zcmb`Hc~DbV6o)Tp3}sP^fKmmuNu&=0VwJ5hB1=kMQUX2@Y!PHJaZ41DwM3+uu}DxP zX$WHifpqd%0-{Esg(^^4%VHGJNLA3#HYi#|1Vjk*(Xkz;)BoB#bJug`+;e{4otqWJ z@HaF5z!(5v22=eI01QOf`i#*MY@AMc-iA$UgFXwPEG#Tw%aLc3iRW*Wx;a5{Yx28C znwpxh^I&0L8D@Jg0bv9KZ2xC-HI()PfJ=b=yhBn9o)?bhRNJql!XxDsyUVLW=0f%L|s*#`2ZYiPYCIV{96qPpceMBiy*|j?39ueCS zm5Y@4ppAmSm4o5o21ch*(4zgdB@}#! zN%Z)#c}CP<{$j(GrgQ_Num7Roe>FEXD@47n)e!m$w+M;|H)4DaFDCfTg|XqZZ9`Xo zyOpv4_wH!-CF6=&{jWKnuhQB4V3%2I=9GkY!MnS*l z7UpeCwy=A7sw5(ZUVfO5f(Kfq=&9dRldiZ(Gv=lW7rbRF0>o^(K(U!k!caPn>yV_v zJ;qJEMzLzF1p!u`b`+r_7RLFVf)?MP0HOUa06Gi!wVd$2T27L|oX~BklyKZ0xLmgI zHw@B-0MQ;k!Qdn8ghp-^0Fj#|Ac?h9Kr1lLFsC0U0ulqaGYfSy&oD1FEN(&O&kO#> zkwZj9G^+5G$IB3E@7NiOtl(%!$nQdk||6 zow|^2*~WpI@wdhbG>wNQ15eDQtGxBYPAVguEy zj(Gl79z4fa<$b3?E4lA`m^{qV@kH?ij$^#5L$=R8u6X9Fx(AT2yaIm_AIhoF`!ufh zYw&8D470-Gh02FaS%RFJ`-Rn90+V@T@^z<7r?A+jF^S00sYKUq?Gvl=#ivCz`out5 zVoIbywYuf!@!kC*2grY%4G*Y0#G>+&2h=WWDBEXYkn4LPRUImui5)8?td$luxhlw= zX{VN%;?r#VKR%|@)@@+gztWp-Mq@aEg$z1G5z4-$&EK89gFzwHTK!UgF?o~2 z!d{yG&1^^|+Y45@pVfIo9vcf&^_Nic;Er7WV`8qtX8CYxd?`CKVUxot>`5|SypV5% sU9RFQy6|#K2f|s03a!)p8x;= literal 1492 zcmbtUZA_C_6fS6;E7Mq3ontH2m!iHR9|1wM1rdwV77D%;OsNW!)q#La1Swb{ln~lb z3T3YaMLwo22q-!}WD*$FD2_5LpR%b8g_IUT?Vw^U(sr-&&y2s8-Q?c$+?;dI&3T@a zBMfI8T!V4Ipirna)L;sPLfOCw7OY-@oJOv$2QeGNLzqEUs}+ITxyAJ2dnE|^XDbv6 zwD1`Lxvoxw7!fEW=-nDsGCff!bR3nkkIA*sjq6GmuGwqdbQ8XFmIs8WKx3|R- zTb=o9qPq;IO^`i1WpRsaamXO{-s~!YYBaat;dG~?B)9&jQ!}aK_~Dw_{I@kH<7v5} zPo@$dWsT3J^2*MnFfzt<=6us_hf7fG4;rY$em;C4W~nYRG!s`3+lI|x&bRDp;7|BG z9-f#JPQU5UU*#-@fdhs$U}06XvUB(B41`Gs^53#ciAWm~*RsB8@#WG02V3YyKU#VX;s!YdjUb2W+<_zSK+uoq}uG zMsBsc^$Pq2pSwj}$$cy*+nvyPnYW4Bz0N=xUFyph zKWsV8Oa8<#zziKLFhxZllMFeQ=y1l>j+2Ms8)QE>j=J!7mbQ|+HaKC|&@`a0Z~2pt0iX>*x0A8s=*R>3d-A_E+ELEBVgJ;;Wt9<(@f_Byd4M{jjeYbStwX7!n1 zp0J!qR4t#=w_SB$S1VG2S+Mcxmmc`J^zgpUt_><1usATM;u|^hx~{%#c!(wxyxDMc zp}p#6EdWfeV;ACu8j^&})?a8{)<8=StLu()-Ud-#k&85i(AmH&^?Z&iXa1F4eK~_K z5a6qN4E>eO_#u}BQw9V8$Da2U9H88<5aFn`fSf`x&_OH~X%z$_je=-hh_r)gbL4g! fs4ftF-fKlsyOLaQq0TFj5sab+F(^%evHZUQlz+ZA diff --git a/class_m_m_1_1_property_collection-members.html b/class_m_m_1_1_property_collection-members.html index 7d365f8..b43cf59 100644 --- a/class_m_m_1_1_property_collection-members.html +++ b/class_m_m_1_1_property_collection-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              -
              -
              MM::PropertyCollection Member List
              +
              MM::PropertyCollection Member List

              This is the complete list of members for MM::PropertyCollection, including all inherited members.

              - + - + - + - + - + - + - + - + - + - +
              AddAllowedValue(const char *name, const char *value, long data) (defined in MM::PropertyCollection)MM::PropertyCollection
              AddAllowedValue(const char *name, const char *value) (defined in MM::PropertyCollection)MM::PropertyCollection
              AddAllowedValue(const char *name, const char *value) (defined in MM::PropertyCollection)MM::PropertyCollection
              Apply(const char *Name) (defined in MM::PropertyCollection)MM::PropertyCollection
              ApplyAll() (defined in MM::PropertyCollection)MM::PropertyCollection
              ApplyAll() (defined in MM::PropertyCollection)MM::PropertyCollection
              ClearAllowedValues(const char *name) (defined in MM::PropertyCollection)MM::PropertyCollection
              CreateProperty(const char *name, const char *value, PropertyType eType, bool bReadOnly, ActionFunctor *pAct=0, bool isPreInitProperty=false) (defined in MM::PropertyCollection)MM::PropertyCollection
              CreateProperty(const char *name, const char *value, PropertyType eType, bool bReadOnly, ActionFunctor *pAct=0, bool isPreInitProperty=false) (defined in MM::PropertyCollection)MM::PropertyCollection
              Find(const char *name) const (defined in MM::PropertyCollection)MM::PropertyCollection
              Get(const char *propName, std::string &val) const (defined in MM::PropertyCollection)MM::PropertyCollection
              Get(const char *propName, std::string &val) const (defined in MM::PropertyCollection)MM::PropertyCollection
              GetCurrentPropertyData(const char *name, long &data) (defined in MM::PropertyCollection)MM::PropertyCollection
              GetName(unsigned uIdx, std::string &strName) const (defined in MM::PropertyCollection)MM::PropertyCollection
              GetName(unsigned uIdx, std::string &strName) const (defined in MM::PropertyCollection)MM::PropertyCollection
              GetNames() const (defined in MM::PropertyCollection)MM::PropertyCollection
              GetPropertyData(const char *name, const char *value, long &data) (defined in MM::PropertyCollection)MM::PropertyCollection
              GetPropertyData(const char *name, const char *value, long &data) (defined in MM::PropertyCollection)MM::PropertyCollection
              GetSize() const (defined in MM::PropertyCollection)MM::PropertyCollection
              PropertyCollection() (defined in MM::PropertyCollection)MM::PropertyCollection
              PropertyCollection() (defined in MM::PropertyCollection)MM::PropertyCollection
              RegisterAction(const char *name, ActionFunctor *fpAct) (defined in MM::PropertyCollection)MM::PropertyCollection
              Set(const char *propName, const char *Value) (defined in MM::PropertyCollection)MM::PropertyCollection
              Set(const char *propName, const char *Value) (defined in MM::PropertyCollection)MM::PropertyCollection
              SetAllowedValues(const char *name, std::vector< std::string > &values) (defined in MM::PropertyCollection)MM::PropertyCollection
              Update(const char *Name) (defined in MM::PropertyCollection)MM::PropertyCollection
              Update(const char *Name) (defined in MM::PropertyCollection)MM::PropertyCollection
              UpdateAll() (defined in MM::PropertyCollection)MM::PropertyCollection
              ~PropertyCollection() (defined in MM::PropertyCollection)MM::PropertyCollection
              ~PropertyCollection() (defined in MM::PropertyCollection)MM::PropertyCollection
              diff --git a/class_m_m_1_1_property_collection.html b/class_m_m_1_1_property_collection.html index a201520..e4798d7 100644 --- a/class_m_m_1_1_property_collection.html +++ b/class_m_m_1_1_property_collection.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::PropertyCollection Class Reference @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +

              #include <Property.h>

              - - - - - - - - - - - - - - - - - - -

              +

              Public Member Functions

              +
              int CreateProperty (const char *name, const char *value, PropertyType eType, bool bReadOnly, ActionFunctor *pAct=0, bool isPreInitProperty=false)
               
              +
              int RegisterAction (const char *name, ActionFunctor *fpAct)
               
              +
              int SetAllowedValues (const char *name, std::vector< std::string > &values)
               
              +
              int ClearAllowedValues (const char *name)
               
              +
              int AddAllowedValue (const char *name, const char *value, long data)
               
              +
              int AddAllowedValue (const char *name, const char *value)
               
              +
              int GetPropertyData (const char *name, const char *value, long &data)
               
              +
              int GetCurrentPropertyData (const char *name, long &data)
               
              +
              int Set (const char *propName, const char *Value)
               
              +
              int Get (const char *propName, std::string &val) const
               
              +
              PropertyFind (const char *name) const
               
              +
              std::vector< std::string > GetNames () const
               
              +
              unsigned GetSize () const
               
              +
              bool GetName (unsigned uIdx, std::string &strName) const
               
              +
              int UpdateAll ()
               
              +
              int ApplyAll ()
               
              +
              int Update (const char *Name)
               
              +
              int Apply (const char *Name)
               
              @@ -114,12 +113,12 @@

              An array of properties supported by a device.


              The documentation for this class was generated from the following files:
              diff --git a/class_m_m_1_1_s_l_m-members.html b/class_m_m_1_1_s_l_m-members.html index 517fd09..99be764 100644 --- a/class_m_m_1_1_s_l_m-members.html +++ b/class_m_m_1_1_s_l_m-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              -
              -
              MM::SLM Member List
              +
              MM::SLM Member List

              This is the complete list of members for MM::SLM, including all inherited members.

              - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
              AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
              AddToSLMSequence(const unsigned char *const pixels)=0MM::SLMpure virtual
              AddToSLMSequence(const unsigned char *const pixels)=0MM::SLMpure virtual
              AddToSLMSequence(const unsigned int *const pixels)=0MM::SLMpure virtual
              Busy()=0 (defined in MM::Device)MM::Devicepure virtual
              Busy()=0 (defined in MM::Device)MM::Devicepure virtual
              ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              ClearSLMSequence()=0MM::SLMpure virtual
              ClearSLMSequence()=0MM::SLMpure virtual
              DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Device() (defined in MM::Device)MM::Deviceinline
              Device() (defined in MM::Device)MM::Deviceinline
              DisplayImage()=0MM::SLMpure virtual
              GetBytesPerPixel()=0MM::SLMpure virtual
              GetBytesPerPixel()=0MM::SLMpure virtual
              GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetExposure()=0MM::SLMpure virtual
              GetExposure()=0MM::SLMpure virtual
              GetHeight()=0MM::SLMpure virtual
              GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfComponents()=0MM::SLMpure virtual
              GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
              GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
              GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetSLMSequenceMaxLength(long &nrEvents) const =0MM::SLMpure virtual
              GetSLMSequenceMaxLength(long &nrEvents) const =0MM::SLMpure virtual
              GetType() const (defined in MM::SLM)MM::SLMinlinevirtual
              GetWidth()=0MM::SLMpure virtual
              GetWidth()=0MM::SLMpure virtual
              HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
              IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
              IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
              IsSLMSequenceable(bool &isSequenceable) const =0MM::SLMpure virtual
              MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
              SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SendSLMSequence()=0MM::SLMpure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetExposure(double interval_ms)=0MM::SLMpure virtual
              SetImage(unsigned char *pixels)=0MM::SLMpure virtual
              SetImage(unsigned char *pixels)=0MM::SLMpure virtual
              SetImage(unsigned int *pixels)=0MM::SLMpure virtual
              SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
              SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
              SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetPixelsTo(unsigned char intensity)=0MM::SLMpure virtual
              SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue)=0MM::SLMpure virtual
              SetPixelsTo(unsigned char red, unsigned char green, unsigned char blue)=0MM::SLMpure virtual
              SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
              Shutdown()=0MM::Devicepure virtual
              Shutdown()=0MM::Devicepure virtual
              SLM() (defined in MM::SLM)MM::SLMinline
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StartSLMSequence()=0MM::SLMpure virtual
              StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StopSLMSequence()=0MM::SLMpure virtual
              SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
              SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Type (defined in MM::SLM)MM::SLMstatic
              UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
              UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
              ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
              ~SLM() (defined in MM::SLM)MM::SLMinlinevirtual
              ~SLM() (defined in MM::SLM)MM::SLMinlinevirtual
              diff --git a/class_m_m_1_1_s_l_m.html b/class_m_m_1_1_s_l_m.html index 6b324f7..b047f31 100644 --- a/class_m_m_1_1_s_l_m.html +++ b/class_m_m_1_1_s_l_m.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::SLM Class Reference @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ + -
              -
              MM::SLM Class Referenceabstract
              +
              MM::SLM Class Referenceabstract
              @@ -65,177 +64,153 @@
              - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

              +

              Public Member Functions

              -virtual DeviceType GetType () const
              virtual DeviceType GetType () const
               
              virtual int SetImage (unsigned char *pixels)=0
              virtual int SetImage (unsigned char *pixels)=0
               
              virtual int SetImage (unsigned int *pixels)=0
              virtual int SetImage (unsigned int *pixels)=0
               
              virtual int DisplayImage ()=0
              virtual int DisplayImage ()=0
               
              virtual int SetPixelsTo (unsigned char intensity)=0
              virtual int SetPixelsTo (unsigned char intensity)=0
               
              virtual int SetPixelsTo (unsigned char red, unsigned char green, unsigned char blue)=0
              virtual int SetPixelsTo (unsigned char red, unsigned char green, unsigned char blue)=0
               
              virtual int SetExposure (double interval_ms)=0
              virtual int SetExposure (double interval_ms)=0
               
              virtual double GetExposure ()=0
              virtual double GetExposure ()=0
               
              virtual unsigned GetWidth ()=0
              virtual unsigned GetWidth ()=0
               
              virtual unsigned GetHeight ()=0
              virtual unsigned GetHeight ()=0
               
              virtual unsigned GetNumberOfComponents ()=0
              virtual unsigned GetNumberOfComponents ()=0
               
              virtual unsigned GetBytesPerPixel ()=0
              virtual unsigned GetBytesPerPixel ()=0
               
              virtual int IsSLMSequenceable (bool &isSequenceable) const =0
              virtual int IsSLMSequenceable (bool &isSequenceable) const =0
               
              virtual int GetSLMSequenceMaxLength (long &nrEvents) const =0
              virtual int GetSLMSequenceMaxLength (long &nrEvents) const =0
               
              virtual int StartSLMSequence ()=0
              virtual int StartSLMSequence ()=0
               
              virtual int StopSLMSequence ()=0
              virtual int StopSLMSequence ()=0
               
              virtual int ClearSLMSequence ()=0
              virtual int ClearSLMSequence ()=0
               
              virtual int AddToSLMSequence (const unsigned char *const pixels)=0
              virtual int AddToSLMSequence (const unsigned char *const pixels)=0
               
              virtual int AddToSLMSequence (const unsigned int *const pixels)=0
              virtual int AddToSLMSequence (const unsigned int *const pixels)=0
               
              virtual int SendSLMSequence ()=0
              virtual int SendSLMSequence ()=0
               
              - Public Member Functions inherited from MM::Device
              -virtual unsigned GetNumberOfProperties () const =0
              virtual unsigned GetNumberOfProperties () const =0
               
              -virtual int GetProperty (const char *name, char *value) const =0
              virtual int GetProperty (const char *name, char *value) const =0
               
              -virtual int SetProperty (const char *name, const char *value)=0
              virtual int SetProperty (const char *name, const char *value)=0
               
              -virtual bool HasProperty (const char *name) const =0
              virtual bool HasProperty (const char *name) const =0
               
              -virtual bool GetPropertyName (unsigned idx, char *name) const =0
              virtual bool GetPropertyName (unsigned idx, char *name) const =0
               
              -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
              virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
               
              -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
              virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
               
              +
              virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
               
              -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
              virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
               
              -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
              virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
               
              -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
              virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
               
              -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
              virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
               
              -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
              virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
               
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
               
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
               
              virtual int StartPropertySequence (const char *propertyName)=0
              virtual int StartPropertySequence (const char *propertyName)=0
               
              virtual int StopPropertySequence (const char *propertyName)=0
              virtual int StopPropertySequence (const char *propertyName)=0
               
              virtual int ClearPropertySequence (const char *propertyName)=0
              virtual int ClearPropertySequence (const char *propertyName)=0
               
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
               
              virtual int SendPropertySequence (const char *propertyName)=0
              virtual int SendPropertySequence (const char *propertyName)=0
               
              -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
              virtual bool GetErrorText (int errorCode, char *errMessage) const =0
               
              +
              virtual bool Busy ()=0
               
              -virtual double GetDelayMs () const =0
              virtual double GetDelayMs () const =0
               
              -virtual void SetDelayMs (double delay)=0
              virtual void SetDelayMs (double delay)=0
               
              -virtual bool UsesDelay ()=0
              virtual bool UsesDelay ()=0
               
              +
               MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
               
              +
               MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
               
              -virtual void SetLabel (const char *label)=0
              virtual void SetLabel (const char *label)=0
               
              -virtual void GetLabel (char *name) const =0
              virtual void GetLabel (char *name) const =0
               
              -virtual void SetModuleName (const char *moduleName)=0
              virtual void SetModuleName (const char *moduleName)=0
               
              -virtual void GetModuleName (char *moduleName) const =0
              virtual void GetModuleName (char *moduleName) const =0
               
              -virtual void SetDescription (const char *description)=0
              virtual void SetDescription (const char *description)=0
               
              -virtual void GetDescription (char *description) const =0
              virtual void GetDescription (char *description) const =0
               
              +
              virtual int Initialize ()=0
               
              virtual int Shutdown ()=0
              virtual int Shutdown ()=0
               
              +
              virtual void GetName (char *name) const =0
               
              -virtual void SetCallback (Core *callback)=0
              virtual void SetCallback (Core *callback)=0
               
              +
              virtual bool SupportsDeviceDetection (void)=0
               
              +
              virtual MM::DeviceDetectionStatus DetectDevice (void)=0
               
              +
              virtual void SetParentID (const char *parentId)=0
               
              +
              virtual void GetParentID (char *parentID) const =0
               
              - -

              +

              Static Public Attributes

              +
              static const DeviceType Type = SLMDevice
               

              Detailed Description

              Spatial Ligh Modulator (SLM) API. An SLM is a device that can display images. It is expected to represent a rectangular grid (i.e. it has width and height) of pixels that can be either 8 bit or 32 bit. Illumination (light source on or off) is logically independent of displaying the image. Likely the most widely used implmentation is the GenericSLM.

              Member Function Documentation

              - -

              ◆ AddToSLMSequence() [1/2]

              + +

              ◆ AddToSLMSequence() [1/2]

              @@ -267,8 +242,8 @@

              -

              ◆ AddToSLMSequence() [2/2]

              + +

              ◆ AddToSLMSequence() [2/2]

              @@ -300,8 +275,8 @@

              -

              ◆ ClearSLMSequence()

              + +

              ◆ ClearSLMSequence()

              @@ -326,8 +301,8 @@

              -

              ◆ DisplayImage()

              + +

              ◆ DisplayImage()

              @@ -352,8 +327,8 @@

              -

              ◆ GetBytesPerPixel()

              + +

              ◆ GetBytesPerPixel()

              @@ -378,8 +353,8 @@

              -

              ◆ GetExposure()

              + +

              ◆ GetExposure()

              @@ -404,8 +379,8 @@

              -

              ◆ GetHeight()

              + +

              ◆ GetHeight()

              @@ -430,8 +405,8 @@

              -

              ◆ GetNumberOfComponents()

              + +

              ◆ GetNumberOfComponents()

              @@ -456,8 +431,8 @@

              -

              ◆ GetSLMSequenceMaxLength()

              + +

              ◆ GetSLMSequenceMaxLength()

              @@ -489,8 +464,35 @@

              -

              ◆ GetWidth()

              + +

              ◆ GetType()

              + +
              +
              + + + + + +
              + + + + + + + +
              virtual DeviceType MM::SLM::GetType () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::Device.

              + +
              +
              + +

              ◆ GetWidth()

              @@ -515,8 +517,8 @@

              -

              ◆ IsSLMSequenceable()

              + +

              ◆ IsSLMSequenceable()

              @@ -548,8 +550,8 @@

              -

              ◆ SendSLMSequence()

              + +

              ◆ SendSLMSequence()

              @@ -574,8 +576,8 @@

              -

              ◆ SetExposure()

              + +

              ◆ SetExposure()

              @@ -601,8 +603,8 @@

              -

              ◆ SetImage() [1/2]

              + +

              ◆ SetImage() [1/2]

              @@ -628,8 +630,8 @@

              -

              ◆ SetImage() [2/2]

              + +

              ◆ SetImage() [2/2]

              @@ -655,8 +657,8 @@

              -

              ◆ SetPixelsTo() [1/2]

              + +

              ◆ SetPixelsTo() [1/2]

              @@ -682,8 +684,8 @@

              -

              ◆ SetPixelsTo() [2/2]

              + +

              ◆ SetPixelsTo() [2/2]

              @@ -725,8 +727,8 @@

              -

              ◆ StartSLMSequence()

              + +

              ◆ StartSLMSequence()

              @@ -751,8 +753,8 @@

              -

              ◆ StopSLMSequence()

              + +

              ◆ StopSLMSequence()

              @@ -779,12 +781,12 @@

              MMDevice.h -
            • MMDevice.cpp
            • +
            • MMDevice.cpp
            diff --git a/class_m_m_1_1_s_l_m.png b/class_m_m_1_1_s_l_m.png index feff6268aa836b71c661ffeeb0397456388afc6a..9c0584270d1e20a49d8448f15d8b8acbedea131b 100644 GIT binary patch delta 1021 zcmVHa zv&ymCq)vR^rOTtO;>WvJl3pP|yjdQfaY_1+)5l>`vHMeH?Oi^;qQ;NJ=l5C(Ypjo% z|9PrN(*GjGB`GPA6qlq(Qe2WE=~=v#QaS|SGDd(N=~a9jJ2mfB{N~-KdAH(ussO~3 zPXQr+k)$|4BqDqILjW#g1n7}o#mBKz^IpYo-hG;PE1stcKrE9;0Vscwq&PrJDWzP+SV}1uL6M~X zNO4JuB*i5u5+^>~UURrdN&da-dNNOvDwa97=$g$vcT?-1AKYgXUuHa;DXDtDJa3wF z53YG|&x7$-#OsSaKDTVl*Pc`CvQ+hMV{eJOjQ@?eH$Lvzk8kU~-hG%mAET~0KXfI& zjUS77YcnoMKat{+6iJFpQY1Z#mr_cH z09?ih&?CKyk7K9iy^7zw`!w%XJWmyXSd$O}D1RbJae$UmO1X-$lu|B&B1!#`;*u0e zic3-?Z;KDNmy3_~8t(BvuzZ!IXG~X-q>p%4e7Ri}@3w1rRVY?`y^%}tGx2q4<^_`E z-~UN`RbBe0x@p#83fq_Mca8W<#U*Kbe=I)V>_FVr_*zTLR43SE{9W}E;#G}r>Gq|v zx>`<8Q_1a0Ptl9J8PoUUQ)Ru9B)w1mb06;8)DddIXcC{z!32iX_D)DUws-!&|SsRu@k`8b(RVJN>kgKk_v#9!_ZjhuSTp->=d{=y30!cc;+09wS*lkiL zKJU`y(Te!~?v2oP_U$46X}4s!Z9Y%+Fxs+88{>nC!2Pkg>gCX}*1X8z}?B1!*? z6qlq(Qe2WENg{Dcilk?8GqVl>xQr2?M|u?>$48X3_ZdC&>txd5J`#yMDh*sWrkbns_xKQ8@BxbNBD~PG{wDeRcE+9(WW2Z5Fz3& z;=d*SnB(zXRj2x_x)};^g6qWV1^H2NALFIk4rqr0oZxElc60uk_=2lG6R-OL4so4$ z*_>03Pvvik1B8>}0Fk6PKqM&+ArMK=;=?cu9RhF}BS4SzDn5>#n)fPx^X}8UTk$+q z0AiDX10jD%QXC+X6bFbT#Q|E(%&uZIGrI^(lKLaXB`J~=m!wFX_;CBo#l4i|uT9gF zagtQAjJcJr+T3$9wEp|feOB>h#Iuo-s_X4>)0lhVsyp}G>3>JOp6v0xMq{3P4zY_; z)w=e5B<>>q9dU2G->~gp*S*|*m>VCxt~x(-CBA?5?~A)f`c&L4fy?pIS(eD9@veBi zAn%I1iC>AAo#SI%+I^}N*Qu{vYZv3C+74)kK2Mc-@;@T(OivFTOt9{_Emr-<*HF zA$~Gd{LeSr&qiF5UXkLG6iJFpQY1Z#o0)Y8z-5d8J<_ZAICg5@tN6{kPxEfY^Hc$d zC6j#vB!5U!93YYu2WT-fyNc1w>>@Bp>W>tcq)1X+k|Oz7e7JpF`KXuTUfw&FpOW;9 zX%Ems#_G->1istO{#pRek#Xbio5LCO^Miu zKRs1eely3n=lE25aW`W6y??5dnI!3R@|7=1k)*gJMUvu@6iJFpQY1HVGqVo)2e$5R U#W2FB2mk;807*qoM6N<$g5wVUmjD0& diff --git a/class_m_m_1_1_serial-members.html b/class_m_m_1_1_serial-members.html index 2170749..dd4ff0e 100644 --- a/class_m_m_1_1_serial-members.html +++ b/class_m_m_1_1_serial-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MM::Serial Member List
            +
            MM::Serial Member List

            This is the complete list of members for MM::Serial, including all inherited members.

            - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
            AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
            Busy()=0 (defined in MM::Device)MM::Devicepure virtual
            Busy()=0 (defined in MM::Device)MM::Devicepure virtual
            ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
            DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
            Device() (defined in MM::Device)MM::Deviceinline
            GetAnswer(char *txt, unsigned maxChars, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
            GetAnswer(char *txt, unsigned maxChars, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
            GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPortType() const =0 (defined in MM::Serial)MM::Serialpure virtual
            GetPortType() const =0 (defined in MM::Serial)MM::Serialpure virtual
            GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
            GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
            GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetType() const (defined in MM::Serial)MM::Serialinlinevirtual
            GetType() const (defined in MM::Serial)MM::Serialinlinevirtual
            HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
            HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
            Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
            IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
            IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
            MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
            MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
            MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
            Purge()=0 (defined in MM::Serial)MM::Serialpure virtual
            Read(unsigned char *buf, unsigned long bufLen, unsigned long &charsRead)=0 (defined in MM::Serial)MM::Serialpure virtual
            Read(unsigned char *buf, unsigned long bufLen, unsigned long &charsRead)=0 (defined in MM::Serial)MM::Serialpure virtual
            SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            Serial() (defined in MM::Serial)MM::Serialinline
            Serial() (defined in MM::Serial)MM::Serialinline
            SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
            SetCommand(const char *command, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
            SetCommand(const char *command, const char *term)=0 (defined in MM::Serial)MM::Serialpure virtual
            SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
            SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
            SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
            SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
            SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
            SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
            SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
            SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
            SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
            Shutdown()=0MM::Devicepure virtual
            StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
            SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
            Type (defined in MM::Serial)MM::Serialstatic
            UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
            UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
            Write(const unsigned char *buf, unsigned long bufLen)=0 (defined in MM::Serial)MM::Serialpure virtual
            ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
            ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
            ~Serial() (defined in MM::Serial)MM::Serialinlinevirtual
            diff --git a/class_m_m_1_1_serial.html b/class_m_m_1_1_serial.html index 1ce5346..53b0185 100644 --- a/class_m_m_1_1_serial.html +++ b/class_m_m_1_1_serial.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Serial Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ + -
            -
            MM::Serial Class Referenceabstract
            +
            MM::Serial Class Referenceabstract
            @@ -65,162 +64,166 @@
            - - + - - - - - - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

            +

            Public Member Functions

            -virtual DeviceType GetType () const
            virtual DeviceType GetType () const
             
            +
            virtual PortType GetPortType () const =0
             
            +
            virtual int SetCommand (const char *command, const char *term)=0
             
            +
            virtual int GetAnswer (char *txt, unsigned maxChars, const char *term)=0
             
            +
            virtual int Write (const unsigned char *buf, unsigned long bufLen)=0
             
            +
            virtual int Read (unsigned char *buf, unsigned long bufLen, unsigned long &charsRead)=0
             
            +
            virtual int Purge ()=0
             
            - Public Member Functions inherited from MM::Device
            -virtual unsigned GetNumberOfProperties () const =0
            virtual unsigned GetNumberOfProperties () const =0
             
            -virtual int GetProperty (const char *name, char *value) const =0
            virtual int GetProperty (const char *name, char *value) const =0
             
            -virtual int SetProperty (const char *name, const char *value)=0
            virtual int SetProperty (const char *name, const char *value)=0
             
            -virtual bool HasProperty (const char *name) const =0
            virtual bool HasProperty (const char *name) const =0
             
            -virtual bool GetPropertyName (unsigned idx, char *name) const =0
            virtual bool GetPropertyName (unsigned idx, char *name) const =0
             
            -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
            virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
             
            -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
            virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
             
            +
            virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
             
            -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
            virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
             
            -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
            virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
             
            -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
            virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
             
            -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
            virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
             
            -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
            virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
             
            virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
            virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
             
            virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
            virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
             
            virtual int StartPropertySequence (const char *propertyName)=0
            virtual int StartPropertySequence (const char *propertyName)=0
             
            virtual int StopPropertySequence (const char *propertyName)=0
            virtual int StopPropertySequence (const char *propertyName)=0
             
            virtual int ClearPropertySequence (const char *propertyName)=0
            virtual int ClearPropertySequence (const char *propertyName)=0
             
            virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
            virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
             
            virtual int SendPropertySequence (const char *propertyName)=0
            virtual int SendPropertySequence (const char *propertyName)=0
             
            -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
            virtual bool GetErrorText (int errorCode, char *errMessage) const =0
             
            +
            virtual bool Busy ()=0
             
            -virtual double GetDelayMs () const =0
            virtual double GetDelayMs () const =0
             
            -virtual void SetDelayMs (double delay)=0
            virtual void SetDelayMs (double delay)=0
             
            -virtual bool UsesDelay ()=0
            virtual bool UsesDelay ()=0
             
            +
             MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
             
            +
             MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
             
            -virtual void SetLabel (const char *label)=0
            virtual void SetLabel (const char *label)=0
             
            -virtual void GetLabel (char *name) const =0
            virtual void GetLabel (char *name) const =0
             
            -virtual void SetModuleName (const char *moduleName)=0
            virtual void SetModuleName (const char *moduleName)=0
             
            -virtual void GetModuleName (char *moduleName) const =0
            virtual void GetModuleName (char *moduleName) const =0
             
            -virtual void SetDescription (const char *description)=0
            virtual void SetDescription (const char *description)=0
             
            -virtual void GetDescription (char *description) const =0
            virtual void GetDescription (char *description) const =0
             
            +
            virtual int Initialize ()=0
             
            virtual int Shutdown ()=0
            virtual int Shutdown ()=0
             
            +
            virtual void GetName (char *name) const =0
             
            -virtual void SetCallback (Core *callback)=0
            virtual void SetCallback (Core *callback)=0
             
            +
            virtual bool SupportsDeviceDetection (void)=0
             
            +
            virtual MM::DeviceDetectionStatus DetectDevice (void)=0
             
            +
            virtual void SetParentID (const char *parentId)=0
             
            +
            virtual void GetParentID (char *parentID) const =0
             
            - -

            +

            Static Public Attributes

            +
            static const DeviceType Type = SerialDevice
             

            Detailed Description

            Serial port API.

            -

            The documentation for this class was generated from the following files:
              +

              Member Function Documentation

              + +

              ◆ GetType()

              + +
              +
              + + + + + +
              + + + + + + + +
              virtual DeviceType MM::Serial::GetType () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::Device.

              + +
              +
              +
              The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_serial.png b/class_m_m_1_1_serial.png index f61ebe78610a3774a3a626decc6c138782dd2d5d..63ba9ab37628cf6720ef4618d4b467c5f18184c7 100644 GIT binary patch literal 1179 zcma)+e=ys37{`MhRaM)yhZa>QU8g?;b=Y+lEk>%vX-k{ZSl7w?8g?>2+T?4qs;xaH ztZ67c6{9n3lZoHo_|g{v)`8?12^ZfC7?s;C% z=j+Ju5bN!Gx8ra)Yf@-X6lP&;^S7B{=aqny`!VAXdHP&10046rmNc~DzB)e-w{&}! zaDmU~WA|s7&+4(5WoA_PSsbQcEnm}$F&yrVw@E=K&Sje@D`#8PKkhWIvq`4O&}Loz z4Il1!_qft7Ct~a^&IR*r3d$+BkK^BAdLK~`NEsX$Ke*ZixZgFA4~tlM%{_0@XmXbl zo`|)Ip*?_-4wL+yH()x!5IMP*>_Q@_8OV`nUqXz;^oKo$2Wj7OV)VDcr^W~)&$v^<-PUaZIx3<#HU)cWKE+mL_X=fLcXj&>li z{QC?O9sU@fze7bF`6wbj9o#~n?6Q{-*K7jt3Y#}WHq8b~P+SIw7~uFi$u~RYCd(Jr zmZ?wtx3#lK-QxyZQ4|w6maEoFIYocUqdJm^^ZEdEsFC3{H80JbT6BA8KsuzOa&p_t zG}USu1dWKZB*m#@+Rv@p9$Kfi3^s@}uVuM*sg?&v9EwD|4`Y5$;>OajnlwgNTqX9g z;Y&4Cqokm1B94$-auYRbm-M|-2`GV%Kk3xeE8k~C%VcD`z&|?apI_;$Mvgi^ig22{ zsoAhv5J6ef#X#}PZ*jn#x-|T}bP*B~B`)-X=mvOigQ&fB2#rt!@;kZri`vLQeZNFl@0KrOQD>VJVk> zS=*eioJ@&Bc#6yxe+r;dR|=rIc6NJZ`cYad&$)8Wg;7<}dubJJYOpC?(@koM$RH4% z930^ZfG23yQy=^APIDiD(a(IrJ^xU=f`v%^p#zFrTS>Ya54aVrvp9b4ujUDufe%(3 UC9c+T>>I(6g2RKFPR4)vH|VM3knNQAw+Q0F%T|KQ@V|ThK)t!VGC3cEVQ=*;~}#0 zC?XJPrYi(9M1dj*tPK(#HqZ>>O4rhY@)Q^pC~fKOy(`O1{N+w^9$#{PeCOmlr~E>6 zsEySzD*ym&z_4JFF$;_?v@|isq;o+hjLGgoBsl~{QDeEXuFhc(RT-;)T__ZqmCJEP zXqioljs=WO2lny>*&6^%t-#n*gSrk)wN% zv^0`(>L&tYOrz?Gn;nSco0GkILS!dEF6}n-6zNBDz9Ou~GBcS?NBov&w97>olY93! zahV{!4tlMm+_?mS`-O=MV)w?Ux+@enbn+84AJN4>|ItlWoLvax!RBHCL3bFbSqRle z)Zic?k;fS^n+r>3-L#iO&7;l2IpnC}my@2)pamQdGlUbew=A~sFb1}S0OI=~%OY~x z$Hp2fd|XUq;pRV@8})!iSa)7qsE%}cehsE^1YgF`lK7DdA>sJ`l$rq_k@k+kV6*Dl}oq)hDP7B^w6+ zb=QW*W^o=D6f{4&#GIF+*nakW5if!2M$FR&*iRF%P8<~FGPdR zCAV_>{GU)y>BmY{wWE2R$aT!de(o|u-{f2&S7*@9=l-dwoS&=M0pMAHPR247LXVv`${4N(t{6lGVcL0VGPP4 z9XraxH(<<@GtnCk`5zSN6L(9Sg)2xk1e`teKLUAIJ`Po+a0~BN&eY8+LTcPlVvSK= z;Pz_@y1M;@H+VT+qGwouZ@zPI263uKkp17P$1wqUx(<_<;fkMSiMlj{#Na(>Fm#EN z?h2CE;$__&#hN$(t#^zj4F>Lsi`3) - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              -
              -
              MM::Shutter Member List
              +
              MM::Shutter Member List

              This is the complete list of members for MM::Shutter, including all inherited members.

              - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
              AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
              Busy()=0 (defined in MM::Device)MM::Devicepure virtual
              Busy()=0 (defined in MM::Device)MM::Devicepure virtual
              ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
              DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Device() (defined in MM::Device)MM::Deviceinline
              Fire(double deltaT)=0MM::Shutterpure virtual
              Fire(double deltaT)=0MM::Shutterpure virtual
              GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetOpen(bool &open)=0 (defined in MM::Shutter)MM::Shutterpure virtual
              GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
              GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
              GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetType() const (defined in MM::Shutter)MM::Shutterinlinevirtual
              GetType() const (defined in MM::Shutter)MM::Shutterinlinevirtual
              HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
              IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
              IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
              MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
              SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
              SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
              SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
              SetOpen(bool open=true)=0 (defined in MM::Shutter)MM::Shutterpure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
              Shutdown()=0MM::Devicepure virtual
              Shutdown()=0MM::Devicepure virtual
              Shutter() (defined in MM::Shutter)MM::Shutterinline
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
              SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Type (defined in MM::Shutter)MM::Shutterstatic
              UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
              UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
              ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
              ~Shutter() (defined in MM::Shutter)MM::Shutterinlinevirtual
              ~Shutter() (defined in MM::Shutter)MM::Shutterinlinevirtual
              diff --git a/class_m_m_1_1_shutter.html b/class_m_m_1_1_shutter.html index 8bd083f..620b882 100644 --- a/class_m_m_1_1_shutter.html +++ b/class_m_m_1_1_shutter.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Shutter Class Reference @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ + -
              -
              MM::Shutter Class Referenceabstract
              +
              MM::Shutter Class Referenceabstract
              @@ -65,147 +64,123 @@
              - - + - - - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

              +

              Public Member Functions

              -virtual DeviceType GetType () const
              virtual DeviceType GetType () const
               
              +
              virtual int SetOpen (bool open=true)=0
               
              +
              virtual int GetOpen (bool &open)=0
               
              virtual int Fire (double deltaT)=0
              virtual int Fire (double deltaT)=0
               
              - Public Member Functions inherited from MM::Device
              -virtual unsigned GetNumberOfProperties () const =0
              virtual unsigned GetNumberOfProperties () const =0
               
              -virtual int GetProperty (const char *name, char *value) const =0
              virtual int GetProperty (const char *name, char *value) const =0
               
              -virtual int SetProperty (const char *name, const char *value)=0
              virtual int SetProperty (const char *name, const char *value)=0
               
              -virtual bool HasProperty (const char *name) const =0
              virtual bool HasProperty (const char *name) const =0
               
              -virtual bool GetPropertyName (unsigned idx, char *name) const =0
              virtual bool GetPropertyName (unsigned idx, char *name) const =0
               
              -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
              virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
               
              -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
              virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
               
              +
              virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
               
              -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
              virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
               
              -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
              virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
               
              -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
              virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
               
              -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
              virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
               
              -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
              virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
               
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
               
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
               
              virtual int StartPropertySequence (const char *propertyName)=0
              virtual int StartPropertySequence (const char *propertyName)=0
               
              virtual int StopPropertySequence (const char *propertyName)=0
              virtual int StopPropertySequence (const char *propertyName)=0
               
              virtual int ClearPropertySequence (const char *propertyName)=0
              virtual int ClearPropertySequence (const char *propertyName)=0
               
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
               
              virtual int SendPropertySequence (const char *propertyName)=0
              virtual int SendPropertySequence (const char *propertyName)=0
               
              -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
              virtual bool GetErrorText (int errorCode, char *errMessage) const =0
               
              +
              virtual bool Busy ()=0
               
              -virtual double GetDelayMs () const =0
              virtual double GetDelayMs () const =0
               
              -virtual void SetDelayMs (double delay)=0
              virtual void SetDelayMs (double delay)=0
               
              -virtual bool UsesDelay ()=0
              virtual bool UsesDelay ()=0
               
              +
               MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
               
              +
               MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
               
              -virtual void SetLabel (const char *label)=0
              virtual void SetLabel (const char *label)=0
               
              -virtual void GetLabel (char *name) const =0
              virtual void GetLabel (char *name) const =0
               
              -virtual void SetModuleName (const char *moduleName)=0
              virtual void SetModuleName (const char *moduleName)=0
               
              -virtual void GetModuleName (char *moduleName) const =0
              virtual void GetModuleName (char *moduleName) const =0
               
              -virtual void SetDescription (const char *description)=0
              virtual void SetDescription (const char *description)=0
               
              -virtual void GetDescription (char *description) const =0
              virtual void GetDescription (char *description) const =0
               
              +
              virtual int Initialize ()=0
               
              virtual int Shutdown ()=0
              virtual int Shutdown ()=0
               
              +
              virtual void GetName (char *name) const =0
               
              -virtual void SetCallback (Core *callback)=0
              virtual void SetCallback (Core *callback)=0
               
              +
              virtual bool SupportsDeviceDetection (void)=0
               
              +
              virtual MM::DeviceDetectionStatus DetectDevice (void)=0
               
              +
              virtual void SetParentID (const char *parentId)=0
               
              +
              virtual void GetParentID (char *parentID) const =0
               
              - -

              +

              Static Public Attributes

              +
              static const DeviceType Type = ShutterDevice
               

              Detailed Description

              Shutter API

              Member Function Documentation

              - -

              ◆ Fire()

              + +

              ◆ Fire()

              + +

              ◆ GetType()

              + +
              +
              + + + + + +
              + + + + + + + +
              virtual DeviceType MM::Shutter::GetType () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::Device.

              +

              The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_shutter.png b/class_m_m_1_1_shutter.png index b884b103c23baf0aefee6cb7271a3ca7e09b3d17..0ce167ed5e8f90271e3c36663e3c9cd88ee58f85 100644 GIT binary patch literal 1255 zcmeAS@N?(olHy`uVBq!ia0vp^$AI_%2Q!e&ka<%Cq@)9ULR|m<{|{uoc=NTi|Il&^ z1I+@7>1SRXIB)?pW)pOK(NYHnn(i{98IDsE^-uQlDRzN03O6^Q1)^+TFHKS!WfN zXYaWx)5P=A@i&VMeO`s_ST+0oy~)#-%(B1u;=OZ-+qAZo6PBF6nI6nL`StSWt4{09 zR(sdI%W=}a2jx<$GfYgUeek#>{$|RftG{-KluISA^Ix>t?KjVaCFVb@dqZE;n5ew8 z{$^DWZe3d)baw4!-Gsa?Cdabx85c*&#}@i&dHy=Sq)o+D(Nsl~Yo(%Rphdr%=298C zhWKJe3%lnRcEtESEadB5eN@uMZ_z|`Q3shIW(BU5i~_A!7&@G?7+e%h85T{DVhHr$ zZO~Z4<{*M9y~pKx>D`YDjg76XRwky2wO%nW?mi?Zby<4d($#)jU$4)K_-bPOdtR(b zTlgKW@KU?kk@CTd^`9@ev&y-r&Ec-pnKSzm=lhzT%L|o#b*}Kzhkor$2X3^OhGiwj}X}-HwzbY>{aq&f;dgIO8e{OB_{}^WSD*5c0H_AY-zs|I~6tPL= z-mD)K>kO zeYs@$e3ek2T3~>zJ2quY%(~@EUcI_4%`e`&^7!6)lUBWcTIW1J`r)cx!}5zO;_u#{ zK2<8-MsI)g!BwS|-=?|6?^^iF;QQX=ig%>#FMRl%Z=N$>-#TU9YlGf@aiPamBV^w1 zSrs+i>#%KQ_~F*$PmlfCU|1Htm@h0_<9eOB)MtZ!lV^WEzqa50+t>7bO~tl2hwcA@ zOJ{RQ_lEt-H@j+aWpc)kr(Z5cEPehhzsBTUc8>WnE8XkgI%=eP-+G2V{b;^(S?uV?slTl;-tf*Km^zX0SFAtVvW$C2Ppa1U9vR6x19l0&Py1C}){Mz|_3qO9* zuAY$LaY-2#8m*r*rUadO$oRulyy0;%U+?LsB67f#7d7YLV-=~&AjTv3(->ONAMgem z*1r=-^})@-emJd^#>kJBVWR!u(j)NOz7yZIrXt5sjt{#zek p=-K5CD=a|Crgb$aZ_fMAP`B%ct5iYmT40gH;OXk;vd$@?2>_3xSCs$& literal 1224 zcmeAS@N?(olHy`uVBq!ia0vp^$AI_%2Q!e&ka<%Cq$C1-LR|m<{|{uoc=NTi|Ih>= z3ycpOIKbL@M;^%KC<*clW&kPzfvcxNj2IYL!aZFaLn;{G&V4;?v4Q~G>HgxH|L$>* zS*28Gs=V@fU3N`KOmbm{)c;9AUf0`IJj2yZR8Dd)RP>Cqa9XUrbmh6J$NeW|N%>Ct zV%nbJGr3A+S=O`aFH2NcJ_|QF_FH7?%u5?YCVjCzp0g^m=oJ*wK94*W}R>rVq{;3>Atd40{Bm7~(j18T4D&8pNHL4{$GJe9(G<;e!*3 zbi?)+yVmWtD`5b78KT9)DY^1+z^ql49IM+x{Tu$uEHd2tC~(HAk2lZ!nk9AF!aG3j zs-|1;g1#At4QFS~ySvKjYVYGkiSpr>7~%`(xyi0Es<%2dmGQoWxem^$#s)LHhz)x3Xbj7Tp6=$`I1*sx25^Jk6n5k>F;^px8&-e(8@jP z=GW?fdM!>ld4Be)snWgg-So`UgRbV^antu(wam@(_nVT>vsX=CC6r&kM(>m8|Chf@ zczfmdZxZipQ`xHoOYuAU-MlnoWL$UN*5ubeF}d#-By`?AC=~9sSjq5*sAL5T z`vu7;S;eq}r{ zcIQW*!(Sr5uI_KN?{@pVBr55`oe;g^#Xs-PFh9K{Xl{s_`LWzDf0mqjKXu9ZpYi)2 nO?uJ~bG#xbq?$p2G_PJfxa{pw>vz|H#SVj~tDnm{r-UW|Owv9- diff --git a/class_m_m_1_1_signal_i_o-members.html b/class_m_m_1_1_signal_i_o-members.html index b9a4c47..cc97c01 100644 --- a/class_m_m_1_1_signal_i_o-members.html +++ b/class_m_m_1_1_signal_i_o-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ +
              -
              -
              MM::SignalIO Member List
              +
              MM::SignalIO Member List

              This is the complete list of members for MM::SignalIO, including all inherited members.

              - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
              AddToDASequence(double voltage)=0MM::SignalIOpure virtual
              AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
              AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
              Busy()=0 (defined in MM::Device)MM::Devicepure virtual
              ClearDASequence()=0MM::SignalIOpure virtual
              ClearDASequence()=0MM::SignalIOpure virtual
              ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
              DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Device() (defined in MM::Device)MM::Deviceinline
              GetDASequenceMaxLength(long &nrEvents) const =0MM::SignalIOpure virtual
              GetDASequenceMaxLength(long &nrEvents) const =0MM::SignalIOpure virtual
              GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetGateOpen(bool &open)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              GetGateOpen(bool &open)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetLimits(double &minVolts, double &maxVolts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              GetLimits(double &minVolts, double &maxVolts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
              GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
              GetSignal(double &volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              GetType() const (defined in MM::SignalIO)MM::SignalIOinlinevirtual
              GetType() const (defined in MM::SignalIO)MM::SignalIOinlinevirtual
              HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
              Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
              IsDASequenceable(bool &isSequenceable) const =0MM::SignalIOpure virtual
              IsDASequenceable(bool &isSequenceable) const =0MM::SignalIOpure virtual
              IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
              MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
              MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
              SendDASequence()=0MM::SignalIOpure virtual
              SendDASequence()=0MM::SignalIOpure virtual
              SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
              SetGateOpen(bool open=true)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
              SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
              SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
              SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
              SetSignal(double volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              SetSignal(double volts)=0 (defined in MM::SignalIO)MM::SignalIOpure virtual
              Shutdown()=0MM::Devicepure virtual
              SignalIO() (defined in MM::SignalIO)MM::SignalIOinline
              SignalIO() (defined in MM::SignalIO)MM::SignalIOinline
              StartDASequence()=0MM::SignalIOpure virtual
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StopDASequence()=0MM::SignalIOpure virtual
              StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
              SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
              Type (defined in MM::SignalIO)MM::SignalIOstatic
              Type (defined in MM::SignalIO)MM::SignalIOstatic
              UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
              ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
              ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
              ~SignalIO() (defined in MM::SignalIO)MM::SignalIOinlinevirtual
              diff --git a/class_m_m_1_1_signal_i_o.html b/class_m_m_1_1_signal_i_o.html index 7d83cf1..374b0df 100644 --- a/class_m_m_1_1_signal_i_o.html +++ b/class_m_m_1_1_signal_i_o.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::SignalIO Class Reference @@ -16,10 +16,9 @@
              - - + @@ -27,15 +26,16 @@
              -
              MMDevice -  70 +
              +
              MMDevice 70
              - + +/* @license-end */ + -
              -
              MM::SignalIO Class Referenceabstract
              +
              MM::SignalIO Class Referenceabstract
              @@ -65,168 +64,144 @@
              - - + - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

              +

              Public Member Functions

              -virtual DeviceType GetType () const
              virtual DeviceType GetType () const
               
              +
              virtual int SetGateOpen (bool open=true)=0
               
              +
              virtual int GetGateOpen (bool &open)=0
               
              +
              virtual int SetSignal (double volts)=0
               
              +
              virtual int GetSignal (double &volts)=0
               
              +
              virtual int GetLimits (double &minVolts, double &maxVolts)=0
               
              virtual int IsDASequenceable (bool &isSequenceable) const =0
              virtual int IsDASequenceable (bool &isSequenceable) const =0
               
              virtual int GetDASequenceMaxLength (long &nrEvents) const =0
              virtual int GetDASequenceMaxLength (long &nrEvents) const =0
               
              virtual int StartDASequence ()=0
              virtual int StartDASequence ()=0
               
              virtual int StopDASequence ()=0
              virtual int StopDASequence ()=0
               
              virtual int ClearDASequence ()=0
              virtual int ClearDASequence ()=0
               
              virtual int AddToDASequence (double voltage)=0
              virtual int AddToDASequence (double voltage)=0
               
              virtual int SendDASequence ()=0
              virtual int SendDASequence ()=0
               
              - Public Member Functions inherited from MM::Device
              -virtual unsigned GetNumberOfProperties () const =0
              virtual unsigned GetNumberOfProperties () const =0
               
              -virtual int GetProperty (const char *name, char *value) const =0
              virtual int GetProperty (const char *name, char *value) const =0
               
              -virtual int SetProperty (const char *name, const char *value)=0
              virtual int SetProperty (const char *name, const char *value)=0
               
              -virtual bool HasProperty (const char *name) const =0
              virtual bool HasProperty (const char *name) const =0
               
              -virtual bool GetPropertyName (unsigned idx, char *name) const =0
              virtual bool GetPropertyName (unsigned idx, char *name) const =0
               
              -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
              virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
               
              -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
              virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
               
              +
              virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
               
              -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
              virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
               
              -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
              virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
               
              -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
              virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
               
              -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
              virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
               
              -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
              virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
               
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
              virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
               
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
              virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
               
              virtual int StartPropertySequence (const char *propertyName)=0
              virtual int StartPropertySequence (const char *propertyName)=0
               
              virtual int StopPropertySequence (const char *propertyName)=0
              virtual int StopPropertySequence (const char *propertyName)=0
               
              virtual int ClearPropertySequence (const char *propertyName)=0
              virtual int ClearPropertySequence (const char *propertyName)=0
               
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
              virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
               
              virtual int SendPropertySequence (const char *propertyName)=0
              virtual int SendPropertySequence (const char *propertyName)=0
               
              -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
              virtual bool GetErrorText (int errorCode, char *errMessage) const =0
               
              +
              virtual bool Busy ()=0
               
              -virtual double GetDelayMs () const =0
              virtual double GetDelayMs () const =0
               
              -virtual void SetDelayMs (double delay)=0
              virtual void SetDelayMs (double delay)=0
               
              -virtual bool UsesDelay ()=0
              virtual bool UsesDelay ()=0
               
              +
               MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
               
              +
               MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
               
              -virtual void SetLabel (const char *label)=0
              virtual void SetLabel (const char *label)=0
               
              -virtual void GetLabel (char *name) const =0
              virtual void GetLabel (char *name) const =0
               
              -virtual void SetModuleName (const char *moduleName)=0
              virtual void SetModuleName (const char *moduleName)=0
               
              -virtual void GetModuleName (char *moduleName) const =0
              virtual void GetModuleName (char *moduleName) const =0
               
              -virtual void SetDescription (const char *description)=0
              virtual void SetDescription (const char *description)=0
               
              -virtual void GetDescription (char *description) const =0
              virtual void GetDescription (char *description) const =0
               
              +
              virtual int Initialize ()=0
               
              virtual int Shutdown ()=0
              virtual int Shutdown ()=0
               
              +
              virtual void GetName (char *name) const =0
               
              -virtual void SetCallback (Core *callback)=0
              virtual void SetCallback (Core *callback)=0
               
              +
              virtual bool SupportsDeviceDetection (void)=0
               
              +
              virtual MM::DeviceDetectionStatus DetectDevice (void)=0
               
              +
              virtual void SetParentID (const char *parentId)=0
               
              +
              virtual void GetParentID (char *parentID) const =0
               
              - -

              +

              Static Public Attributes

              +
              static const DeviceType Type = SignalIODevice
               

              Detailed Description

              ADC and DAC interface.

              Member Function Documentation

              - -

              ◆ AddToDASequence()

              + +

              ◆ AddToDASequence()

              @@ -252,8 +227,8 @@

              -

              ◆ ClearDASequence()

              + +

              ◆ ClearDASequence()

              - -

              ◆ GetDASequenceMaxLength()

              + +

              ◆ GetDASequenceMaxLength()

              @@ -311,8 +287,35 @@

              -

              ◆ IsDASequenceable()

              + +

              ◆ GetType()

              + +
              +
              + + + + + +
              + + + + + + + +
              virtual DeviceType MM::SignalIO::GetType () const
              +
              +inlinevirtual
              +
              + +

              Implements MM::Device.

              + +
              +
              + +

              ◆ IsDASequenceable()

              @@ -344,8 +347,8 @@

              -

              ◆ SendDASequence()

              + +

              ◆ SendDASequence()

              @@ -370,8 +373,8 @@

              -

              ◆ StartDASequence()

              + +

              ◆ StartDASequence()

              @@ -396,8 +399,8 @@

              -

              ◆ StopDASequence()

              + +

              ◆ StopDASequence()

              @@ -424,12 +427,12 @@

              MMDevice.h -
            • MMDevice.cpp
            • +
            • MMDevice.cpp
            diff --git a/class_m_m_1_1_signal_i_o.png b/class_m_m_1_1_signal_i_o.png index 117a6da72c286e16fe0d86d5861f38c026ef1544..af66940c36a78dd98f29a8b3ed6af233a0186a74 100644 GIT binary patch delta 1161 zcmV;41a|xT37QI!B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00gB;L_t(|0qvdPlCvxfMvo6Oo!tKwe{K~7wcEN{ z-+W9uJ%vG(90TcJQc9^GNRreGp(9CN2^~rD%2hhU(pKHM^MCV^q?Vl_Njk-4I#X~z zP1UX9{zmYU)N-57^LNV9%rcN0Njk@Mn{5j68D`a8c3&2#n|45wPV!xyRd#lDmUKzd zNiHk}O+KoUQ0dGyAqy9s{aPVO2f0^gmC8Chl60Oc3-#(GY%5zC%|DLM&YsTvEqkf7 zZK?BD*(AvUp&}zmUI`sZ@=EAPl2`iENhzgn0Jwt(KtJ@Q^LTXS)0fU@lQ{x7f5R{g z{lH*m)(fFyX6BX9F*EbZ6*~C|V_S7|Z~Qa^W>$UkJ@Yg(vol(b2*OBS;6l9T_9PMf?&pbFomPMwe3 z-5ijW&UE-hGDJcItxw4fDRVE$%@0gi=$hQ}} zQK#92W@caD&g@*XpUli&a`R?0Gy5i?V`k=+&@nUf%BV98!_W-?cklq{hrVnVX+h zQvKZwy_hFS4SCMkR^8Q_lC(p9El9nvX}nU-0tu_U#A@E>$)kNtt|^=0Rjn4eKjf4@yPJ1mdM z#(NL_O{aQ;M|G-nRU5ioEa|L{$F5GByv=Hr<0siE%l)QP&S{;GGG1@CVlZ86HeA-o z->M|6!mf478Xs=9dC51~sbBBvv8&Ctx~I<0Yn|#DyGi*Sp8 z9oXM0+uqsP`QIt+riL~1VV>LTm&&%Qv((D!xV4+D%H$H#Dp*O)x6+ZMf6M!Sv3E1v z=ro&9lJb*=&auH65Eoe z{moVkCdVe^&1O3$bn5Kv>3p`?>Ky&U>})Dqb#``iww2A-+1dTy$(3y>U1ebVzcXEa zS=q`Bl60KII+C>IL$qsMNsSNeDfI(Ml6oO@B*`nGBS~JlN@rMG(_K10A4#fdTz`_JQ(UGq2lvyMu8I2_ z!AnxjZ90$NIZF%ch1^KeIj-AmbC8cPO?TaWS->{+1xY%|cXc+|Y3i)$lBAPdSPH6q zn37<0mYR@-i%z>%NYX*>)!C%dW=E3Fb7i64oP>R4D_8T6y3p)C~Z4Faq>LUpnL1l}}$flTA-Po#{kn1Mo|e>H{f% zUI`t5!wkbP^aBGxFN6+&S3(ECD_7{`8K%~BP2sFA0Op(jvkU_`!zDWN6hDpW8m|{i zEIRLo0er$OI!imh6{eq@kD{}Tx?-bTHAjwh?PiBH3)y(h$$z6$C$ADP;k(qa`N-Yf z0omxxhyOp*$!C10<9V~~AAMVA$;VDp$5&-*>XcGY-aEOnl^Z6Lj@~-}AM)+RZq%tZ zA;1^7GdtJpCxEBiyx9Q0N$3E0C3FD1GU*J%FmwaJ9gG0|(3j3QcIDHT&ScY*PiHz& z*#P{L@dF~0Z~_Z|;4mqrbOU2bDSaQ3B=th*NRn4VN0Pi^bcX4(G(W8*``ul7GER~z z@|dYL-OZYk)FA(7x72)9l4@3+JmT3%N!9n`ar2m;#&kcMV+m(J?5$3{#5_xRa(UW0 z5c5QoxI&@#_^Nvl;vLOlyhqHQLfv~Rt)BQ)rQL&`D;qTCTy!y*7$I< zEla-1j(xnFX*Zi~^B8xaF~=*x`8pJl)ev1l6oO@B*`nGBS~I4tTRj>(?0r=v|+k#hdtV7V>kbMKB*+V z=BQ3y?%lG>kTUGkFz?kV3+2uu)M1Xk@?pyxw5ULt6bQ>cjntqD_i-4Bpv6ljwJ0l5rHIK z#sxa2q)F1Baz%DdZ4XJhj*B*%BzYioB*`nGBS~JFbW%#G8~y<`y?dB~11Yf#00000 LNkvXXu0mjf9pXA3 diff --git a/class_m_m_1_1_stage-members.html b/class_m_m_1_1_stage-members.html index 548d2b9..7cbb7fa 100644 --- a/class_m_m_1_1_stage-members.html +++ b/class_m_m_1_1_stage-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MM::Stage Member List
            +
            MM::Stage Member List

            This is the complete list of members for MM::Stage, including all inherited members.

            - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
            AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
            AddToStageSequence(double position)=0MM::Stagepure virtual
            AddToStageSequence(double position)=0MM::Stagepure virtual
            Busy()=0 (defined in MM::Device)MM::Devicepure virtual
            ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            ClearStageSequence()=0MM::Stagepure virtual
            DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
            DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
            Device() (defined in MM::Device)MM::Deviceinline
            GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetFocusDirection(FocusDirection &direction)=0MM::Stagepure virtual
            GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetLimits(double &lower, double &upper)=0 (defined in MM::Stage)MM::Stagepure virtual
            GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
            GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPositionSteps(long &steps)=0 (defined in MM::Stage)MM::Stagepure virtual
            GetPositionUm(double &pos)=0 (defined in MM::Stage)MM::Stagepure virtual
            GetPositionUm(double &pos)=0 (defined in MM::Stage)MM::Stagepure virtual
            GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
            GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
            GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
            GetStageSequenceMaxLength(long &nrEvents) const =0 (defined in MM::Stage)MM::Stagepure virtual
            GetStageSequenceMaxLength(long &nrEvents) const =0 (defined in MM::Stage)MM::Stagepure virtual
            GetType() const (defined in MM::Stage)MM::Stageinlinevirtual
            HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
            HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
            Home()=0 (defined in MM::Stage)MM::Stagepure virtual
            Home()=0 (defined in MM::Stage)MM::Stagepure virtual
            Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
            IsContinuousFocusDrive() const =0 (defined in MM::Stage)MM::Stagepure virtual
            IsContinuousFocusDrive() const =0 (defined in MM::Stage)MM::Stagepure virtual
            IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
            IsStageLinearSequenceable(bool &isSequenceable) const =0MM::Stagepure virtual
            IsStageLinearSequenceable(bool &isSequenceable) const =0MM::Stagepure virtual
            IsStageSequenceable(bool &isSequenceable) const =0MM::Stagepure virtual
            MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
            MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
            MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
            Move(double velocity)=0 (defined in MM::Stage)MM::Stagepure virtual
            Move(double velocity)=0 (defined in MM::Stage)MM::Stagepure virtual
            SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            SendStageSequence()=0MM::Stagepure virtual
            SendStageSequence()=0MM::Stagepure virtual
            SetAdapterOriginUm(double d)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
            SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
            SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
            SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
            SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
            SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
            SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
            SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
            SetOrigin()=0 (defined in MM::Stage)MM::Stagepure virtual
            SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
            SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
            SetPositionSteps(long steps)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetPositionUm(double pos)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetPositionUm(double pos)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
            SetRelativePositionUm(double d)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetRelativePositionUm(double d)=0 (defined in MM::Stage)MM::Stagepure virtual
            SetStageLinearSequence(double dZ_um, long nSlices)=0MM::Stagepure virtual
            Shutdown()=0MM::Devicepure virtual
            Shutdown()=0MM::Devicepure virtual
            Stage() (defined in MM::Stage)MM::Stageinline
            StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            StartStageSequence()=0 (defined in MM::Stage)MM::Stagepure virtual
            Stop()=0 (defined in MM::Stage)MM::Stagepure virtual
            Stop()=0 (defined in MM::Stage)MM::Stagepure virtual
            StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
            StopStageSequence()=0 (defined in MM::Stage)MM::Stagepure virtual
            StopStageSequence()=0 (defined in MM::Stage)MM::Stagepure virtual
            SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
            Type (defined in MM::Stage)MM::Stagestatic
            Type (defined in MM::Stage)MM::Stagestatic
            UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
            ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
            ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
            ~Stage() (defined in MM::Stage)MM::Stageinlinevirtual
            diff --git a/class_m_m_1_1_stage.html b/class_m_m_1_1_stage.html index 421faa6..e7461da 100644 --- a/class_m_m_1_1_stage.html +++ b/class_m_m_1_1_stage.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::Stage Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ + -
            -
            MM::Stage Class Referenceabstract
            +
            MM::Stage Class Referenceabstract
            @@ -65,199 +64,175 @@
            - - + - - - - - - - - - - - - - + + - + - + - - - - - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

            +

            Public Member Functions

            -virtual DeviceType GetType () const
            virtual DeviceType GetType () const
             
            +
            virtual int SetPositionUm (double pos)=0
             
            +
            virtual int SetRelativePositionUm (double d)=0
             
            +
            virtual int Move (double velocity)=0
             
            +
            virtual int Stop ()=0
             
            +
            virtual int Home ()=0
             
            +
            virtual int SetAdapterOriginUm (double d)=0
             
            +
            virtual int GetPositionUm (double &pos)=0
             
            +
            virtual int SetPositionSteps (long steps)=0
             
            +
            virtual int GetPositionSteps (long &steps)=0
             
            +
            virtual int SetOrigin ()=0
             
            +
            virtual int GetLimits (double &lower, double &upper)=0
             
            virtual int GetFocusDirection (FocusDirection &direction)=0
             Return the focus direction. More...
            virtual int GetFocusDirection (FocusDirection &direction)=0
             Return the focus direction.
             
            virtual int IsStageSequenceable (bool &isSequenceable) const =0
            virtual int IsStageSequenceable (bool &isSequenceable) const =0
             
            virtual int IsStageLinearSequenceable (bool &isSequenceable) const =0
            virtual int IsStageLinearSequenceable (bool &isSequenceable) const =0
             
            +
            virtual bool IsContinuousFocusDrive () const =0
             
            +
            virtual int GetStageSequenceMaxLength (long &nrEvents) const =0
             
            +
            virtual int StartStageSequence ()=0
             
            +
            virtual int StopStageSequence ()=0
             
            virtual int ClearStageSequence ()=0
            virtual int ClearStageSequence ()=0
             
            virtual int AddToStageSequence (double position)=0
            virtual int AddToStageSequence (double position)=0
             
            virtual int SendStageSequence ()=0
            virtual int SendStageSequence ()=0
             
            virtual int SetStageLinearSequence (double dZ_um, long nSlices)=0
            virtual int SetStageLinearSequence (double dZ_um, long nSlices)=0
             
            - Public Member Functions inherited from MM::Device
            -virtual unsigned GetNumberOfProperties () const =0
            virtual unsigned GetNumberOfProperties () const =0
             
            -virtual int GetProperty (const char *name, char *value) const =0
            virtual int GetProperty (const char *name, char *value) const =0
             
            -virtual int SetProperty (const char *name, const char *value)=0
            virtual int SetProperty (const char *name, const char *value)=0
             
            -virtual bool HasProperty (const char *name) const =0
            virtual bool HasProperty (const char *name) const =0
             
            -virtual bool GetPropertyName (unsigned idx, char *name) const =0
            virtual bool GetPropertyName (unsigned idx, char *name) const =0
             
            -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
            virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
             
            -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
            virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
             
            +
            virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
             
            -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
            virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
             
            -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
            virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
             
            -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
            virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
             
            -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
            virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
             
            -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
            virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
             
            virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
            virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
             
            virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
            virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
             
            virtual int StartPropertySequence (const char *propertyName)=0
            virtual int StartPropertySequence (const char *propertyName)=0
             
            virtual int StopPropertySequence (const char *propertyName)=0
            virtual int StopPropertySequence (const char *propertyName)=0
             
            virtual int ClearPropertySequence (const char *propertyName)=0
            virtual int ClearPropertySequence (const char *propertyName)=0
             
            virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
            virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
             
            virtual int SendPropertySequence (const char *propertyName)=0
            virtual int SendPropertySequence (const char *propertyName)=0
             
            -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
            virtual bool GetErrorText (int errorCode, char *errMessage) const =0
             
            +
            virtual bool Busy ()=0
             
            -virtual double GetDelayMs () const =0
            virtual double GetDelayMs () const =0
             
            -virtual void SetDelayMs (double delay)=0
            virtual void SetDelayMs (double delay)=0
             
            -virtual bool UsesDelay ()=0
            virtual bool UsesDelay ()=0
             
            +
             MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
             
            +
             MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
             
            -virtual void SetLabel (const char *label)=0
            virtual void SetLabel (const char *label)=0
             
            -virtual void GetLabel (char *name) const =0
            virtual void GetLabel (char *name) const =0
             
            -virtual void SetModuleName (const char *moduleName)=0
            virtual void SetModuleName (const char *moduleName)=0
             
            -virtual void GetModuleName (char *moduleName) const =0
            virtual void GetModuleName (char *moduleName) const =0
             
            -virtual void SetDescription (const char *description)=0
            virtual void SetDescription (const char *description)=0
             
            -virtual void GetDescription (char *description) const =0
            virtual void GetDescription (char *description) const =0
             
            +
            virtual int Initialize ()=0
             
            virtual int Shutdown ()=0
            virtual int Shutdown ()=0
             
            +
            virtual void GetName (char *name) const =0
             
            -virtual void SetCallback (Core *callback)=0
            virtual void SetCallback (Core *callback)=0
             
            +
            virtual bool SupportsDeviceDetection (void)=0
             
            +
            virtual MM::DeviceDetectionStatus DetectDevice (void)=0
             
            +
            virtual void SetParentID (const char *parentId)=0
             
            +
            virtual void GetParentID (char *parentID) const =0
             
            - -

            +

            Static Public Attributes

            +
            static const DeviceType Type = StageDevice
             

            Detailed Description

            Single axis stage API

            Member Function Documentation

            - -

            ◆ AddToStageSequence()

            + +

            ◆ AddToStageSequence()

            @@ -283,8 +258,8 @@

            -

            ◆ ClearStageSequence()

            + +

            ◆ ClearStageSequence()

            @@ -309,8 +284,8 @@

            -

            ◆ GetFocusDirection()

            + +

            ◆ GetFocusDirection()

            @@ -340,8 +315,35 @@

            -

            ◆ IsStageLinearSequenceable()

            + +

            ◆ GetType()

            + +
            +
            + + + + + +
            + + + + + + + +
            virtual DeviceType MM::Stage::GetType () const
            +
            +inlinevirtual
            +
            + +

            Implements MM::Device.

            + +
            +
            + +

            ◆ IsStageLinearSequenceable()

            @@ -369,8 +371,8 @@

            -

            ◆ IsStageSequenceable()

            + +

            ◆ IsStageSequenceable()

            @@ -397,8 +399,8 @@

            -

            ◆ SendStageSequence()

            + +

            ◆ SendStageSequence()

            @@ -423,8 +425,8 @@

            -

            ◆ SetStageLinearSequence()

            + +

            ◆ SetStageLinearSequence()

            @@ -463,12 +465,12 @@

            MMDevice.h -
          • MMDevice.cpp
          • +
          • MMDevice.cpp
          diff --git a/class_m_m_1_1_stage.png b/class_m_m_1_1_stage.png index 7f47574b78f786a64180f7cd45df09fd1cde731d..054b6a5b5b96e5a929de94e417ba43b71d5d01f9 100644 GIT binary patch literal 1246 zcma)6dr;B`9LL(uX*S!)&qQyYJ)k`TqC)e(v*AY;@Q` zOFK&h0&x%@9!fCvN2VNlZ@;NlmZBX^%|15jG!BMg)3~wb9^PkcttLP>obiJI1lZs-kpvr-#yU&g!QFfnP8d5`g&O?xFQ`g%mz=O% zc&`h^P42b?l>rRG?)gRZvZM@a|m16@+1uXIztV=}IVnmuc{qO;njX-IkdD=nR^*gi}k7 z5|B=1Z-aB_VJ|Dgle7$}dwX_VUJ8e%G%v9=&Mo51=82`p8ka*5mEKW7cdc) z#CbnxWQsfpOC4cOkLu$E?=vyynJ_^xtc)bIe6^Uji>XIi;x;#IY+^7 z)}PbY$zir&)g8IsI_oy^O#pb}05)qv<}oD`U=rq@(88(sviY9W2=weevWssCO`QaPr=1pL z8wRKo#%ArZaQ~sO|9R`ZPrR%qMDTx3LboQH_|Uv2$}vp uYVa{%_$i(qvF8!(p7^*KFcRIGWHg(X=!zDfE5=MtguvsXLwiEfO8*6mG?fzo literal 1216 zcmcIkeNd7I7=N8}dVZwd&1q@c?6t);bbiewi%X?^aexxeIhf9m^k|l6W=RHk)wc7N zsi-YcWT4`vF3gq*6Jf3C{79VN79gi=Lg<_bx_jL#qg~sd{kP}t_xzsU-S4m8J;05>Qho^0cO8x&6Vwq9`+XOr1vN|tJP{7^(&U*%7<09=^rQ*3Wsu4 zfK57GAQMjkHq-N(9;So=z^f!E{y3$?Zk1>3zP8Wxwb{zu3)bq&lqqd%n}!=!bCY^7 zDJ@PRZ>c5As=#mFkImrpIWZyAVmmAROA+^wxDu?(kANmn!AAEm@k2_*GOwFMG4-;n zM>}J4&-u7Om_dtfcgtn;Dc(K$>pi&neb8Hs6Kqd}fH0y#0~nRB4%Fnj_#%Cu4>~rQ zA8hr2%%3lry%SG2hd|4cB`qz-1ncTQ925r(BWUCbK@wW`YqE}QO5p4lgh1)n`$2{$ z%+cWx7}ZKa1Eh&prV`cgS?YbZ8s;${@6;IwhwQZ{_4Xy6Fpz%zSeduLU5k5}>`I)B zAjrmnDf|nUN`Tb}4iTpP@^SWxvnnB0wU~0dov~|!21J>>5SE)MbzxpS7~`b%+X9tU z{>&;uB=yOo;nj_hGMAXPjNq|e=S>vr#KJ&nXRzaq?@OkXrF*n7BxA$3)X$J6*_GKJ zBnjnPu>96G6~+zdvgsex2OMDlHw&LOF3id;dsjRVYWF}S1334l+0K?f5Q0HObnY3u z63!c6r9Yb~c-oE_XVz9e*%Z^TM1KGq8=&}N-0_dV7w(tIvX97k!|^Az^+OJy9;f8 zT(fsNY9#YK`&r|yk(MnHOLBOFHv(-5vFaV(&UfPczP5`EF*WPssc--F_0jYW3O{^O zA2Rl7ibJP9+p3%#7zGI5=Y=1vA~Q^+>k1?!bPan4?v zcNqtk1mYxGkn*l$Z|yb?Ki8QSM3N}gLV2-?QoC&|!t!IT^+hvAd)J40h)o6-=R#xY zg48=6G#uVC$V(j)C-$p+ki<0G757HjLhAVM{@VCt{Itn2O?n - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ +
          -
          -
          MM::State Member List
          +
          MM::State Member List

          This is the complete list of members for MM::State, including all inherited members.

          - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
          AddToPropertySequence(const char *propertyName, const char *value)=0MM::Devicepure virtual
          Busy()=0 (defined in MM::Device)MM::Devicepure virtual
          Busy()=0 (defined in MM::Device)MM::Devicepure virtual
          ClearPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
          DetectDevice(void)=0 (defined in MM::Device)MM::Devicepure virtual
          Device() (defined in MM::Device)MM::Deviceinline
          GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetDelayMs() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetDescription(char *description) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetErrorText(int errorCode, char *errMessage) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetGateOpen(bool &open)=0 (defined in MM::State)MM::Statepure virtual
          GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetLabel(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetLabelPosition(const char *label, long &pos) const =0 (defined in MM::State)MM::Statepure virtual
          GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetModuleName(char *moduleName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetName(char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfPositions() const =0 (defined in MM::State)MM::Statepure virtual
          GetNumberOfPositions() const =0 (defined in MM::State)MM::Statepure virtual
          GetNumberOfProperties() const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetNumberOfPropertyValues(const char *propertyName) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetParentID(char *parentID) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPosition(long &pos) const =0 (defined in MM::State)MM::Statepure virtual
          GetPosition(long &pos) const =0 (defined in MM::State)MM::Statepure virtual
          GetPosition(char *label) const =0 (defined in MM::State)MM::Statepure virtual
          GetPositionLabel(long pos, char *label) const =0 (defined in MM::State)MM::Statepure virtual
          GetPositionLabel(long pos, char *label) const =0 (defined in MM::State)MM::Statepure virtual
          GetProperty(const char *name, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyInitStatus(const char *name, bool &preInit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyLowerLimit(const char *name, double &lowLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyName(unsigned idx, char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyReadOnly(const char *name, bool &readOnly) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
          GetPropertySequenceMaxLength(const char *propertyName, long &nrEvents) const =0MM::Devicepure virtual
          GetPropertyType(const char *name, MM::PropertyType &pt) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyUpperLimit(const char *name, double &hiLimit) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetPropertyValueAt(const char *propertyName, unsigned index, char *value) const =0 (defined in MM::Device)MM::Devicepure virtual
          GetType() const (defined in MM::State)MM::Stateinlinevirtual
          GetType() const (defined in MM::State)MM::Stateinlinevirtual
          HasProperty(const char *name) const =0 (defined in MM::Device)MM::Devicepure virtual
          HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
          HasPropertyLimits(const char *name, bool &hasLimits) const =0 (defined in MM::Device)MM::Devicepure virtual
          Initialize()=0 (defined in MM::Device)MM::Devicepure virtual
          IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
          IsPropertySequenceable(const char *name, bool &isSequenceable) const =0MM::Devicepure virtual
          MM_DEPRECATED(virtual HDEVMODULE GetModuleHandle() const)=0 (defined in MM::Device)MM::Devicepure virtual
          MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
          MM_DEPRECATED(virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0 (defined in MM::Device)MM::Devicepure virtual
          SendPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
          SetCallback(Core *callback)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDelayMs(double delay)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
          SetDescription(const char *description)=0 (defined in MM::Device)MM::Devicepure virtual
          SetGateOpen(bool open=true)=0 (defined in MM::State)MM::Statepure virtual
          SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
          SetLabel(const char *label)=0 (defined in MM::Device)MM::Devicepure virtual
          SetModuleName(const char *moduleName)=0 (defined in MM::Device)MM::Devicepure virtual
          SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
          SetParentID(const char *parentId)=0 (defined in MM::Device)MM::Devicepure virtual
          SetPosition(long pos)=0 (defined in MM::State)MM::Statepure virtual
          SetPosition(const char *label)=0 (defined in MM::State)MM::Statepure virtual
          SetPosition(const char *label)=0 (defined in MM::State)MM::Statepure virtual
          SetPositionLabel(long pos, const char *label)=0 (defined in MM::State)MM::Statepure virtual
          SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
          SetProperty(const char *name, const char *value)=0 (defined in MM::Device)MM::Devicepure virtual
          Shutdown()=0MM::Devicepure virtual
          StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          StartPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          State() (defined in MM::State)MM::Stateinline
          StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          StopPropertySequence(const char *propertyName)=0MM::Devicepure virtual
          SupportsDeviceDetection(void)=0 (defined in MM::Device)MM::Devicepure virtual
          Type (defined in MM::State)MM::Statestatic
          Type (defined in MM::State)MM::Statestatic
          UsesDelay()=0 (defined in MM::Device)MM::Devicepure virtual
          ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
          ~Device() (defined in MM::Device)MM::Deviceinlinevirtual
          ~State() (defined in MM::State)MM::Stateinlinevirtual
          diff --git a/class_m_m_1_1_state.html b/class_m_m_1_1_state.html index 88e5be7..0c43922 100644 --- a/class_m_m_1_1_state.html +++ b/class_m_m_1_1_state.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::State Class Reference @@ -16,10 +16,9 @@
          - - + @@ -27,15 +26,16 @@
          -
          MMDevice -  70 +
          +
          MMDevice 70
          - + +/* @license-end */ + -
          -
          MM::State Class Referenceabstract
          +
          MM::State Class Referenceabstract
          @@ -65,174 +64,424 @@
          - - + - + - + - + - + - + - + - + - - + - - + - + - + - + - + - + - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - - - + - + - + - + - + - + - - + - - + - - - -

          +

          Public Member Functions

          -virtual DeviceType GetType () const
          virtual DeviceType GetType () const
           
          -virtual int SetPosition (long pos)=0
          virtual int SetPosition (long pos)=0
           
          -virtual int SetPosition (const char *label)=0
          virtual int SetPosition (const char *label)=0
           
          -virtual int GetPosition (long &pos) const =0
          virtual int GetPosition (long &pos) const =0
           
          -virtual int GetPosition (char *label) const =0
          virtual int GetPosition (char *label) const =0
           
          -virtual int GetPositionLabel (long pos, char *label) const =0
          virtual int GetPositionLabel (long pos, char *label) const =0
           
          -virtual int GetLabelPosition (const char *label, long &pos) const =0
          virtual int GetLabelPosition (const char *label, long &pos) const =0
           
          -virtual int SetPositionLabel (long pos, const char *label)=0
          virtual int SetPositionLabel (long pos, const char *label)=0
           
          +
          virtual unsigned long GetNumberOfPositions () const =0
           
          -virtual int SetGateOpen (bool open=true)=0
          virtual int SetGateOpen (bool open=true)=0
           
          +
          virtual int GetGateOpen (bool &open)=0
           
          - Public Member Functions inherited from MM::Device
          -virtual unsigned GetNumberOfProperties () const =0
          virtual unsigned GetNumberOfProperties () const =0
           
          -virtual int GetProperty (const char *name, char *value) const =0
          virtual int GetProperty (const char *name, char *value) const =0
           
          -virtual int SetProperty (const char *name, const char *value)=0
          virtual int SetProperty (const char *name, const char *value)=0
           
          -virtual bool HasProperty (const char *name) const =0
          virtual bool HasProperty (const char *name) const =0
           
          -virtual bool GetPropertyName (unsigned idx, char *name) const =0
          virtual bool GetPropertyName (unsigned idx, char *name) const =0
           
          -virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
          virtual int GetPropertyReadOnly (const char *name, bool &readOnly) const =0
           
          -virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
          virtual int GetPropertyInitStatus (const char *name, bool &preInit) const =0
           
          +
          virtual int HasPropertyLimits (const char *name, bool &hasLimits) const =0
           
          -virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
          virtual int GetPropertyLowerLimit (const char *name, double &lowLimit) const =0
           
          -virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
          virtual int GetPropertyUpperLimit (const char *name, double &hiLimit) const =0
           
          -virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
          virtual int GetPropertyType (const char *name, MM::PropertyType &pt) const =0
           
          -virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
          virtual unsigned GetNumberOfPropertyValues (const char *propertyName) const =0
           
          -virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
          virtual bool GetPropertyValueAt (const char *propertyName, unsigned index, char *value) const =0
           
          virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
          virtual int IsPropertySequenceable (const char *name, bool &isSequenceable) const =0
           
          virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
          virtual int GetPropertySequenceMaxLength (const char *propertyName, long &nrEvents) const =0
           
          virtual int StartPropertySequence (const char *propertyName)=0
          virtual int StartPropertySequence (const char *propertyName)=0
           
          virtual int StopPropertySequence (const char *propertyName)=0
          virtual int StopPropertySequence (const char *propertyName)=0
           
          virtual int ClearPropertySequence (const char *propertyName)=0
          virtual int ClearPropertySequence (const char *propertyName)=0
           
          virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
          virtual int AddToPropertySequence (const char *propertyName, const char *value)=0
           
          virtual int SendPropertySequence (const char *propertyName)=0
          virtual int SendPropertySequence (const char *propertyName)=0
           
          -virtual bool GetErrorText (int errorCode, char *errMessage) const =0
          virtual bool GetErrorText (int errorCode, char *errMessage) const =0
           
          +
          virtual bool Busy ()=0
           
          -virtual double GetDelayMs () const =0
          virtual double GetDelayMs () const =0
           
          -virtual void SetDelayMs (double delay)=0
          virtual void SetDelayMs (double delay)=0
           
          -virtual bool UsesDelay ()=0
          virtual bool UsesDelay ()=0
           
          +
           MM_DEPRECATED (virtual HDEVMODULE GetModuleHandle() const)=0
           
          +
           MM_DEPRECATED (virtual void SetModuleHandle(HDEVMODULE hLibraryHandle))=0
           
          -virtual void SetLabel (const char *label)=0
          virtual void SetLabel (const char *label)=0
           
          -virtual void GetLabel (char *name) const =0
          virtual void GetLabel (char *name) const =0
           
          -virtual void SetModuleName (const char *moduleName)=0
          virtual void SetModuleName (const char *moduleName)=0
           
          -virtual void GetModuleName (char *moduleName) const =0
          virtual void GetModuleName (char *moduleName) const =0
           
          -virtual void SetDescription (const char *description)=0
          virtual void SetDescription (const char *description)=0
           
          -virtual void GetDescription (char *description) const =0
          virtual void GetDescription (char *description) const =0
           
          +
          virtual int Initialize ()=0
           
          virtual int Shutdown ()=0
          virtual int Shutdown ()=0
           
          +
          virtual void GetName (char *name) const =0
           
          -virtual void SetCallback (Core *callback)=0
          virtual void SetCallback (Core *callback)=0
           
          +
          virtual bool SupportsDeviceDetection (void)=0
           
          +
          virtual MM::DeviceDetectionStatus DetectDevice (void)=0
           
          +
          virtual void SetParentID (const char *parentId)=0
           
          +
          virtual void GetParentID (char *parentID) const =0
           
          - -

          +

          Static Public Attributes

          +
          static const DeviceType Type = StateDevice
           

          Detailed Description

          State device API, e.g. filter wheel, objective turret, etc.

          -

          The documentation for this class was generated from the following files:
            +

            Member Function Documentation

            + +

            ◆ GetLabelPosition()

            + +
            +
            + + + + + +
            + + + + + + + + + + + + + + + + + + +
            virtual int MM::State::GetLabelPosition (const char * label,
            long & pos 
            ) const
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ GetPosition() [1/2]

            + +
            +
            + + + + + +
            + + + + + + + + +
            virtual int MM::State::GetPosition (char * label) const
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ GetPosition() [2/2]

            + +
            +
            + + + + + +
            + + + + + + + + +
            virtual int MM::State::GetPosition (long & pos) const
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ GetPositionLabel()

            + +
            +
            + + + + + +
            + + + + + + + + + + + + + + + + + + +
            virtual int MM::State::GetPositionLabel (long pos,
            char * label 
            ) const
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ GetType()

            + +
            +
            + + + + + +
            + + + + + + + +
            virtual DeviceType MM::State::GetType () const
            +
            +inlinevirtual
            +
            + +

            Implements MM::Device.

            + +
            +
            + +

            ◆ SetGateOpen()

            + +
            +
            + + + + + +
            + + + + + + + + +
            virtual int MM::State::SetGateOpen (bool open = true)
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ SetPosition() [1/2]

            + +
            +
            + + + + + +
            + + + + + + + + +
            virtual int MM::State::SetPosition (const char * label)
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ SetPosition() [2/2]

            + +
            +
            + + + + + +
            + + + + + + + + +
            virtual int MM::State::SetPosition (long pos)
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            + +

            ◆ SetPositionLabel()

            + +
            +
            + + + + + +
            + + + + + + + + + + + + + + + + + + +
            virtual int MM::State::SetPositionLabel (long pos,
            const char * label 
            )
            +
            +pure virtual
            +
            + +

            Implemented in CStateDeviceBase< U >.

            + +
            +
            +
            The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_state.png b/class_m_m_1_1_state.png index 328232614a0b4a18d75659125dd60157f59cabdd..7f46255958dbec2d4f235cad6c6b6906e8cdc486 100644 GIT binary patch literal 1212 zcmcJPdo(Lyc zvLhZn7V_|#rR6FMRF3$m6lA%07D&i?IxyXV~dz2AHPxc_|4eGp2( zBTrkLMj#MKz~7gs*8zQw8lBYF;-m*R_3~k85XldQVSW2@Q$wYVv0WW7Y37XSm!qSj z`gu5go}=FxXA%kF2)+L|Tnv~}1i}yx_B3C;z#?q2XYr>);k7 zRTb1*rG|OQMf6>>^AHpLI*h?0=fY{vZ*CtKM@A{d428Dxj?Vtzm+Gy`9lmWjN_UZK z56rR#P<~Yq-7I(+YObC`Bb1H?yTAyv`g?oc2=u{DoXq{JnG2_^8%Xcow*gNy0o1}o z;w9_ax7n4#1oL~I2@Y6QCCLR_W&=v5n+}S#xbfypus`dd2T7qcu6zp3n=On*)N}G$ z>m%jC+ga_ z`;wRr6pH#4cRXE_JpZCYyWp$y9-gG%If@}GS_$UZZZGRMmjNoaJCP`xzFaE=OA^cn z3|DYB3OzT-`IduJHCgwKyfse*<&GhqR6&SYmYcUT_nc`k@1*Zrtz~EchV58GoQe!Z zaq+}hy8aAMI>9wzgxGa7qhQ%p*+p9bx${%t29KF19|=xzON}Bnv}m%!!yY zWDkK-3~godRThTWbePtUlTtPL&0# z-)q@BHl_LfZ_iadWZqnE4r$Q&x$?)Jm_!G z%_y< z-nH!fDeC0V+}yxkJtt1x{aH%#QiHBgGG(XRUQ{x#LbUKrjK*!!Ql|uEPJ)>IyRBcO zUx8?fM$&#{sH7%Jb*;w)ERVM3bP05cyIIB=@y8o6%M*XR)4MqCuF=&j!^-(EFSmq; z8M3XJpW7bJXmtH?GmnxglzrDr7`L-)oL5_nw;LS99_S56ShYl=3mGH^EAc;G)|=u2 cFtM*qS}_|*w}M#r^?wEd_z`?Ne7-LF2bPb0{r~^~ literal 1185 zcmeAS@N?(olHy`uVBq!ia0vp^yMXur2Q!dt$?Qx4QW60^A+G=b{|7Q(y!l$%e`o@b z1;z&s9ANFdBM;N=lfNzn#@vp z$*Z^OywdqYA-#{EyQr>wmiG0fmAn0BGo4nIy@#*1%xqOt4URR=n7GyTu7YQNVf!z& zSH53MB~@PP>g8Y7I+wOv>g%5P>FwID-qz}PF8>g4UuRl>FUYezx2Wop5YA>z-Wl{F} z-uhpM_k@4%yZX3=@q_vmMxeVH@||Q4%no4xpoWi|VZd|vf;ta_tD1+ zz6)M2p4$2E`pVlD`d4$?Q;(nf`KhsIXY}2i%T|dD>preLT=;d><%dguU3b~LFfP^8 zu5RAu+N+$*AJ{=QF64XQyMnpm^7dZ_JkHY@?i}a1p#FDNfAaQse^=R`sV;pVVe2Qs zP*03+pnh#&(_C62o$RG~m(_DpmC6;>ld}V+tK|3m`tak)qe!n!_hT=2*G&r9_@#2n zvRyMje>K^;^5VW#`nGXjr-an{f1mx^hC4X-%+GCAws%Tml_$BMPc)mjD(ZUm{-E>q zw_@~GMn5k*{O{kcU#Y(o&Hc)KP3^zcZL?}Nd-ZH(-Rit)2cJ~!jGT6InS=M_l#4rc0Ke)eBZ>el*o@6Ug& zS$8IT&lX+Fm{WHngTBsYuc$mU#ZvX - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MM::StringProperty Member List
            +
            MM::StringProperty Member List

            This is the complete list of members for MM::StringProperty, including all inherited members.

            - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
            AddAllowedValue(const char *value) (defined in MM::Property)MM::Property
            AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
            AddAllowedValue(const char *value, long data) (defined in MM::Property)MM::Property
            AddToSequence(const char *value) (defined in MM::Property)MM::Propertyinlinevirtual
            Apply() (defined in MM::Property)MM::Propertyinline
            Apply() (defined in MM::Property)MM::Propertyinline
            cached_ (defined in MM::Property)MM::Propertyprotected
            ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
            ClearAllowedValues() (defined in MM::Property)MM::Propertyinline
            ClearSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            fpAction_ (defined in MM::Property)MM::Propertyprotected
            fpAction_ (defined in MM::Property)MM::Propertyprotected
            Get(double &val) const (defined in MM::StringProperty)MM::StringPropertyvirtual
            Get(long &val) const (defined in MM::StringProperty)MM::StringPropertyvirtual
            Get(long &val) const (defined in MM::StringProperty)MM::StringPropertyvirtual
            Get(std::string &val) const (defined in MM::StringProperty)MM::StringPropertyvirtual
            GetAllowedValues() const (defined in MM::Property)MM::Property
            GetAllowedValues() const (defined in MM::Property)MM::Property
            GetCached() const (defined in MM::Property)MM::Propertyinline
            GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
            GetData(const char *value, long &data) const (defined in MM::Property)MM::Property
            GetInitStatus() const (defined in MM::Property)MM::Propertyinline
            GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetLowerLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetName() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetReadOnly() const (defined in MM::Property)MM::Propertyinline
            GetReadOnly() const (defined in MM::Property)MM::Propertyinline
            GetSequence() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetSequenceMaxSize() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetType() (defined in MM::StringProperty)MM::StringPropertyinlinevirtual
            GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            GetUpperLimit() const (defined in MM::Property)MM::Propertyinlinevirtual
            hasData_ (defined in MM::Property)MM::Propertyprotected
            HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
            HasLimits() const (defined in MM::Property)MM::Propertyinlinevirtual
            initStatus_ (defined in MM::Property)MM::Propertyprotected
            IsAllowed(const char *value) const (defined in MM::Property)MM::Property
            IsAllowed(const char *value) const (defined in MM::Property)MM::Property
            IsSequenceable() (defined in MM::Property)MM::Propertyinline
            limits_ (defined in MM::Property)MM::Propertyprotected
            limits_ (defined in MM::Property)MM::Propertyprotected
            lowerLimit_ (defined in MM::Property)MM::Propertyprotected
            name_ (defined in MM::Property)MM::Propertyprotected
            name_ (defined in MM::Property)MM::Propertyprotected
            Property(const char *name) (defined in MM::Property)MM::Propertyinline
            readOnly_ (defined in MM::Property)MM::Propertyprotected
            readOnly_ (defined in MM::Property)MM::Propertyprotected
            RegisterAction(ActionFunctor *fpAction) (defined in MM::Property)MM::Propertyinline
            SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            SendSequence() (defined in MM::Property)MM::Propertyinlinevirtual
            sequenceable_ (defined in MM::Property)MM::Propertyprotected
            sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
            sequenceEvents_ (defined in MM::Property)MM::Propertyprotected
            sequenceMaxSize_ (defined in MM::Property)MM::Propertyprotected
            Set(double val) (defined in MM::StringProperty)MM::StringPropertyvirtual
            Set(double val) (defined in MM::StringProperty)MM::StringPropertyvirtual
            Set(long val) (defined in MM::StringProperty)MM::StringPropertyvirtual
            Set(const char *val) (defined in MM::StringProperty)MM::StringPropertyvirtual
            Set(const char *val) (defined in MM::StringProperty)MM::StringPropertyvirtual
            SetCached(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
            SetInitStatus(bool init) (defined in MM::Property)MM::Propertyinline
            SetLimits(double, double) (defined in MM::StringProperty)MM::StringPropertyinlinevirtual
            SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetReadOnly(bool bState=true) (defined in MM::Property)MM::Propertyinline
            SetSequenceable(long sequenceMaxSize) (defined in MM::Property)MM::Propertyvirtual
            StartSequence() (defined in MM::Property)MM::Propertyinline
            StartSequence() (defined in MM::Property)MM::Propertyinline
            StopSequence() (defined in MM::Property)MM::Propertyinline
            StringProperty(const char *name) (defined in MM::StringProperty)MM::StringPropertyinline
            StringProperty(const char *name) (defined in MM::StringProperty)MM::StringPropertyinline
            Update() (defined in MM::Property)MM::Propertyinline
            upperLimit_ (defined in MM::Property)MM::Propertyprotected
            upperLimit_ (defined in MM::Property)MM::Propertyprotected
            values_ (defined in MM::Property)MM::Propertyprotected
            ~Property() (defined in MM::Property)MM::Propertyinlinevirtual
            ~Property() (defined in MM::Property)MM::Propertyinlinevirtual
            ~PropertyBase() (defined in MM::PropertyBase)MM::PropertyBaseinlinevirtual
            ~StringProperty() (defined in MM::StringProperty)MM::StringPropertyinlinevirtual
            ~StringProperty() (defined in MM::StringProperty)MM::StringPropertyinlinevirtual
            diff --git a/class_m_m_1_1_string_property.html b/class_m_m_1_1_string_property.html index 63eac3b..ef90c9a 100644 --- a/class_m_m_1_1_string_property.html +++ b/class_m_m_1_1_string_property.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MM::StringProperty Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,15 +26,16 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            @@ -63,177 +62,393 @@
            - - - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - + - + - + - - + - + - + - + - + - + - - - + + -

            +

            Public Member Functions

            +
             StringProperty (const char *name)
             
            -PropertyType GetType ()
            PropertyType GetType ()
             
            -bool Set (double val)
            bool Set (double val)
             
            -bool Set (long val)
            bool Set (long val)
             
            -bool Set (const char *val)
            bool Set (const char *val)
             
            -bool Get (double &val) const
            bool Get (double &val) const
             
            -bool Get (long &val) const
            bool Get (long &val) const
             
            -bool Get (std::string &val) const
            bool Get (std::string &val) const
             
            -bool SetLimits (double, double)
            bool SetLimits (double, double)
             
            - Public Member Functions inherited from MM::Property
            +
             Property (const char *name)
             
            +
            bool GetCached () const
             
            +
            void SetCached (bool bState=true)
             
            +
            bool GetReadOnly () const
             
            +
            void SetReadOnly (bool bState=true)
             
            +
            bool GetInitStatus () const
             
            +
            void SetInitStatus (bool init)
             
            +
            void RegisterAction (ActionFunctor *fpAction)
             
            +
            int Update ()
             
            +
            int Apply ()
             
            +
            std::vector< std::string > GetAllowedValues () const
             
            +
            void ClearAllowedValues ()
             
            +
            void AddAllowedValue (const char *value)
             
            +
            void AddAllowedValue (const char *value, long data)
             
            +
            bool IsAllowed (const char *value) const
             
            +
            bool GetData (const char *value, long &data) const
             
            -bool HasLimits () const
            bool HasLimits () const
             
            -double GetLowerLimit () const
            double GetLowerLimit () const
             
            -double GetUpperLimit () const
            double GetUpperLimit () const
             
            +
            bool IsSequenceable ()
             
            -void SetSequenceable (long sequenceMaxSize)
            void SetSequenceable (long sequenceMaxSize)
             
            -long GetSequenceMaxSize () const
            long GetSequenceMaxSize () const
             
            -int ClearSequence ()
            int ClearSequence ()
             
            -int AddToSequence (const char *value)
            int AddToSequence (const char *value)
             
            -int SendSequence ()
            int SendSequence ()
             
            -std::string GetName () const
            std::string GetName () const
             
            -std::vector< std::string > GetSequence () const
             
            +
            std::vector< std::string > GetSequence () const
             
            int StartSequence ()
             
            +
            int StopSequence ()
             
            - - - - - - - - - - - - - -

            +

            Additional Inherited Members

            - Protected Attributes inherited from MM::Property
            +
            bool readOnly_
             
            +
            ActionFunctorfpAction_
             
            +
            bool cached_
             
            +
            bool hasData_
             
            +
            bool initStatus_
             
            +
            bool limits_
             
            +
            bool sequenceable_
             
            +
            long sequenceMaxSize_
             
            +
            std::vector< std::string > sequenceEvents_
             
            +
            double lowerLimit_
             
            +
            double upperLimit_
             
            +
            std::map< std::string, long > values_
             
            +
            const std::string name_
             

            Detailed Description

            String property class.

            -

            The documentation for this class was generated from the following files: diff --git a/class_m_m_1_1_x_y_stage.png b/class_m_m_1_1_x_y_stage.png index 6a2aa4e3c3a5dad0b0e02faa9e6bcbbce0771e77..88930b53e35040a5b5f95ddf6d3591fde896d7b4 100644 GIT binary patch delta 1201 zcmV;i1Wx;f3Ze>-B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00gZ`L_t(|0qvdPlB_5UMvos=7VrPW+qNP>?cHl@ zySY@RJi>s391}8sNhzhCAW2d`gpee8CWIu(Gq(v1wKd(PGk^U^Qp>@RBwgb^p?P~# zW4dPNKiR${wLB;EzR!_br~{>uq>J2`a`QId8#UdUgGIqM?SLd*<;Oys2ptO5kV(>2 z?koyTOiXbwLQ8ch%B#?E)sUpKJS?;cr;U&#-N3D7dvhZ8Rc;+EH`izANNBm%j9S~a z?0KwmlH`F9k}4$6gpee8CWIu(Gd&8Wlu}0kJi-Xj6TJzIV`oOa3B7#!GU`q!svLlC zlg=Ip_Ph zMQGXVwC&n8Ms@$i%(&;A^NlYQRJmElRh7#*=d0Yd3lBo~ue0ow+bN%si%VwvgYu7AN_ix^QU1+ME^o>I@zHA6na8J!_tO zT_@SURJlVTdn)bSCU9NYzI?M?NzG-1B*`i5`I4lM_!rves3d*lFNn}_YDv-&e@Dtm z(jO8+lH{2Xk|fW(gi=bWBLE&@1n7z0gvPNmquzvGK7AQ=Clpl>h--)eQEpp5~;>yj+)(c`!#>e#y1f!nr_L#tYDjZK$5QVW1(GynnERHl5~|ji$WC> zQyh%YS{<_TCe*GPl601bg?8bz5t5`ExV3EWPQ?z8-`&RdV&F0amQzh;y+q<+mE9C7AwS-JvsP5bU zp|#2_IMZ$jhP znNe>-lTTkp-3djN1Mp3g?gJ&0UI7PxfNw}Cr6(9uO6dVelGG0&BuSnLAxZL#5gMkS zwV7K<_Bsr`c}|il@-tIwy0){;X=CLivezPfDt;kDpsNJ15g!O4lQ_8#MKyHnAzU zIV^M4rVlB1PU-p?vLCxnB%5o8l&dSq{}!Qk9e6L~{tO-e4^{Oor_w8r_Ej#Qp)%R5 za(Nv|`hwF!l5~O#Ta%>o{8Gqdr6fJWPa||GcO>Zxew}iX^e7=DNuCKIN%G7jlu}9^ a@dst$e9I7G5q5L{0000 - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,34 +26,34 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMDeviceThreadBase Member List
            +
            MMDeviceThreadBase Member List

            This is the complete list of members for MMDeviceThreadBase, including all inherited members.

            - + - +
            activate() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinlinevirtual
            MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
            MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
            svc()=0 (defined in MMDeviceThreadBase)MMDeviceThreadBasepure virtual
            wait() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
            wait() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinline
            ~MMDeviceThreadBase() (defined in MMDeviceThreadBase)MMDeviceThreadBaseinlinevirtual
            diff --git a/class_m_m_device_thread_base.html b/class_m_m_device_thread_base.html index 241a10f..097e695 100644 --- a/class_m_m_device_thread_base.html +++ b/class_m_m_device_thread_base.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMDeviceThreadBase Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,23 +26,23 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMDeviceThreadBase Class Referenceabstract
            +
            MMDeviceThreadBase Class Referenceabstract
            @@ -58,15 +57,15 @@
            - - - -

            +

            Public Member Functions

            +
            virtual int svc ()=0
             
            +
            virtual int activate ()
             
            +
            void wait ()
             
            @@ -78,7 +77,7 @@ diff --git a/class_m_m_device_thread_base.png b/class_m_m_device_thread_base.png index 95f262be6e1f6f923ab26714d96a14746e7643fd..da2809323c52bcba5721f007317b285b2c01e874 100644 GIT binary patch delta 798 zcmdnMcARa3O1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(jbm+s(g9*`bk@)+P(Pa9rIlEzR+e;jsN@4 z@Bj68?~A=S>B$oAY5GT%Pl|t;{pa@kefh4n3*xjQC3ULT@_c)h@uxQAsKQD4SIl4c zZ_f2x6}`3aSrYpz|LECM+aH-1M)6GgvvA*```k|N-zdCZac;k^{-he``7i3H-ne(` z$m?4sTewUi%W>-d@f#OQ%6TMYyF4rj*8F^_2&Od{@;)m zoEU7YvwlXNnfKw#9M^?sI^B~!AA36IdA_Bby0%hM$<;3{|5XlgcXo9Ai~At+b9QO@ z?eO~O6SfcbN&j}3xjH*+*_ON6f4Vtrmzr&VpS6AefAf`Bx%4Xge$MhZ|Ks#zxox?; z-_*bFOuGJGYd4qir|&ZJT?0%~7k&I*|76Yfs*uygMjCzRztwxJOkMiy3g=pbjTH1eT0+0p92M!!y?Ytuog*{vWs!GCF}qD zn;iXr&VEW~{k{6z|DWxZe|3D?o-W=GtL#4glRmfQ=K782u0NOe2&;eoNB?JZCSUEp z75`t0zGSoB+jrf)-t#~EkHcL59k`nQwld`@x+5 zeebIn_k4E$4^*(93n#9}l>B8?f6lT#aQmF%e~V5iDS<*xU+Gck!TUch|4q(!aq;__ zTzRx)bEMQfw;l6Nhi%3Di#jBU8|4|p5=i%b=<$Kff6ZhBbzP<0) zZKrpP-|yaFKNSJjP8OfJ?oxFme%_bl+t(86 zi{@*W{awFlwSjW|`Hz7tuEAW}mt}q)gUaKK#pH>2Gw<+SVmy>&sSs+FUBXw=ekb`KgBP65%&Lz24Xs z_BZXHSX^a&?3()ERc7x3_NvY7{#`HRcz$cTUU`hQ%)9>)p8dc6chz68eqMjlUiSIR zE8m>=+p#VGT3__<>g{czfw?=@PJHof)7i+&hyU%bnta=NYtMq`QPeio6bB2;`Nik@zVa_yAY>Ax%>C;FFp)EOy85}Sb4q9e E0N($ZYXATM diff --git a/class_m_m_thread_guard-members.html b/class_m_m_thread_guard-members.html index d10ea0e..81fafe0 100644 --- a/class_m_m_thread_guard-members.html +++ b/class_m_m_thread_guard-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,33 +26,33 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMThreadGuard Member List
            +
            MMThreadGuard Member List

            This is the complete list of members for MMThreadGuard, including all inherited members.

            - + - +
            isLocked() (defined in MMThreadGuard)MMThreadGuardinline
            MMThreadGuard(MMThreadLock &lock) (defined in MMThreadGuard)MMThreadGuardinline
            MMThreadGuard(MMThreadLock &lock) (defined in MMThreadGuard)MMThreadGuardinline
            MMThreadGuard(MMThreadLock *lock) (defined in MMThreadGuard)MMThreadGuardinline
            ~MMThreadGuard() (defined in MMThreadGuard)MMThreadGuardinline
            ~MMThreadGuard() (defined in MMThreadGuard)MMThreadGuardinline
            diff --git a/class_m_m_thread_guard.html b/class_m_m_thread_guard.html index 1c9f4d9..a4ce486 100644 --- a/class_m_m_thread_guard.html +++ b/class_m_m_thread_guard.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMThreadGuard Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,35 +26,35 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMThreadGuard Class Reference
            +
            MMThreadGuard Class Reference
            - - - -

            +

            Public Member Functions

            +
             MMThreadGuard (MMThreadLock &lock)
             
            +
             MMThreadGuard (MMThreadLock *lock)
             
            +
            bool isLocked ()
             
            @@ -65,7 +64,7 @@
            diff --git a/class_m_m_thread_lock-members.html b/class_m_m_thread_lock-members.html index 062de95..2f5ca70 100644 --- a/class_m_m_thread_lock-members.html +++ b/class_m_m_thread_lock-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,33 +26,33 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMThreadLock Member List
            +
            MMThreadLock Member List

            This is the complete list of members for MMThreadLock, including all inherited members.

            - + - +
            Lock() (defined in MMThreadLock)MMThreadLockinline
            MMThreadLock() (defined in MMThreadLock)MMThreadLockinline
            MMThreadLock() (defined in MMThreadLock)MMThreadLockinline
            Unlock() (defined in MMThreadLock)MMThreadLockinline
            ~MMThreadLock() (defined in MMThreadLock)MMThreadLockinline
            ~MMThreadLock() (defined in MMThreadLock)MMThreadLockinline
            diff --git a/class_m_m_thread_lock.html b/class_m_m_thread_lock.html index d0f724d..e65cf61 100644 --- a/class_m_m_thread_lock.html +++ b/class_m_m_thread_lock.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMThreadLock Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,34 +26,34 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MMThreadLock Class Reference
            +
            MMThreadLock Class Reference

            #include <DeviceThreads.h>

            - - -

            +

            Public Member Functions

            +
            void Lock ()
             
            +
            void Unlock ()
             
            @@ -66,7 +65,7 @@
            diff --git a/class_metadata-members.html b/class_metadata-members.html index 10fa0c8..2410554 100644 --- a/class_metadata-members.html +++ b/class_metadata-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,48 +26,48 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            Metadata Member List
            +
            Metadata Member List

            This is the complete list of members for Metadata, including all inherited members.

            - + - + - + - + - + - + - + - + - +
            Clear() (defined in Metadata)Metadatainline
            Dump() (defined in Metadata)Metadatainline
            Dump() (defined in Metadata)Metadatainline
            GetArrayTag(const char *key) const MMDEVICE_LEGACY_THROW(MetadataKeyError) (defined in Metadata)Metadatainline
            GetKeys() const (defined in Metadata)Metadatainline
            GetKeys() const (defined in Metadata)Metadatainline
            GetSingleTag(const char *key) const MMDEVICE_LEGACY_THROW(MetadataKeyError) (defined in Metadata)Metadatainline
            HasTag(const char *key) (defined in Metadata)Metadatainline
            HasTag(const char *key) (defined in Metadata)Metadatainline
            Merge(const Metadata &newTags) (defined in Metadata)Metadatainline
            Metadata() (defined in Metadata)Metadatainline
            Metadata() (defined in Metadata)Metadatainline
            Metadata(const Metadata &original) (defined in Metadata)Metadatainline
            operator=(const Metadata &rhs) (defined in Metadata)Metadatainline
            operator=(const Metadata &rhs) (defined in Metadata)Metadatainline
            put(std::string key, anytype value) (defined in Metadata)Metadatainline
            PutImageTag(std::string key, anytype value) (defined in Metadata)Metadatainline
            PutImageTag(std::string key, anytype value) (defined in Metadata)Metadatainline
            PutTag(std::string key, std::string deviceLabel, anytype value) (defined in Metadata)Metadatainline
            readLine(std::istringstream &iss) (defined in Metadata)Metadatainline
            readLine(std::istringstream &iss) (defined in Metadata)Metadatainline
            RemoveTag(const char *key) (defined in Metadata)Metadatainline
            Restore(const char *stream) (defined in Metadata)Metadatainline
            Restore(const char *stream) (defined in Metadata)Metadatainline
            Serialize() const (defined in Metadata)Metadatainline
            SetTag(MetadataTag &tag) (defined in Metadata)Metadatainline
            SetTag(MetadataTag &tag) (defined in Metadata)Metadatainline
            ~Metadata() (defined in Metadata)Metadatainline
            diff --git a/class_metadata.html b/class_metadata.html index e18dfa7..2ac8790 100644 --- a/class_metadata.html +++ b/class_metadata.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Metadata Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,82 +26,82 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            Metadata Class Reference
            +
            Metadata Class Reference

            #include <ImageMetadata.h>

            - - - - - - + - - - - - - - - - - + - - - -

            +

            Public Member Functions

            +
             Metadata (const Metadata &original)
             
            +
            void Clear ()
             
            +
            std::vector< std::string > GetKeys () const
             
            +
             
            bool HasTag (const char *key)
             
            +
            MetadataSingleTag GetSingleTag (const char *key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
             
            +
            MetadataArrayTag GetArrayTag (const char *key) const MMDEVICE_LEGACY_THROW(MetadataKeyError)
             
            +
            void SetTag (MetadataTag &tag)
             
            +
            void RemoveTag (const char *key)
             
            +
            template<class anytype >
            void PutTag (std::string key, std::string deviceLabel, anytype value)
             
            +
            template<class anytype >
            void PutImageTag (std::string key, anytype value)
             
            +
            template<class anytype >
            void put (std::string key, anytype value)
             
            +
            Metadataoperator= (const Metadata &rhs)
             
            +
             
            void Merge (const Metadata &newTags)
             
            +
            std::string Serialize () const
             
            +
            std::string readLine (std::istringstream &iss)
             
            +
            bool Restore (const char *stream)
             
            +
            std::string Dump ()
             
            @@ -114,7 +113,7 @@
            diff --git a/class_metadata_array_tag-members.html b/class_metadata_array_tag-members.html index 86e740d..6609ab8 100644 --- a/class_metadata_array_tag-members.html +++ b/class_metadata_array_tag-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
            - - + @@ -27,53 +26,53 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MetadataArrayTag Member List
            +
            MetadataArrayTag Member List

            This is the complete list of members for MetadataArrayTag, including all inherited members.

            - + - + - + - + - + - + - + - + - + - - - + + + - +
            AddValue(const char *val) (defined in MetadataArrayTag)MetadataArrayTaginline
            Clone() (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            Clone() (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            GetDevice() const (defined in MetadataTag)MetadataTaginline
            GetName() const (defined in MetadataTag)MetadataTaginline
            GetName() const (defined in MetadataTag)MetadataTaginline
            GetQualifiedName() const (defined in MetadataTag)MetadataTaginline
            GetSize() const (defined in MetadataArrayTag)MetadataArrayTaginline
            GetSize() const (defined in MetadataArrayTag)MetadataArrayTaginline
            GetValue(size_t idx) const (defined in MetadataArrayTag)MetadataArrayTaginline
            IsReadOnly() const (defined in MetadataTag)MetadataTaginline
            IsReadOnly() const (defined in MetadataTag)MetadataTaginline
            MetadataArrayTag() (defined in MetadataArrayTag)MetadataArrayTaginline
            MetadataArrayTag(const char *name, const char *device, bool readOnly) (defined in MetadataArrayTag)MetadataArrayTaginline
            MetadataArrayTag(const char *name, const char *device, bool readOnly) (defined in MetadataArrayTag)MetadataArrayTaginline
            MetadataTag() (defined in MetadataTag)MetadataTaginline
            MetadataTag(const char *name, const char *device, bool readOnly) (defined in MetadataTag)MetadataTaginline
            MetadataTag(const char *name, const char *device, bool readOnly) (defined in MetadataTag)MetadataTaginline
            ReadLine(std::istringstream &is) (defined in MetadataTag)MetadataTaginlinestatic
            Restore(const char *stream) (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            Restore(const char *stream) (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            Restore(std::istringstream &is) (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            Serialize() (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            Serialize() (defined in MetadataArrayTag)MetadataArrayTaginlinevirtual
            SetDevice(const char *device) (defined in MetadataTag)MetadataTaginline
            SetName(const char *name) (defined in MetadataTag)MetadataTaginline
            SetName(const char *name) (defined in MetadataTag)MetadataTaginline
            SetReadOnly(bool ro) (defined in MetadataTag)MetadataTaginline
            SetValue(const char *val, size_t idx) (defined in MetadataArrayTag)MetadataArrayTaginline
            ToArrayTag() constMetadataArrayTaginlinevirtual
            ToSingleTag() constMetadataTaginlinevirtual
            SetValue(const char *val, size_t idx) (defined in MetadataArrayTag)MetadataArrayTaginline
            ToArrayTag() constMetadataArrayTaginlinevirtual
            ToSingleTag() constMetadataTaginlinevirtual
            ~MetadataArrayTag() (defined in MetadataArrayTag)MetadataArrayTaginline
            ~MetadataTag() (defined in MetadataTag)MetadataTaginlinevirtual
            ~MetadataTag() (defined in MetadataTag)MetadataTaginlinevirtual
            diff --git a/class_metadata_array_tag.html b/class_metadata_array_tag.html index ef4ac3b..ee1d75b 100644 --- a/class_metadata_array_tag.html +++ b/class_metadata_array_tag.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataArrayTag Class Reference @@ -16,10 +16,9 @@
            - - + @@ -27,23 +26,23 @@
            -
            MMDevice -  70 +
            +
            MMDevice 70
            - + +/* @license-end */ +
            -
            -
            MetadataArrayTag Class Reference
            +
            MetadataArrayTag Class Reference
            @@ -56,75 +55,71 @@
            - - - - - + + - - - - + - - - + + + - + - + - - - - + - - + - - - - - - + +

            +

            Public Member Functions

            +
             MetadataArrayTag (const char *name, const char *device, bool readOnly)
             
            virtual const MetadataArrayTagToArrayTag () const
             
            +
            virtual const MetadataArrayTagToArrayTag () const
             
            void AddValue (const char *val)
             
            +
            void SetValue (const char *val, size_t idx)
             
            +
            const std::string & GetValue (size_t idx) const
             
            +
             
            size_t GetSize () const
             
            -MetadataTagClone ()
             
            -std::string Serialize ()
            MetadataTagClone ()
             
            std::string Serialize ()
             
            -bool Restore (const char *stream)
            bool Restore (const char *stream)
             
            -bool Restore (std::istringstream &is)
            bool Restore (std::istringstream &is)
             
            - -

            +

            Additional Inherited Members

            Member Function Documentation

            - -

            ◆ ToArrayTag()

            + +

            ◆ Clone()

    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Restore() [1/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool MetadataArrayTag::Restore (const char * stream)
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Restore() [2/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool MetadataArrayTag::Restore (std::istringstream & is)
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Serialize()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::string MetadataArrayTag::Serialize ()
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ ToArrayTag()

    + +
    +
    + + + + + +
    + + + @@ -145,9 +250,9 @@

    -

    Equivalent of dynamic_cast<MetadataArrayTag*>(this), but does not use RTTI.

    See also
    ToSingleTag
    +

    Equivalent of dynamic_cast<MetadataArrayTag*>(this), but does not use RTTI.

    See also
    ToSingleTag
    -

    Reimplemented from MetadataTag.

    +

    Reimplemented from MetadataTag.

    @@ -157,7 +262,7 @@

    diff --git a/class_metadata_array_tag.png b/class_metadata_array_tag.png index e7a62e2056b43f681d3726b7c5b591dd7c8234e0..ea7a8c556c5969d62ccfd9a2c0e5f55bacfbb034 100644 GIT binary patch delta 535 zcmV+y0_gpx1h528}fgoi<@eE$<~%Oeo*b zl}f7tWI6K@(xO#)Ce2EKU7bWxE=`e_LF2a?2t~E9YD40_;a;OOn6T$wj&T zfk@I>Ux$q`#((JofKPP;fcd%xd%Io2y#{-yUctQx`(>THumIq#g#`d-Ei3>yYheMv zSqlpQ&RSRiaMr>CfU_1B0A5iDAhgZSyDOV^5s7&UC3 zRnjZiaLzs4))1R^*oG7x#y4!5^N<}XvASxTzQ{Q>J%66muSRj@o_D2l6t=f{jxEn@ zCMG^`w@++EHa4oIDzo%KDXV@t6R(*ayXMsDcfnJv-QRBN>e0Pflfv4{n;+1L{qStx z#}3Z6D`xGG+p2Ur`=Tk7Zs>x&&;P43vSX}c)bAD@Vbv%U@+LI~6K Z1B%69xe$~M!f*fp002ovPDHLkV1kJ92ciG~ delta 526 zcmV+p0`dK@1g8X$B!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00Fj1L_t(|0qvd9j^iKIp=)6$dYumCRUPy^}k_LH`~=tJe5C5I@3P3Y=1W{r`VSqNgC@d?D7b0 zSfa!DiuGBN)a#(gi}BA`7TszTH$%&kq!;}TyP9s4E^gnm%aSCgqn4`7wNcix8pA$r ziu^CI{R6yAdqw^TyK5i%Ze20grv6zKyBdFfTHJJU%aWvC!MD^6*pJ?=B>klhF3R}} zBuT;gI&984Uw2-d^`1Z!de zf;F)K!J1frU`;H*J4z{~>qP>%S`!Npth=$5-cI4qvlBl&bnRLIuZAtNNqPr+TCAOa z53$P$+pt83@ooDum!UXRVs*7PzQ`qY*}llHMsed_PJd-{4A$G6W7j>KNf#fu_dB*C z_cqqA9;p;^Z3;u^;x*H;Yfi1c3m#(o^Sw;29`4DS47RU)_XRqzAHLh)V+Zfn6|;6o zX+G1*&(9VgVCxQl9eA6_TWa?U8;TuYP0`q~X}c)r4@SCLd - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@

    virtual const MetadataArrayTag * MetadataArrayTag::ToArrayTag ( ) const
    - - + @@ -27,32 +26,32 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataError Member List
    +
    MetadataError Member List

    This is the complete list of members for MetadataError, including all inherited members.

    - +
    getMsg() (defined in MetadataError)MetadataErrorinlinevirtual
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    ~MetadataError() (defined in MetadataError)MetadataErrorinlinevirtual
    diff --git a/class_metadata_error.html b/class_metadata_error.html index 9290667..ed99188 100644 --- a/class_metadata_error.html +++ b/class_metadata_error.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataError Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,23 +26,23 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataError Class Reference
    +
    MetadataError Class Reference
    @@ -57,12 +56,12 @@
    - - -

    +

    Public Member Functions

    +
     MetadataError (const char *msg)
     
    +
    virtual std::string getMsg ()
     
    @@ -72,7 +71,7 @@ diff --git a/class_metadata_error.png b/class_metadata_error.png index 42ad7cad0cce00254da9e3d1c16aba388352842d..c0f5f94f07269d0993ac86315199e0cb6c152c38 100644 GIT binary patch delta 699 zcmX@YdYN^CO1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(j|^R4~+}`x`54H;83I+yTFQ7 z^DaJDm@(Zf_F0DZzCD?BGJ0kUdegr&3rw0-JTr8g*(1sQYrOZ(w3BIk`z`0_>54V1 z+deG~2@RLpCv)tNuHo%pM{iyG7$Oqany~lJ)wNa}`HmZ=XDt`o!|S-_d)Nc!28sWF zV;`03dc?DYUaj{^Rt^aL`(BAjNdbbIE(%yYzvC<<__M-SN$I|>(u`&6(;Zm$v+SG8 zD7ZmJh*3}ghW2nCH1WO6AS77nm8_$P5Qi)1@c5)$5`AMDWs1xWgmv+;;kSIDykUFV?Ht+l&tuXe{2mnr6xYvnxlk;$-7jx5Xo z$7{?CmQ73#J1SkQ$FVA^RODc)`pt%9J~P2J3&XdEt={SQPRZiol8WLxp6P;bmfdol zP<7?0Ktpuq|HTytPjVf#W!bpqmL&J(V--JGB34`cy(+%Ys&l2Byi36`&sY&Y3k?B= z1M#bS85r`k&kHh?eF#FB+748|mk$Dym-uV9HhJ7*j{E^k OgAAUoelF{r5}E+>;xxnn delta 684 zcmcc2dW3a?O1(sYPl)UP|Nj{n7+$>jTH1eT0+0p92M!!y?YtuoYELy9;(=t8f*!TJ;x19t8L@vIZ`uOIy)h10jb_)Mk8+I3+ z+qs;DLHLEEyo&=15PeqexcFtuo9kWt;XhB-3$_$YyU5AHV6f=C`(BrkZUbm6M1*zQ%YQhgsexw^~?>~nB=A}PoyD8MKv!ZC;Sk!}9lqu;A; z{Qu|flHy;V%QAg#Nby(MDI8AMbB^S)C@HnyaxA#$X&Zn4pdM4d9w4Vu1ljgpSls`B@IQoanlJ^P40*5T5CG#R*Tikm!k%#4S=GsS0?`2!G{dycu{hiWm z$5frY?d-OXRp(0EzN)NaH@&XVG;i{bQZMUR_S;1g>02A?4SQ`iYu%es>>6-&)n*Po z>yvDAiZ^s8aPQr
    #Hk@&%e$&bz!s`n~c_-yS~_`2fs!j2uiefC}Ab8-UiI18L! zHFu*yZcn>^!`80L@wI}hCeL{F(UV2l@71D$LynC=uh*~c1(Mr7$+)`keF - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,34 +26,34 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataIndexError Member List
    +
    MetadataIndexError Member List

    This is the complete list of members for MetadataIndexError, including all inherited members.

    - + - +
    getMsg() (defined in MetadataError)MetadataErrorinlinevirtual
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    MetadataIndexError() (defined in MetadataIndexError)MetadataIndexErrorinline
    ~MetadataError() (defined in MetadataError)MetadataErrorinlinevirtual
    ~MetadataError() (defined in MetadataError)MetadataErrorinlinevirtual
    ~MetadataIndexError() (defined in MetadataIndexError)MetadataIndexErrorinline
    diff --git a/class_metadata_index_error.html b/class_metadata_index_error.html index fc22750..ecf9487 100644 --- a/class_metadata_index_error.html +++ b/class_metadata_index_error.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataIndexError Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataIndexError Class Reference
    +
    MetadataIndexError Class Reference
    @@ -55,13 +54,13 @@
    - - -

    +

    Additional Inherited Members

    @@ -71,7 +70,7 @@ diff --git a/class_metadata_index_error.png b/class_metadata_index_error.png index d089aa59115c9957c65610c1330ef98cd6156ce5..1a71ff9b7fa156cc26832845be759805b620ba34 100644 GIT binary patch delta 515 zcmV+e0{s1t1f2wsB!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00F2;L_t(|0qvdHj>8}fMK2er^8bJFbijl?O&39> zx}y^q2YgtpJi~kMcL7h5doVdkF6S%du4&8OEbhXOBrh_R$A2V6t_yOKe1z}cJgp(GrC!x2J{zI`ho6YZj4Y3BG5T$}h{!2J zd023Mgy<;#-_eQHh^Ri~p&K7MSl<=L9@FXM*c83<_&8Rm#l6Om5s~HG<<2>`i9dnzWuB!XLbLz?002ovPDHLk FV1iFI1xWw^ delta 501 zcmbQs($6wMrCuVyC&cyt|NjgO3@_e%E$u%v0muU50|ySUcHWT(ayd$Z{DK*Pia_A% zsSqOu2F7`wE{-7;jBn@OTz6Q3hqb-=%K!gQZl4zVW)jOX)oT^=2}8LJcWsi_Ze86n zb&2V%0?%3N*0;>gIv1|IyRcs+_KLu}=9G5QuXgVP@-+vDop4rXItzsRj($TOKl8{wn*SqOD}w zrx4rUCzSt7Gxkh*PZ6 zIkReYUeLP3{)+q$PcF{2I1nOrFj>F-+n2`0cej^Eh=%6v+Pkvy)wjQucMBR$-YRH# h*>#^Oxo75j`;Hi?dp==8l^}_%F diff --git a/class_metadata_key_error-members.html b/class_metadata_key_error-members.html index bb90a5c..01e477a 100644 --- a/class_metadata_key_error-members.html +++ b/class_metadata_key_error-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,34 +26,34 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataKeyError Member List
    +
    MetadataKeyError Member List

    This is the complete list of members for MetadataKeyError, including all inherited members.

    - + - +
    getMsg() (defined in MetadataError)MetadataErrorinlinevirtual
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    MetadataError(const char *msg) (defined in MetadataError)MetadataErrorinline
    MetadataKeyError() (defined in MetadataKeyError)MetadataKeyErrorinline
    ~MetadataError() (defined in MetadataError)MetadataErrorinlinevirtual
    ~MetadataError() (defined in MetadataError)MetadataErrorinlinevirtual
    ~MetadataKeyError() (defined in MetadataKeyError)MetadataKeyErrorinline
    diff --git a/class_metadata_key_error.html b/class_metadata_key_error.html index a1adbf6..9cfe812 100644 --- a/class_metadata_key_error.html +++ b/class_metadata_key_error.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataKeyError Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,22 +26,22 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataKeyError Class Reference
    +
    MetadataKeyError Class Reference
    @@ -55,13 +54,13 @@
    - - -

    +

    Additional Inherited Members

    @@ -71,7 +70,7 @@ diff --git a/class_metadata_key_error.png b/class_metadata_key_error.png index fbdbf0d28377bec293aef70f0edd5d189d315347..f9a1957dc8011cd3dc68fc0d2f88207f16aad647 100644 GIT binary patch delta 528 zcmbQsvXW(jO1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(jmn;-NG4WKH`jX8D z=Wks5CcfhR-<*S!pTy{Dc=BDYXD)5OdT;Jey+0FD>f2{s*m3j7i-t)l>(?z%{9D7B zcl!Rqhvz>ol77{4>uGP|p?3>Dy*pwqIomzwU|d@k@7a}J_FqH%!@HLJwUu1rawQ<@ zg3|w6=g#&#kSHijF_n7`Jd>I?SAhDd4wIMMI$XJGz!EO2c zPR_y3jx$%Ax;l6+@4ay3oaL08TmBS;tID#6xIFQZlnVb`BEO}tE_RoiiOMYfgSkKJ z&0iK+w#!PH9qn%O?0^30nC&iYz4~YC-eynm(OzJ9F=k@OvF8E38K)wCt+Y`!`C5{{ z^J?J)p+NIY$8I0(_|^IQXMO7Guzn!|^5~SdnSZV?Jl{0`%NLG%`B`m&yTvA+tgk7n zf4?F(Z}IZVD)&7Tt&(d+Z%MzJec_$Q>-gCnCk+0IT(Nwv_FCSpJYKD3qWWb}yfS#Y L`njxgN@xNABrpf< delta 515 zcmZ3jTH1eT0+0p92M!!y?Ytuo+Z}8CB2(Xt(-3HSYPq} z@6AKrmv%-4c+Of@&s=&o>;1PH@j8{44Q&^8+^j!h!7z2n;wm=Ym(#rq-2buh*7r@{ zvd}*x=AMMw8@^TV%W5WXtUMz2CN*Q#Ld(#%&*v?>e05SveL0(^aPW$d3tIp0>7V^8 za7%7u^sZ0)_-jS}c>3G7KfCF3SYqPM{q<)1-)GK@^IWy%-rh+jzT8@#m%oGtyx(gd z$&mkwtzg@_hWdMX;sNU$?#+B2tlwC7@r$0u0UKS71131Iu;ueRHxDt+S - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@
    - - + @@ -27,51 +26,51 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataSingleTag Member List
    +
    MetadataSingleTag Member List

    This is the complete list of members for MetadataSingleTag, including all inherited members.

    - + - + - + - + - + - + - + - + - - - + + + - +
    Clone() (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    GetDevice() const (defined in MetadataTag)MetadataTaginline
    GetDevice() const (defined in MetadataTag)MetadataTaginline
    GetName() const (defined in MetadataTag)MetadataTaginline
    GetQualifiedName() const (defined in MetadataTag)MetadataTaginline
    GetQualifiedName() const (defined in MetadataTag)MetadataTaginline
    GetValue() const (defined in MetadataSingleTag)MetadataSingleTaginline
    IsReadOnly() const (defined in MetadataTag)MetadataTaginline
    IsReadOnly() const (defined in MetadataTag)MetadataTaginline
    MetadataSingleTag() (defined in MetadataSingleTag)MetadataSingleTaginline
    MetadataSingleTag(const char *name, const char *device, bool readOnly) (defined in MetadataSingleTag)MetadataSingleTaginline
    MetadataSingleTag(const char *name, const char *device, bool readOnly) (defined in MetadataSingleTag)MetadataSingleTaginline
    MetadataTag() (defined in MetadataTag)MetadataTaginline
    MetadataTag(const char *name, const char *device, bool readOnly) (defined in MetadataTag)MetadataTaginline
    MetadataTag(const char *name, const char *device, bool readOnly) (defined in MetadataTag)MetadataTaginline
    ReadLine(std::istringstream &is) (defined in MetadataTag)MetadataTaginlinestatic
    Restore(const char *stream) (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    Restore(const char *stream) (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    Restore(std::istringstream &is) (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    Serialize() (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    Serialize() (defined in MetadataSingleTag)MetadataSingleTaginlinevirtual
    SetDevice(const char *device) (defined in MetadataTag)MetadataTaginline
    SetName(const char *name) (defined in MetadataTag)MetadataTaginline
    SetName(const char *name) (defined in MetadataTag)MetadataTaginline
    SetReadOnly(bool ro) (defined in MetadataTag)MetadataTaginline
    SetValue(const char *val) (defined in MetadataSingleTag)MetadataSingleTaginline
    ToArrayTag() constMetadataTaginlinevirtual
    ToSingleTag() constMetadataSingleTaginlinevirtual
    SetValue(const char *val) (defined in MetadataSingleTag)MetadataSingleTaginline
    ToArrayTag() constMetadataTaginlinevirtual
    ToSingleTag() constMetadataSingleTaginlinevirtual
    ~MetadataSingleTag() (defined in MetadataSingleTag)MetadataSingleTaginline
    ~MetadataTag() (defined in MetadataTag)MetadataTaginlinevirtual
    ~MetadataTag() (defined in MetadataTag)MetadataTaginlinevirtual
    diff --git a/class_metadata_single_tag.html b/class_metadata_single_tag.html index 4dacf39..f0f1381 100644 --- a/class_metadata_single_tag.html +++ b/class_metadata_single_tag.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataSingleTag Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,23 +26,23 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataSingleTag Class Reference
    +
    MetadataSingleTag Class Reference
    @@ -56,69 +55,65 @@
    - - - - - + - - - - - + + + + + - + - + - - - - + - - + - - - - - - + +

    +

    Public Member Functions

    +
     MetadataSingleTag (const char *name, const char *device, bool readOnly)
     
    +
    const std::string & GetValue () const
     
    +
     
    void SetValue (const char *val)
     
    virtual const MetadataSingleTagToSingleTag () const
     
    -MetadataTagClone ()
     
    -std::string Serialize ()
    virtual const MetadataSingleTagToSingleTag () const
     
    MetadataTagClone ()
     
    std::string Serialize ()
     
    -bool Restore (const char *stream)
    bool Restore (const char *stream)
     
    -bool Restore (std::istringstream &is)
    bool Restore (std::istringstream &is)
     
    - -

    +

    Additional Inherited Members

    Member Function Documentation

    - -

    ◆ ToSingleTag()

    + +

    ◆ Clone()

    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Restore() [1/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool MetadataSingleTag::Restore (const char * stream)
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Restore() [2/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool MetadataSingleTag::Restore (std::istringstream & is)
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ Serialize()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::string MetadataSingleTag::Serialize ()
    +
    +inlinevirtual
    +
    + +

    Implements MetadataTag.

    + +
    +
    + +

    ◆ ToSingleTag()

    + +
    +
    + + +
    + + + @@ -141,7 +246,7 @@

    Equivalent of dynamic_cast<MetadataSingleTag*>(this), but does not use RTTI. This makes it safe against multiple definitions when using dynamic libraries on Linux (original cause: JVM uses dlopen with RTLD_LOCAL when loading libraries.

    -

    Reimplemented from MetadataTag.

    +

    Reimplemented from MetadataTag.

    @@ -151,7 +256,7 @@

    diff --git a/class_metadata_single_tag.png b/class_metadata_single_tag.png index 06c475ba39a18dfd418f397a43977c1de87e68f8..3179261d703b5d43d03699d97a8898d68d0cc0eb 100644 GIT binary patch delta 540 zcmZ3*vXy0mO1*S|Pl)UP|Nj{n7+$>jTH1eTxrKpdfyDGPFAf|y02B|Nba@3(j5IEGX(zMcEJ@3jI?OS|K$KmYt|W-%OmHff73@0yUZ@{ZRP ze;acz?*DM_w`7z0$&XP9lVldzbCewoj+WieZLd;Uzf!osW5K7GrqvRY-n=mVP}j5P z&AnyzO}QeTVOH8-=T${F2S(`bk17)JyjCSFb6IZAq4mFW7kONIRkB0Kw9iLpomb?q z(3Sg{_4osAtCs!~xWjtqPIB-iiwCnsh1C9kHvfG!~0mhKLbQx86bI9`8nH!JP!jqnGx z{gpTO>h524$=JbF?x6bw-;{c9*`THM-t{N5e)iv$d*8cMD@i!Ex&QH$`ByxBJocJj z&7bYT8@}jRWye<|_APZ&*Rw63u=t98!)e)XeUpX0JH27~b}+pmt$+4|@6|b8Qn$B9 zDq8(K{6p^FqT|bh=L+8~E{;{%!+vMa@mcHl*FO68_eRCuePXUIZ7jTH1eT0+0p92M!!y?Ytuopj$ z%kxk*bB|cWq_!9KEW4lOxw99F|5te#r2Zfyp}t1%;BFaDs|(c+HuMy6Ud*duz8*Pg z%jL+G&0k+jv7cQbZa#gIs%Q0Ip*=U#{Dimvj!pFpT6_7K*Oj%Y+a5`sHp}z+YyO~2 zaQE%NmG&(1OnLVnuUZn_yx;Aj!O{8uRr7Z3O7XnpS3W-`_<;PojVgZ^pX)pSwQSN7 z#a~_*n zlZ%6LL#A6rEuFvAU+U|l%KB|TD@~0=SN5(uSZVpzeDfr&RD1Ky_j@On`b_S6dggAh zSj6$(`*L%FidNod*luhS}~Vovu*9( zzDg=Nf3h^Of`3PKU#a~6uU)^NCqMsKrOU)~F}!JRab8m$L+uhN1=D94_ZS$s7#KWV L{an^LB{Ts5{1W|J diff --git a/class_metadata_tag-members.html b/class_metadata_tag-members.html index 9145fec..d0aa811 100644 --- a/class_metadata_tag-members.html +++ b/class_metadata_tag-members.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Member List @@ -16,10 +16,9 @@

    virtual const MetadataSingleTag * MetadataSingleTag::ToSingleTag ( ) const
    - - + @@ -27,46 +26,46 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MetadataTag Member List
    +
    MetadataTag Member List

    This is the complete list of members for MetadataTag, including all inherited members.

    - + - + - + - + - + - + - - - + + +
    Clone()=0 (defined in MetadataTag)MetadataTagpure virtual
    GetDevice() const (defined in MetadataTag)MetadataTaginline
    GetDevice() const (defined in MetadataTag)MetadataTaginline
    GetName() const (defined in MetadataTag)MetadataTaginline
    GetQualifiedName() const (defined in MetadataTag)MetadataTaginline
    GetQualifiedName() const (defined in MetadataTag)MetadataTaginline
    IsReadOnly() const (defined in MetadataTag)MetadataTaginline
    MetadataTag() (defined in MetadataTag)MetadataTaginline
    MetadataTag() (defined in MetadataTag)MetadataTaginline
    MetadataTag(const char *name, const char *device, bool readOnly) (defined in MetadataTag)MetadataTaginline
    ReadLine(std::istringstream &is) (defined in MetadataTag)MetadataTaginlinestatic
    ReadLine(std::istringstream &is) (defined in MetadataTag)MetadataTaginlinestatic
    Restore(const char *stream)=0 (defined in MetadataTag)MetadataTagpure virtual
    Restore(std::istringstream &is)=0 (defined in MetadataTag)MetadataTagpure virtual
    Restore(std::istringstream &is)=0 (defined in MetadataTag)MetadataTagpure virtual
    Serialize()=0 (defined in MetadataTag)MetadataTagpure virtual
    SetDevice(const char *device) (defined in MetadataTag)MetadataTaginline
    SetDevice(const char *device) (defined in MetadataTag)MetadataTaginline
    SetName(const char *name) (defined in MetadataTag)MetadataTaginline
    SetReadOnly(bool ro) (defined in MetadataTag)MetadataTaginline
    ToArrayTag() constMetadataTaginlinevirtual
    ToSingleTag() constMetadataTaginlinevirtual
    SetReadOnly(bool ro) (defined in MetadataTag)MetadataTaginline
    ToArrayTag() constMetadataTaginlinevirtual
    ToSingleTag() constMetadataTaginlinevirtual
    ~MetadataTag() (defined in MetadataTag)MetadataTaginlinevirtual
    diff --git a/class_metadata_tag.html b/class_metadata_tag.html index f505e0a..a79f03d 100644 --- a/class_metadata_tag.html +++ b/class_metadata_tag.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MetadataTag Class Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ + -
    -
    MetadataTag Class Referenceabstract
    +
    MetadataTag Class Referenceabstract
    @@ -60,60 +59,60 @@
    - - - - - + - - + - - - - - - - - - + + + + - - + - -

    +

    Public Member Functions

    +
     MetadataTag (const char *name, const char *device, bool readOnly)
     
    +
    const std::string & GetDevice () const
     
    +
     
    const std::string & GetName () const
     
    +
     
    const std::string GetQualifiedName () const
     
    +
    bool IsReadOnly () const
     
    +
    void SetDevice (const char *device)
     
    +
    void SetName (const char *name)
     
    +
    void SetReadOnly (bool ro)
     
    virtual const MetadataSingleTagToSingleTag () const
     
    virtual const MetadataArrayTagToArrayTag () const
     
    +
    virtual const MetadataSingleTagToSingleTag () const
     
    virtual const MetadataArrayTagToArrayTag () const
     
    virtual MetadataTagClone ()=0
     
    +
     
    virtual std::string Serialize ()=0
     
    +
    virtual bool Restore (const char *stream)=0
     
    +
    virtual bool Restore (std::istringstream &is)=0
     
    - -

    +

    Static Public Member Functions

    +
    static std::string ReadLine (std::istringstream &is)
     

    Detailed Description

    Image information tags - metadata.

    Member Function Documentation

    - -

    ◆ ToArrayTag()

    + +

    ◆ ToArrayTag()

    @@ -122,7 +121,7 @@

    - + @@ -134,14 +133,14 @@

    -

    Equivalent of dynamic_cast<MetadataArrayTag*>(this), but does not use RTTI.

    See also
    ToSingleTag
    +

    Equivalent of dynamic_cast<MetadataArrayTag*>(this), but does not use RTTI.

    See also
    ToSingleTag
    -

    Reimplemented in MetadataArrayTag.

    +

    Reimplemented in MetadataArrayTag.

    - -

    ◆ ToSingleTag()

    + +

    ◆ ToSingleTag()

    @@ -150,7 +149,7 @@

    virtual const MetadataArrayTag* MetadataTag::ToArrayTag virtual const MetadataArrayTag * MetadataTag::ToArrayTag ( ) const
    - + @@ -164,7 +163,7 @@

    Equivalent of dynamic_cast<MetadataSingleTag*>(this), but does not use RTTI. This makes it safe against multiple definitions when using dynamic libraries on Linux (original cause: JVM uses dlopen with RTLD_LOCAL when loading libraries.

    -

    Reimplemented in MetadataSingleTag.

    +

    Reimplemented in MetadataSingleTag.

    @@ -174,7 +173,7 @@

    diff --git a/class_metadata_tag.png b/class_metadata_tag.png index ec54ee53a78954ccf466811d41a8a341de5cb124..23b65b7f56a45aacf39a619178f2ac123e73e39d 100644 GIT binary patch delta 783 zcmV+q1MvKx2Dt{1B!3%FOjJex|Nj600O;)Xb&tZQI4~)27?;fGz`(%&|Nm2x)2ILd z010$bPE!E?|NsC0|Ns9t0-MwT00P8GL_t(|0qvdJa-%R1M4MI>)&Kv+>*c095FAS; zOg0B=#Td;Iqsc1(yvHyMLk|F;GlL|x$J7C!8>TKvEirWf=zm5{eVzCBRF5=Rk(}#^eX*jnk~*R>T#4LWqfzRPjdgS^B@_O=7WomlBAs5sV`!i zX)+(4`zT71V!pi1t=>!XT1q^SO6P-u|10Y0i_AW11%F%hs^XtN>rr7Z&Hn#rR$Av@ z|NMN=;eC`OWq*9Lx+J~NL)CA4)+OmpmaZ>J8GpavC8>z113))SU6NX2>HyG;7Ezm-$oOAFOU29sr()sRO{%Fm(WU8m0~aPs7v!;AV{DICcgA zdeHx+nK}Tp#nb_y6Q<Z83EK=!B^QKwC^506Jmn0DsUHQwM-fm^uKo<>utCh#;Xs>XE@rKkAp~tzr*}Pk}0|Rr39A8XG?4o z^%Mg2`F0R>Mt#_KuWwC3{XzoMsI)|!BS~hI)u(Opmua>*zo}23^JRMtL0<7=j@8d5 z5LC)5AX$jqg6k=S1wTJ){oeY!j!N@^;k;HD6R5|JsTTZ|1U9?nel*%m;Xr-c(e!_r zdU9Hmx1K%btol&`>!zoBej&qm z>p|nIcK9d-uTGM`N#(C;U7aL6t!8YG!eJnJO+dz4rAUHNlw zJy?SzQ~d4E6+B7q@X3NF$zx0^og~|0>ZVSTt$C?C=UfK@b?2Pxz(3>Kehm-_2T%Y2 N002ovPDHLkV1oLBh8h3> delta 776 zcmV+j1NZ#72A>9yB!3uCOjJex|Nj600O;)Xb&tZ30001x0001xz`(!-iQFFm000Pd zQchC<|NsC0|NsBh%2YA{00OQ_L_t(|0qvdZmZC5a28%D}@cxgyF1OqfQ4<+@b_%mi zBweA?^B3SfhG7_b0MMCEIhZ;?H%uL%C8iG0jam+C+~1F97JuTe^zNTlpKk;vPt{*B zx{CVrD*a`O7URp);#mM0zg_T?-2dx5NJgc2aPhMMaxSO7d|@+9;^DcEW&ygkKjK57MjS@o*opFitSVK2@8|7ccPi}=Ebboz-jK5#-07Xn4pc|$R&=OMz=*BP%Lk|Eh%m{E#?yEkIw{^d-`osLL z?l)Gq4i9iYOda5Em^#4SFm-^tVd?-EV;sk^GXOp4|I$nype?2j&bi&jD z+G6SeoiKHPwwO9VCrllnEf-gJ&bhOU&N+9IAIQK-Qh$3wbxCTEsY_B@Ox@HasWo1G zNIt{SPCT9@Df}JgA4y8d)lVg`JU&}u3)E8x)aTp5tRw2fzI%OZ3hE~km`0@~;v6L@ zqpUt{lfO*SVtiAdKIhB!8iKsy$2?a*nm|w~j|sudZE`(@u;Axst>0UJ*HI}R7|v^j za{~4FF@M#9Ka;>_x7?3LyD2*_sLe%EgWtYaV z6iu|paeSQ_`LA=5YCE8QA^~rdt4F!zDU{XIO{(pvw+oBPzrDQL4ywPDKutaCg*)nd zD-@5~>*~8_{bT}_nXjDnsIJzowKPoMVCPP{jDK?V^&9Dd3?K7U{cr-o-}RvJRXco? zf>)QMPg417T345(&rn%9x&1Zu((?OfU6S4>Ttku)if3JtK1X?V-<7}j)`K-9DaGIZ zUcpP!4&N+zNqUZ{OHx}*-P9$iH4k;?oa;cK?woTS_y_ugGgY1)_4xn*002ovPDHLk GU;%=U@qiit diff --git a/classes.html b/classes.html index 465e1b3..a99a4ea 100644 --- a/classes.html +++ b/classes.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Index @@ -16,10 +16,9 @@

    virtual const MetadataSingleTag* MetadataTag::ToSingleTag virtual const MetadataSingleTag * MetadataTag::ToSingleTag ( ) const
    - - + @@ -27,68 +26,68 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70

    - + +/* @license-end */ +
    -
    -
    Class Index
    +
    Class Index
    diff --git a/deprecated.html b/deprecated.html index fe59cf7..fb50bcf 100644 --- a/deprecated.html +++ b/deprecated.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Deprecated List @@ -16,10 +16,9 @@
    - - + @@ -27,20 +26,20 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ + -
    -
    -
    Deprecated List
    +
    +
    Deprecated List
    @@ -59,7 +58,7 @@
    diff --git a/dir_7a1f3eb64b438b3ad34f72aec195a0a6.html b/dir_7a1f3eb64b438b3ad34f72aec195a0a6.html index aed5a74..e7d8d39 100644 --- a/dir_7a1f3eb64b438b3ad34f72aec195a0a6.html +++ b/dir_7a1f3eb64b438b3ad34f72aec195a0a6.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: mmCoreAndDevices Directory Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    mmCoreAndDevices Directory Reference
    +
    mmCoreAndDevices Directory Reference
    - + +

    +

    Directories

     MMDevice
     
    diff --git a/dir_e3101bba6c8169cd28ecb54e6a1d0a69.html b/dir_e3101bba6c8169cd28ecb54e6a1d0a69.html index 00845d4..18f9c65 100644 --- a/dir_e3101bba6c8169cd28ecb54e6a1d0a69.html +++ b/dir_e3101bba6c8169cd28ecb54e6a1d0a69.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: MMDevice Directory Reference @@ -16,10 +16,9 @@
    - - + @@ -27,15 +26,16 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MMDevice Directory Reference
    +
    MMDevice Directory Reference
    + + + + + + + + + + + + + + + + + + + + + + +

    +Files

     Debayer.h
     
     DeviceBase.h
     
     DeviceThreads.h
     
     DeviceUtils.h
     
     ImageMetadata.h
     
     ImgBuffer.h
     
     MMDevice.h
     
     MMDeviceConstants.h
     
     ModuleInterface.h
     
     Property.h
     
    diff --git a/doc.png b/doc.png deleted file mode 100644 index 17edabff95f7b8da13c9516a04efe05493c29501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t diff --git a/doc.svg b/doc.svg new file mode 100644 index 0000000..0b928a5 --- /dev/null +++ b/doc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/docd.svg b/docd.svg new file mode 100644 index 0000000..ac18b27 --- /dev/null +++ b/docd.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/doxygen.css b/doxygen.css index ffbff02..009a9b5 100644 --- a/doxygen.css +++ b/doxygen.css @@ -1,29 +1,378 @@ -/* The standard CSS for doxygen 1.9.1 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; +/* The standard CSS for doxygen 1.9.8*/ + +html { +/* page base colors */ +--page-background-color: white; +--page-foreground-color: black; +--page-link-color: #3D578C; +--page-visited-link-color: #4665A2; + +/* index */ +--index-odd-item-bg-color: #F8F9FC; +--index-even-item-bg-color: white; +--index-header-color: black; +--index-separator-color: #A0A0A0; + +/* header */ +--header-background-color: #F9FAFC; +--header-separator-color: #C4CFE5; +--header-gradient-image: url('nav_h.png'); +--group-header-separator-color: #879ECB; +--group-header-color: #354C7B; +--inherit-header-color: gray; + +--footer-foreground-color: #2A3D61; +--footer-logo-width: 104px; +--citation-label-color: #334975; +--glow-color: cyan; + +--title-background-color: white; +--title-separator-color: #5373B4; +--directory-separator-color: #9CAFD4; +--separator-color: #4A6AAA; + +--blockquote-background-color: #F7F8FB; +--blockquote-border-color: #9CAFD4; + +--scrollbar-thumb-color: #9CAFD4; +--scrollbar-background-color: #F9FAFC; + +--icon-background-color: #728DC1; +--icon-foreground-color: white; +--icon-doc-image: url('doc.svg'); +--icon-folder-open-image: url('folderopen.svg'); +--icon-folder-closed-image: url('folderclosed.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #F9FAFC; +--memdecl-separator-color: #DEE4F0; +--memdecl-foreground-color: #555; +--memdecl-template-color: #4665A2; + +/* detailed member list */ +--memdef-border-color: #A8B8D9; +--memdef-title-background-color: #E2E8F2; +--memdef-title-gradient-image: url('nav_f.png'); +--memdef-proto-background-color: #DFE5F1; +--memdef-proto-text-color: #253555; +--memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--memdef-doc-background-color: white; +--memdef-param-name-color: #602020; +--memdef-template-color: #4665A2; + +/* tables */ +--table-cell-border-color: #2D4068; +--table-header-background-color: #374F7F; +--table-header-foreground-color: #FFFFFF; + +/* labels */ +--label-background-color: #728DC1; +--label-left-top-border-color: #5373B4; +--label-right-bottom-border-color: #C4CFE5; +--label-foreground-color: white; + +/** navigation bar/tree/menu */ +--nav-background-color: #F9FAFC; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_b.png'); +--nav-gradient-hover-image: url('tab_h.png'); +--nav-gradient-active-image: url('tab_a.png'); +--nav-gradient-active-image-parent: url("../tab_a.png"); +--nav-separator-image: url('tab_s.png'); +--nav-breadcrumb-image: url('bc_s.png'); +--nav-breadcrumb-border-color: #C2CDE4; +--nav-splitbar-image: url('splitbar.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #283A5D; +--nav-text-hover-color: white; +--nav-text-active-color: white; +--nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #364D7C; +--nav-menu-background-color: white; +--nav-menu-foreground-color: #555555; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.5); +--nav-arrow-color: #9CAFD4; +--nav-arrow-selected-color: #9CAFD4; + +/* table of contents */ +--toc-background-color: #F4F6FA; +--toc-border-color: #D8DFEE; +--toc-header-color: #4665A2; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: white; +--search-foreground-color: #909090; +--search-magnification-image: url('mag.svg'); +--search-magnification-select-image: url('mag_sel.svg'); +--search-active-color: black; +--search-filter-background-color: #F9FAFC; +--search-filter-foreground-color: black; +--search-filter-border-color: #90A5CE; +--search-filter-highlight-text-color: white; +--search-filter-highlight-bg-color: #3D578C; +--search-results-foreground-color: #425E97; +--search-results-background-color: #EEF1F7; +--search-results-border-color: black; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #555; + +/** code fragments */ +--code-keyword-color: #008000; +--code-type-keyword-color: #604020; +--code-flow-keyword-color: #E08000; +--code-comment-color: #800000; +--code-preprocessor-color: #806020; +--code-string-literal-color: #002080; +--code-char-literal-color: #008080; +--code-xml-cdata-color: black; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #000000; +--code-vhdl-keyword-color: #700070; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #4665A2; +--code-external-link-color: #4665A2; +--fragment-foreground-color: black; +--fragment-background-color: #FBFCFD; +--fragment-border-color: #C4CFE5; +--fragment-lineno-border-color: #00FF00; +--fragment-lineno-background-color: #E8E8E8; +--fragment-lineno-foreground-color: black; +--fragment-lineno-link-fg-color: #4665A2; +--fragment-lineno-link-bg-color: #D8D8D8; +--fragment-lineno-link-hover-fg-color: #4665A2; +--fragment-lineno-link-hover-bg-color: #C8C8C8; +--tooltip-foreground-color: black; +--tooltip-background-color: white; +--tooltip-border-color: gray; +--tooltip-doc-color: grey; +--tooltip-declaration-color: #006318; +--tooltip-link-color: #4665A2; +--tooltip-shadow: 1px 1px 7px gray; +--fold-line-color: #808080; +--fold-minus-image: url('minus.svg'); +--fold-plus-image: url('plus.svg'); +--fold-minus-image-relpath: url('../../minus.svg'); +--fold-plus-image-relpath: url('../../plus.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +} + +@media (prefers-color-scheme: dark) { + html:not(.dark-mode) { + color-scheme: dark; + +/* page base colors */ +--page-background-color: black; +--page-foreground-color: #C9D1D9; +--page-link-color: #90A5CE; +--page-visited-link-color: #A3B4D7; + +/* index */ +--index-odd-item-bg-color: #0B101A; +--index-even-item-bg-color: black; +--index-header-color: #C4CFE5; +--index-separator-color: #334975; + +/* header */ +--header-background-color: #070B11; +--header-separator-color: #141C2E; +--header-gradient-image: url('nav_hd.png'); +--group-header-separator-color: #283A5D; +--group-header-color: #90A5CE; +--inherit-header-color: #A0A0A0; + +--footer-foreground-color: #5B7AB7; +--footer-logo-width: 60px; +--citation-label-color: #90A5CE; +--glow-color: cyan; + +--title-background-color: #090D16; +--title-separator-color: #354C79; +--directory-separator-color: #283A5D; +--separator-color: #283A5D; + +--blockquote-background-color: #101826; +--blockquote-border-color: #283A5D; + +--scrollbar-thumb-color: #283A5D; +--scrollbar-background-color: #070B11; + +--icon-background-color: #334975; +--icon-foreground-color: #C4CFE5; +--icon-doc-image: url('docd.svg'); +--icon-folder-open-image: url('folderopend.svg'); +--icon-folder-closed-image: url('folderclosedd.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #0B101A; +--memdecl-separator-color: #2C3F65; +--memdecl-foreground-color: #BBB; +--memdecl-template-color: #7C95C6; + +/* detailed member list */ +--memdef-border-color: #233250; +--memdef-title-background-color: #1B2840; +--memdef-title-gradient-image: url('nav_fd.png'); +--memdef-proto-background-color: #19243A; +--memdef-proto-text-color: #9DB0D4; +--memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); +--memdef-doc-background-color: black; +--memdef-param-name-color: #D28757; +--memdef-template-color: #7C95C6; + +/* tables */ +--table-cell-border-color: #283A5D; +--table-header-background-color: #283A5D; +--table-header-foreground-color: #C4CFE5; + +/* labels */ +--label-background-color: #354C7B; +--label-left-top-border-color: #4665A2; +--label-right-bottom-border-color: #283A5D; +--label-foreground-color: #CCCCCC; + +/** navigation bar/tree/menu */ +--nav-background-color: #101826; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_bd.png'); +--nav-gradient-hover-image: url('tab_hd.png'); +--nav-gradient-active-image: url('tab_ad.png'); +--nav-gradient-active-image-parent: url("../tab_ad.png"); +--nav-separator-image: url('tab_sd.png'); +--nav-breadcrumb-image: url('bc_sd.png'); +--nav-breadcrumb-border-color: #2A3D61; +--nav-splitbar-image: url('splitbard.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #B6C4DF; +--nav-text-hover-color: #DCE2EF; +--nav-text-active-color: #DCE2EF; +--nav-text-normal-shadow: 0px 1px 1px black; +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #B6C4DF; +--nav-menu-background-color: #05070C; +--nav-menu-foreground-color: #BBBBBB; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.2); +--nav-arrow-color: #334975; +--nav-arrow-selected-color: #90A5CE; + +/* table of contents */ +--toc-background-color: #151E30; +--toc-border-color: #202E4A; +--toc-header-color: #A3B4D7; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: black; +--search-foreground-color: #C5C5C5; +--search-magnification-image: url('mag_d.svg'); +--search-magnification-select-image: url('mag_seld.svg'); +--search-active-color: #C5C5C5; +--search-filter-background-color: #101826; +--search-filter-foreground-color: #90A5CE; +--search-filter-border-color: #7C95C6; +--search-filter-highlight-text-color: #BCC9E2; +--search-filter-highlight-bg-color: #283A5D; +--search-results-background-color: #101826; +--search-results-foreground-color: #90A5CE; +--search-results-border-color: #7C95C6; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; + +/** code fragments */ +--code-keyword-color: #CC99CD; +--code-type-keyword-color: #AB99CD; +--code-flow-keyword-color: #E08000; +--code-comment-color: #717790; +--code-preprocessor-color: #65CABE; +--code-string-literal-color: #7EC699; +--code-char-literal-color: #00E0F0; +--code-xml-cdata-color: #C9D1D9; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #C0C0C0; +--code-vhdl-keyword-color: #CF53C9; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #79C0FF; +--code-external-link-color: #79C0FF; +--fragment-foreground-color: #C9D1D9; +--fragment-background-color: black; +--fragment-border-color: #30363D; +--fragment-lineno-border-color: #30363D; +--fragment-lineno-background-color: black; +--fragment-lineno-foreground-color: #6E7681; +--fragment-lineno-link-fg-color: #6E7681; +--fragment-lineno-link-bg-color: #303030; +--fragment-lineno-link-hover-fg-color: #8E96A1; +--fragment-lineno-link-hover-bg-color: #505050; +--tooltip-foreground-color: #C9D1D9; +--tooltip-background-color: #202020; +--tooltip-border-color: #C9D1D9; +--tooltip-doc-color: #D9E1E9; +--tooltip-declaration-color: #20C348; +--tooltip-link-color: #79C0FF; +--tooltip-shadow: none; +--fold-line-color: #808080; +--fold-minus-image: url('minusd.svg'); +--fold-plus-image: url('plusd.svg'); +--fold-minus-image-relpath: url('../../minusd.svg'); +--fold-plus-image-relpath: url('../../plusd.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +}} +body { + background-color: var(--page-background-color); + color: var(--page-foreground-color); } -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; +body, table, div, p, dl { + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 22px; } /* @group Heading Levels */ -h1.groupheader { - font-size: 150%; -} - .title { - font: 400 14px/28px Roboto,sans-serif; + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 28px; font-size: 150%; font-weight: bold; margin: 10px 2px; } +h1.groupheader { + font-size: 150%; +} + h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; + border-bottom: 1px solid var(--group-header-separator-color); + color: var(--group-header-color); font-size: 150%; font-weight: normal; margin-top: 1.75em; @@ -46,22 +395,13 @@ h1, h2, h3, h4, h5, h6 { } h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; + text-shadow: 0 0 15px var(--glow-color); } dt { font-weight: bold; } -ul.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; -} - p.startli, p.startdd { margin-top: 2px; } @@ -113,7 +453,6 @@ h3.version { } div.navtab { - border-right: 1px solid #A3B4D7; padding-right: 15px; text-align: right; line-height: 110%; @@ -127,16 +466,17 @@ td.navtab { padding-right: 6px; padding-left: 6px; } + td.navtabHL { - background-image: url('tab_a.png'); + background-image: var(--nav-gradient-active-image); background-repeat:repeat-x; padding-right: 6px; padding-left: 6px; } td.navtabHL a, td.navtabHL a:visited { - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); } a.navtab { @@ -148,7 +488,13 @@ div.qindex{ width: 100%; line-height: 140%; font-size: 130%; - color: #A0A0A0; + color: var(--index-separator-color); +} + +#main-menu a:focus { + outline: auto; + z-index: 10; + position: relative; } dt.alphachar{ @@ -157,7 +503,7 @@ dt.alphachar{ } .alphachar a{ - color: black; + color: var(--index-header-color); } .alphachar a:hover, .alphachar a:visited{ @@ -176,8 +522,12 @@ dt.alphachar{ line-height: 1.15em; } +.classindex dl.even { + background-color: var(--index-even-item-bg-color); +} + .classindex dl.odd { - background-color: #F8F9FC; + background-color: var(--index-odd-item-bg-color); } @media(min-width: 1120px) { @@ -196,23 +546,19 @@ dt.alphachar{ /* @group Link Styling */ a { - color: #3D578C; + color: var(--page-link-color); font-weight: normal; text-decoration: none; } .contents a:visited { - color: #4665A2; + color: var(--page-visited-link-color); } a:hover { text-decoration: underline; } -.contents a.qindexHL:visited { - color: #FFFFFF; -} - a.el { font-weight: bold; } @@ -221,12 +567,39 @@ a.elRef { } a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; + color: var(--code-link-color); } a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} + color: var(--code-external-link-color); +} + +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } /* @end */ @@ -235,7 +608,17 @@ dl.el { } ul { - overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ + overflow: visible; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; + list-style-type: none; } #side-nav ul { @@ -254,30 +637,32 @@ ul { } pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; + border: 1px solid var(--fragment-border-color); + background-color: var(--fragment-background-color); + color: var(--fragment-foreground-color); padding: 4px 6px; margin: 4px 8px 4px 2px; overflow: auto; word-wrap: break-word; font-size: 9pt; line-height: 125%; - font-family: monospace, fixed; + font-family: var(--font-family-monospace); font-size: 105%; } div.fragment { - padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + color: var(--fragment-foreground-color); + background-color: var(--fragment-background-color); + border: 1px solid var(--fragment-border-color); } div.line { - font-family: monospace, fixed; + font-family: var(--font-family-monospace); font-size: 13px; min-height: 13px; - line-height: 1.0; + line-height: 1.2; text-wrap: unrestricted; white-space: -moz-pre-wrap; /* Moz */ white-space: -pre-wrap; /* Opera 4-6 */ @@ -306,24 +691,40 @@ div.line:after { } div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; + background-color: var(--glow-color); + box-shadow: 0 0 10px var(--glow-color); } +span.fold { + margin-left: 5px; + margin-right: 1px; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; + display: inline-block; + width: 12px; + height: 12px; + background-repeat:no-repeat; + background-position:center; +} span.lineno { padding-right: 4px; + margin-right: 9px; text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; + border-right: 2px solid var(--fragment-lineno-border-color); + color: var(--fragment-lineno-foreground-color); + background-color: var(--fragment-lineno-background-color); white-space: pre; } -span.lineno a { - background-color: #D8D8D8; +span.lineno a, span.lineno a:visited { + color: var(--fragment-lineno-link-fg-color); + background-color: var(--fragment-lineno-link-bg-color); } span.lineno a:hover { - background-color: #C8C8C8; + color: var(--fragment-lineno-link-hover-fg-color); + background-color: var(--fragment-lineno-link-hover-bg-color); } .lineno { @@ -335,24 +736,6 @@ span.lineno a:hover { user-select: none; } -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #FFFFFF; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - div.classindex ul { list-style: none; padding-left: 0; @@ -374,8 +757,7 @@ div.groupText { } body { - background-color: white; - color: black; + color: var(--page-foreground-color); margin: 0; } @@ -385,29 +767,15 @@ div.contents { margin-right: 8px; } -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; +p.formulaDsp { + text-align: center; } -tr.memlist { - background-color: #EEF1F7; +img.dark-mode-visible { + display: none; } - -p.formulaDsp { - text-align: center; +img.light-mode-visible { + display: none; } img.formulaDsp { @@ -437,89 +805,74 @@ address.footer { img.footer { border: 0px; vertical-align: middle; + width: var(--footer-logo-width); +} + +.compoundTemplParams { + color: var(--memdecl-template-color); + font-size: 80%; + line-height: 120%; } /* @group Code Colorization */ span.keyword { - color: #008000 + color: var(--code-keyword-color); } span.keywordtype { - color: #604020 + color: var(--code-type-keyword-color); } span.keywordflow { - color: #e08000 + color: var(--code-flow-keyword-color); } span.comment { - color: #800000 + color: var(--code-comment-color); } span.preprocessor { - color: #806020 + color: var(--code-preprocessor-color); } span.stringliteral { - color: #002080 + color: var(--code-string-literal-color); } span.charliteral { - color: #008080 + color: var(--code-char-literal-color); +} + +span.xmlcdata { + color: var(--code-xml-cdata-color); } span.vhdldigit { - color: #ff00ff + color: var(--code-vhdl-digit-color); } span.vhdlchar { - color: #000000 + color: var(--code-vhdl-char-color); } span.vhdlkeyword { - color: #700070 + color: var(--code-vhdl-keyword-color); } span.vhdllogic { - color: #ff0000 + color: var(--code-vhdl-logic-color); } blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; + background-color: var(--blockquote-background-color); + border-left: 2px solid var(--blockquote-border-color); margin: 0 24px 0 4px; padding: 0 12px 0 16px; } -blockquote.DocNodeRTL { - border-left: 0; - border-right: 2px solid #9CAFD4; - margin: 0 4px 0 24px; - padding: 0 16px 0 12px; -} - /* @end */ -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - td.tiny { font-size: 75%; } @@ -527,18 +880,19 @@ td.tiny { .dirtab { padding: 4px; border-collapse: collapse; - border: 1px solid #A3B4D7; + border: 1px solid var(--table-cell-border-color); } th.dirtab { - background: #EBEFF6; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-weight: bold; } hr { height: 0px; border: none; - border-top: 1px solid #4A6AAA; + border-top: 1px solid var(--separator-color); } hr.footer { @@ -566,14 +920,14 @@ table.memberdecls { } .memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; + background-color: var(--glow-color); + box-shadow: 0 0 15px var(--glow-color); } .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; + background-color: var(--memdecl-background-color); border: none; margin: 4px; padding: 1px 0 0 8px; @@ -581,11 +935,11 @@ table.memberdecls { .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; - color: #555; + color: var(--memdecl-foreground-color); } .memSeparator { - border-bottom: 1px solid #DEE4F0; + border-bottom: 1px solid var(--memdecl-separator-color); line-height: 1px; margin: 0px; padding: 0px; @@ -600,7 +954,7 @@ table.memberdecls { } .memTemplParams { - color: #4665A2; + color: var(--memdecl-template-color); white-space: nowrap; font-size: 80%; } @@ -613,15 +967,15 @@ table.memberdecls { .memtitle { padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); border-top-right-radius: 4px; border-top-left-radius: 4px; margin-bottom: -1px; - background-image: url('nav_f.png'); + background-image: var(--memdef-title-gradient-image); background-repeat: repeat-x; - background-color: #E2E8F2; + background-color: var(--memdef-title-background-color); line-height: 1.25; font-weight: 300; float:left; @@ -636,20 +990,11 @@ table.memberdecls { .memtemplate { font-size: 80%; - color: #4665A2; + color: var(--memdef-template-color); font-weight: normal; margin-left: 9px; } -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - .mempage { width: 100%; } @@ -668,7 +1013,7 @@ table.memberdecls { } .memitem.glow { - box-shadow: 0 0 15px cyan; + box-shadow: 0 0 15px var(--glow-color); } .memname { @@ -681,41 +1026,32 @@ table.memberdecls { } .memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); padding: 6px 0px 6px 0px; - color: #253555; + color: var(--memdef-proto-text-color); font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; - /* opera specific markup */ + text-shadow: var(--memdef-proto-text-shadow); + background-color: var(--memdef-proto-background-color); box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - } .overload { - font-family: "courier new",courier,monospace; + font-family: var(--font-family-monospace); font-size: 65%; } .memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-bottom: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); padding: 6px 10px 2px 10px; - background-color: #FBFCFD; border-top-width: 0; background-image:url('nav_g.png'); background-repeat:repeat-x; - background-color: #FFFFFF; + background-color: var(--memdef-doc-background-color); /* opera specific markup */ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; @@ -748,7 +1084,7 @@ dl.reflist dd { } .paramname { - color: #602020; + color: var(--memdef-param-name-color); white-space: nowrap; } .paramname em { @@ -761,20 +1097,20 @@ dl.reflist dd { .params, .retval, .exception, .tparams { margin-left: 0px; padding-left: 0px; -} +} .params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { font-weight: bold; vertical-align: top; } - + .params .paramtype, .tparams .paramtype { font-style: italic; vertical-align: top; -} - +} + .params .paramdir, .tparams .paramdir { - font-family: "courier new",courier,monospace; + font-family: var(--font-family-monospace); vertical-align: top; } @@ -798,13 +1134,13 @@ span.mlabels { } span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; + background-color: var(--label-background-color); + border-top:1px solid var(--label-left-top-border-color); + border-left:1px solid var(--label-left-top-border-color); + border-right:1px solid var(--label-right-bottom-border-color); + border-bottom:1px solid var(--label-right-bottom-border-color); text-shadow: none; - color: white; + color: var(--label-foreground-color); margin-right: 4px; padding: 2px 3px; border-radius: 3px; @@ -821,8 +1157,8 @@ span.mlabel { div.directory { margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; + border-top: 1px solid var(--directory-separator-color); + border-bottom: 1px solid var(--directory-separator-color); width: 100%; } @@ -858,9 +1194,14 @@ div.directory { border-left: 1px solid rgba(0,0,0,0.05); } +.directory tr.odd { + padding-left: 6px; + background-color: var(--index-odd-item-bg-color); +} + .directory tr.even { padding-left: 6px; - background-color: #F7F8FB; + background-color: var(--index-even-item-bg-color); } .directory img { @@ -878,11 +1219,11 @@ div.directory { cursor: pointer; padding-left: 2px; padding-right: 2px; - color: #3D578C; + color: var(--page-link-color); } .arrow { - color: #9CAFD4; + color: var(--nav-arrow-color); -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; @@ -896,14 +1237,15 @@ div.directory { } .icon { - font-family: Arial, Helvetica; + font-family: var(--font-family-icon); + line-height: normal; font-weight: bold; font-size: 12px; height: 14px; width: 16px; display: inline-block; - background-color: #728DC1; - color: white; + background-color: var(--icon-background-color); + color: var(--icon-foreground-color); text-align: center; border-radius: 4px; margin-left: 2px; @@ -920,8 +1262,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; + background-image:var(--icon-folder-open-image); background-repeat: repeat-y; vertical-align:top; display: inline-block; @@ -931,8 +1272,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; + background-image:var(--icon-folder-closed-image); background-repeat: repeat-y; vertical-align:top; display: inline-block; @@ -942,17 +1282,13 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('doc.png'); + background-image:var(--icon-doc-image); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; display: inline-block; } -table.directory { - font: 400 14px Roboto,sans-serif; -} - /* @end */ div.dynheader { @@ -967,7 +1303,7 @@ div.dynheader { address { font-style: normal; - color: #2A3D61; + color: var(--footer-foreground-color); } table.doxtable caption { @@ -981,28 +1317,23 @@ table.doxtable { } table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; + border: 1px solid var(--table-cell-border-color); padding: 3px 7px 2px; } table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-size: 110%; padding-bottom: 4px; padding-top: 5px; } table.fieldtable { - /*width: 100%;*/ margin-bottom: 10px; - border: 1px solid #A8B8D9; + border: 1px solid var(--memdef-border-color); border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); } @@ -1012,8 +1343,8 @@ table.fieldtable { .fieldtable td.fieldtype, .fieldtable td.fieldname { white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; + border-right: 1px solid var(--memdef-border-color); + border-bottom: 1px solid var(--memdef-border-color); vertical-align: top; } @@ -1022,14 +1353,13 @@ table.fieldtable { } .fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ + border-bottom: 1px solid var(--memdef-border-color); } .fieldtable td.fielddoc p:first-child { margin-top: 0px; -} - +} + .fieldtable td.fielddoc p:last-child { margin-bottom: 2px; } @@ -1039,22 +1369,18 @@ table.fieldtable { } .fieldtable th { - background-image:url('nav_f.png'); + background-image: var(--memdef-title-gradient-image); background-repeat:repeat-x; - background-color: #E2E8F2; + background-color: var(--memdef-title-background-color); font-size: 90%; - color: #253555; + color: var(--memdef-proto-text-color); padding-bottom: 4px; padding-top: 5px; text-align:left; font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; + border-bottom: 1px solid var(--memdef-border-color); } @@ -1062,7 +1388,7 @@ table.fieldtable { top: 0px; left: 10px; height: 36px; - background-image: url('tab_b.png'); + background-image: var(--nav-gradient-image); z-index: 101; overflow: hidden; font-size: 13px; @@ -1071,13 +1397,13 @@ table.fieldtable { .navpath ul { font-size: 11px; - background-image:url('tab_b.png'); + background-image: var(--nav-gradient-image); background-repeat:repeat-x; background-position: 0 -5px; height:30px; line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; + color:var(--nav-text-normal-color); + border:solid 1px var(--nav-breadcrumb-border-color); overflow:hidden; margin:0px; padding:0px; @@ -1089,10 +1415,10 @@ table.fieldtable { float:left; padding-left:10px; padding-right:15px; - background-image:url('bc_s.png'); + background-image:var(--nav-breadcrumb-image); background-repeat:no-repeat; background-position:right; - color:#364D7C; + color: var(--nav-foreground-color); } .navpath li.navelem a @@ -1101,15 +1427,16 @@ table.fieldtable { display:block; text-decoration: none; outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; + color: var(--nav-text-normal-color); + font-family: var(--font-family-nav); + text-shadow: var(--nav-text-normal-shadow); + text-decoration: none; } .navpath li.navelem a:hover { - color:#6884BD; + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); } .navpath li.footer @@ -1121,7 +1448,7 @@ table.fieldtable { background-image:none; background-repeat:no-repeat; background-position:right; - color:#364D7C; + color: var(--footer-foreground-color); font-size: 8pt; } @@ -1133,7 +1460,7 @@ div.summary padding-right: 5px; width: 50%; text-align: right; -} +} div.summary a { @@ -1148,7 +1475,7 @@ table.classindex margin-right: 3%; width: 94%; border: 0; - border-spacing: 0; + border-spacing: 0; padding: 0; } @@ -1166,11 +1493,11 @@ div.ingroups a div.header { - background-image:url('nav_h.png'); + background-image: var(--header-gradient-image); background-repeat:repeat-x; - background-color: #F9FAFC; + background-color: var(--header-background-color); margin: 0px; - border-bottom: 1px solid #C4CFE5; + border-bottom: 1px solid var(--header-separator-color); } div.headertitle @@ -1193,11 +1520,6 @@ dl.section { padding-left: 0px; } -dl.section.DocNodeRTL { - margin-right: 0px; - padding-right: 0px; -} - dl.note { margin-left: -7px; padding-left: 3px; @@ -1205,16 +1527,6 @@ dl.note { border-color: #D0C000; } -dl.note.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #D0C000; -} - dl.warning, dl.attention { margin-left: -7px; padding-left: 3px; @@ -1222,16 +1534,6 @@ dl.warning, dl.attention { border-color: #FF0000; } -dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #FF0000; -} - dl.pre, dl.post, dl.invariant { margin-left: -7px; padding-left: 3px; @@ -1239,16 +1541,6 @@ dl.pre, dl.post, dl.invariant { border-color: #00D000; } -dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00D000; -} - dl.deprecated { margin-left: -7px; padding-left: 3px; @@ -1256,16 +1548,6 @@ dl.deprecated { border-color: #505050; } -dl.deprecated.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #505050; -} - dl.todo { margin-left: -7px; padding-left: 3px; @@ -1273,16 +1555,6 @@ dl.todo { border-color: #00C0E0; } -dl.todo.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00C0E0; -} - dl.test { margin-left: -7px; padding-left: 3px; @@ -1290,16 +1562,6 @@ dl.test { border-color: #3030E0; } -dl.test.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #3030E0; -} - dl.bug { margin-left: -7px; padding-left: 3px; @@ -1307,21 +1569,16 @@ dl.bug { border-color: #C08050; } -dl.bug.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #C08050; -} - dl.section dd { margin-bottom: 6px; } +#projectrow +{ + height: 56px; +} + #projectlogo { text-align: center; @@ -1337,25 +1594,29 @@ dl.section dd { #projectalign { vertical-align: middle; + padding-left: 0.5em; } #projectname { - font: 300% Tahoma, Arial,sans-serif; + font-size: 200%; + font-family: var(--font-family-title); margin: 0px; padding: 2px 0px; } - + #projectbrief { - font: 120% Tahoma, Arial,sans-serif; + font-size: 90%; + font-family: var(--font-family-title); margin: 0px; padding: 0px; } #projectnumber { - font: 50% Tahoma, Arial,sans-serif; + font-size: 50%; + font-family: 50% var(--font-family-title); margin: 0px; padding: 0px; } @@ -1365,7 +1626,8 @@ dl.section dd { padding: 0px; margin: 0px; width: 100%; - border-bottom: 1px solid #5373B4; + border-bottom: 1px solid var(--title-separator-color); + background-color: var(--title-background-color); } .image @@ -1398,17 +1660,12 @@ dl.section dd { font-weight: bold; } -div.zoom -{ - border: 1px solid #90A5CE; -} - dl.citelist { margin-bottom:50px; } dl.citelist dt { - color:#334975; + color:var(--citation-label-color); float:left; font-weight:bold; margin-right:10px; @@ -1424,8 +1681,8 @@ dl.citelist dd { div.toc { padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; + background-color: var(--toc-background-color); + border: 1px solid var(--toc-border-color); border-radius: 7px 7px 7px 7px; float: right; height: auto; @@ -1433,28 +1690,17 @@ div.toc { width: 200px; } -.PageDocRTL-title div.toc { - float: left !important; - text-align: right; -} - div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; + font: 10px/1.2 var(--font-family-toc); margin-top: 5px; padding-left: 10px; padding-top: 2px; } -.PageDocRTL-title div.toc li { - background-position-x: right !important; - padding-left: 0 !important; - padding-right: 10px; -} - div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; + font: bold 12px/1.2 var(--font-family-toc); + color: var(--toc-header-color); border-bottom: 0 none; margin: 0; } @@ -1463,7 +1709,7 @@ div.toc ul { list-style: none outside none; border: medium none; padding: 0px; -} +} div.toc li.level1 { margin-left: 0px; @@ -1474,11 +1720,11 @@ div.toc li.level2 { } div.toc li.level3 { - margin-left: 30px; + margin-left: 15px; } div.toc li.level4 { - margin-left: 45px; + margin-left: 15px; } span.emoji { @@ -1487,29 +1733,13 @@ span.emoji { */ } -.PageDocRTL-title div.toc li.level1 { - margin-left: 0 !important; - margin-right: 0; -} - -.PageDocRTL-title div.toc li.level2 { - margin-left: 0 !important; - margin-right: 15px; -} - -.PageDocRTL-title div.toc li.level3 { - margin-left: 0 !important; - margin-right: 30px; -} - -.PageDocRTL-title div.toc li.level4 { - margin-left: 0 !important; - margin-right: 45px; +span.obfuscator { + display: none; } .inherit_header { font-weight: bold; - color: gray; + color: var(--inherit-header-color); cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; @@ -1541,11 +1771,12 @@ tr.heading h2 { #powerTip { cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; + /*white-space: nowrap;*/ + color: var(--tooltip-foreground-color); + background-color: var(--tooltip-background-color); + border: 1px solid var(--tooltip-border-color); border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; + box-shadow: var(--tooltip-shadow); display: none; font-size: smaller; max-width: 80%; @@ -1556,7 +1787,7 @@ tr.heading h2 { } #powerTip div.ttdoc { - color: grey; + color: var(--tooltip-doc-color); font-style: italic; } @@ -1564,18 +1795,24 @@ tr.heading h2 { font-weight: bold; } +#powerTip a { + color: var(--tooltip-link-color); +} + #powerTip div.ttname { font-weight: bold; } #powerTip div.ttdeci { - color: #006318; + color: var(--tooltip-declaration-color); } #powerTip div { margin: 0px; padding: 0px; - font: 12px/16px Roboto,sans-serif; + font-size: 12px; + font-family: var(--font-family-tooltip); + line-height: 16px; } #powerTip:before, #powerTip:after { @@ -1620,12 +1857,12 @@ tr.heading h2 { } #powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #FFFFFF; + border-top-color: var(--tooltip-background-color); border-width: 10px; margin: 0px -10px; } -#powerTip.n:before { - border-top-color: #808080; +#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { + border-top-color: var(--tooltip-border-color); border-width: 11px; margin: 0px -11px; } @@ -1648,13 +1885,13 @@ tr.heading h2 { } #powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #FFFFFF; + border-bottom-color: var(--tooltip-background-color); border-width: 10px; margin: 0px -10px; } #powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; + border-bottom-color: var(--tooltip-border-color); border-width: 11px; margin: 0px -11px; } @@ -1675,13 +1912,13 @@ tr.heading h2 { left: 100%; } #powerTip.e:after { - border-left-color: #FFFFFF; + border-left-color: var(--tooltip-border-color); border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.e:before { - border-left-color: #808080; + border-left-color: var(--tooltip-border-color); border-width: 11px; top: 50%; margin-top: -11px; @@ -1691,13 +1928,13 @@ tr.heading h2 { right: 100%; } #powerTip.w:after { - border-right-color: #FFFFFF; + border-right-color: var(--tooltip-border-color); border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.w:before { - border-right-color: #808080; + border-right-color: var(--tooltip-border-color); border-width: 11px; top: 50%; margin-top: -11px; @@ -1731,7 +1968,7 @@ table.markdownTable { } table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; + border: 1px solid var(--table-cell-border-color); padding: 3px 7px 2px; } @@ -1739,8 +1976,8 @@ table.markdownTable tr { } th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-size: 110%; padding-bottom: 4px; padding-top: 5px; @@ -1758,36 +1995,51 @@ th.markdownTableHeadCenter, td.markdownTableBodyCenter { text-align: center } -.DocNodeRTL { - text-align: right; - direction: rtl; +tt, code, kbd, samp +{ + display: inline-block; } +/* @end */ -.DocNodeLTR { - text-align: left; - direction: ltr; +u { + text-decoration: underline; } -table.DocNodeRTL { - width: auto; - margin-right: 0; - margin-left: auto; +details>summary { + list-style-type: none; } -table.DocNodeLTR { - width: auto; - margin-right: auto; - margin-left: 0; +details > summary::-webkit-details-marker { + display: none; } -tt, code, kbd, samp -{ - display: inline-block; - direction:ltr; +details>summary::before { + content: "\25ba"; + padding-right:4px; + font-size: 80%; } -/* @end */ -u { - text-decoration: underline; +details[open]>summary::before { + content: "\25bc"; + padding-right:4px; + font-size: 80%; +} + +body { + scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-background-color); +} + +::-webkit-scrollbar { + background-color: var(--scrollbar-background-color); + height: 12px; + width: 12px; +} +::-webkit-scrollbar-thumb { + border-radius: 6px; + box-shadow: inset 0 0 12px 12px var(--scrollbar-thumb-color); + border: solid 2px transparent; +} +::-webkit-scrollbar-corner { + background-color: var(--scrollbar-background-color); } diff --git a/doxygen.svg b/doxygen.svg index d42dad5..79a7635 100644 --- a/doxygen.svg +++ b/doxygen.svg @@ -1,4 +1,6 @@ + @@ -17,7 +19,7 @@ - + diff --git a/dynsections.js b/dynsections.js index 3174bd7..b73c828 100644 --- a/dynsections.js +++ b/dynsections.js @@ -47,6 +47,8 @@ function updateStripes() { $('table.directory tr'). removeClass('even').filter(':visible:even').addClass('even'); + $('table.directory tr'). + removeClass('odd').filter(':visible:odd').addClass('odd'); } function toggleLevel(level) @@ -118,4 +120,73 @@ function toggleInherit(id) $(img).attr('src',src.substring(0,src.length-10)+'open.png'); } } + +var opened=true; +// in case HTML_COLORSTYLE is LIGHT or DARK the vars will be replaced, so we write them out explicitly and use double quotes +var plusImg = [ "var(--fold-plus-image)", "var(--fold-plus-image-relpath)" ]; +var minusImg = [ "var(--fold-minus-image)", "var(--fold-minus-image-relpath)" ]; + +// toggle all folding blocks +function codefold_toggle_all(relPath) { + if (opened) { + $('#fold_all').css('background-image',plusImg[relPath]); + $('div[id^=foldopen]').hide(); + $('div[id^=foldclosed]').show(); + } else { + $('#fold_all').css('background-image',minusImg[relPath]); + $('div[id^=foldopen]').show(); + $('div[id^=foldclosed]').hide(); + } + opened=!opened; +} + +// toggle single folding block +function codefold_toggle(id) { + $('#foldopen'+id).toggle(); + $('#foldclosed'+id).toggle(); +} +function init_codefold(relPath) { + $('span[class=lineno]').css( + {'padding-right':'4px', + 'margin-right':'2px', + 'display':'inline-block', + 'width':'54px', + 'background':'linear-gradient(var(--fold-line-color),var(--fold-line-color)) no-repeat 46px/2px 100%' + }); + // add global toggle to first line + $('span[class=lineno]:first').append(''); + // add vertical lines to other rows + $('span[class=lineno]').not(':eq(0)').append(''); + // add toggle controls to lines with fold divs + $('div[class=foldopen]').each(function() { + // extract specific id to use + var id = $(this).attr('id').replace('foldopen',''); + // extract start and end foldable fragment attributes + var start = $(this).attr('data-start'); + var end = $(this).attr('data-end'); + // replace normal fold span with controls for the first line of a foldable fragment + $(this).find('span[class=fold]:first').replaceWith(''); + // append div for folded (closed) representation + $(this).after(''); + // extract the first line from the "open" section to represent closed content + var line = $(this).children().first().clone(); + // remove any glow that might still be active on the original line + $(line).removeClass('glow'); + if (start) { + // if line already ends with a start marker (e.g. trailing {), remove it + $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); + } + // replace minus with plus symbol + $(line).find('span[class=fold]').css('background-image',plusImg[relPath]); + // append ellipsis + $(line).append(' '+start+''+end); + // insert constructed line into closed div + $('#foldclosed'+id).html(line); + }); +} + /* @license-end */ diff --git a/files.html b/files.html index 09d2468..f7edc52 100644 --- a/files.html +++ b/files.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: File List @@ -16,10 +16,9 @@
    - - + @@ -27,40 +26,42 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    File List
    +
    File List
    Here is a list of all documented files with brief descriptions:
    - - - - - - - - - - - +
    [detail level 123]
     Debayer.h
     DeviceBase.h
     DeviceThreads.h
     DeviceUtils.h
     ImageMetadata.h
     ImgBuffer.h
     MMDevice.h
     MMDeviceConstants.h
     ModuleInterface.h
     Property.h
    + + + + + + + + + + + +
      mmCoreAndDevices
      MMDevice
     Debayer.h
     DeviceBase.h
     DeviceThreads.h
     DeviceUtils.h
     ImageMetadata.h
     ImgBuffer.h
     MMDevice.h
     MMDeviceConstants.h
     ModuleInterface.h
     Property.h
    diff --git a/folderclosed.png b/folderclosed.png deleted file mode 100644 index bb8ab35edce8e97554e360005ee9fc5bffb36e66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000 + + + + + + + + + diff --git a/folderclosedd.svg b/folderclosedd.svg new file mode 100644 index 0000000..52f0166 --- /dev/null +++ b/folderclosedd.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/folderopen.png b/folderopen.png deleted file mode 100644 index d6c7f676a3b3ef8c2c307d319dff3c6a604eb227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 597 zcmV-b0;>IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA diff --git a/folderopen.svg b/folderopen.svg new file mode 100644 index 0000000..f6896dd --- /dev/null +++ b/folderopen.svg @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/folderopend.svg b/folderopend.svg new file mode 100644 index 0000000..2d1f06e --- /dev/null +++ b/folderopend.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/functions.html b/functions.html index c82c580..9dda6ec 100644 --- a/functions.html +++ b/functions.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,59 +26,37 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - a -

    diff --git a/functions_c.html b/functions_c.html index fac91cc..9cb64dd 100644 --- a/functions_c.html +++ b/functions_c.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,77 +26,43 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - c -

    diff --git a/functions_d.html b/functions_d.html index 8c19d55..075626f 100644 --- a/functions_d.html +++ b/functions_d.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,36 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - d -

    diff --git a/functions_e.html b/functions_e.html index 7c02612..fb57d6e 100644 --- a/functions_e.html +++ b/functions_e.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - e -

    diff --git a/functions_f.html b/functions_f.html index 0f7fd64..3da002b 100644 --- a/functions_f.html +++ b/functions_f.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - f -

    diff --git a/functions_func.html b/functions_func.html index 6188ecf..ed1e674 100644 --- a/functions_func.html +++ b/functions_func.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,59 +26,37 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - a -

    diff --git a/functions_func_c.html b/functions_func_c.html index 88f7d56..8c86a5c 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,77 +26,43 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - c -

    diff --git a/functions_func_d.html b/functions_func_d.html index 81c03ba..491fc33 100644 --- a/functions_func_d.html +++ b/functions_func_d.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,36 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - d -

    diff --git a/functions_func_e.html b/functions_func_e.html index 7039a1e..f942886 100644 --- a/functions_func_e.html +++ b/functions_func_e.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - e -

    diff --git a/functions_func_f.html b/functions_func_f.html index 3f0c4b6..a819935 100644 --- a/functions_func_f.html +++ b/functions_func_f.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - f -

    diff --git a/functions_func_g.html b/functions_func_g.html index c06f818..44e52f5 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,228 +26,88 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - g -

    diff --git a/functions_func_h.html b/functions_func_h.html index f30d101..6fc20ef 100644 --- a/functions_func_h.html +++ b/functions_func_h.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - h -

    diff --git a/functions_func_i.html b/functions_func_i.html index ed7235f..175014b 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,67 +26,40 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - i -

    diff --git a/functions_func_l.html b/functions_func_l.html index 23d9ef3..4039bbc 100644 --- a/functions_func_l.html +++ b/functions_func_l.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,39 +26,31 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - l -

    diff --git a/functions_func_m.html b/functions_func_m.html index 0f5574a..fb781a7 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - m -

    diff --git a/functions_func_n.html b/functions_func_n.html index d613172..26e18f6 100644 --- a/functions_func_n.html +++ b/functions_func_n.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - n -

    diff --git a/functions_func_o.html b/functions_func_o.html index ce502fa..a2930ee 100644 --- a/functions_func_o.html +++ b/functions_func_o.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,54 +26,36 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - o -

    diff --git a/functions_func_p.html b/functions_func_p.html index c74f3da..a1dbf55 100644 --- a/functions_func_p.html +++ b/functions_func_p.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,36 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - p -

    diff --git a/functions_func_r.html b/functions_func_r.html index e559d18..7446e52 100644 --- a/functions_func_r.html +++ b/functions_func_r.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,39 +26,31 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - r -

    diff --git a/functions_func_s.html b/functions_func_s.html index 8816856..30fcdda 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,175 +26,73 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - s -

    diff --git a/functions_func_t.html b/functions_func_t.html index a662ae3..74acdde 100644 --- a/functions_func_t.html +++ b/functions_func_t.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,37 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - t -

    diff --git a/functions_func_u.html b/functions_func_u.html index db5077f..b03388b 100644 --- a/functions_func_u.html +++ b/functions_func_u.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,35 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - u -

    diff --git a/functions_func_w.html b/functions_func_w.html index d239157..5fb979c 100644 --- a/functions_func_w.html +++ b/functions_func_w.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members - Functions @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - w -

    diff --git a/functions_g.html b/functions_g.html index 0ecbda3..f52975c 100644 --- a/functions_g.html +++ b/functions_g.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,228 +26,88 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - g -

    diff --git a/functions_h.html b/functions_h.html index 3f256a6..d5cf36f 100644 --- a/functions_h.html +++ b/functions_h.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - h -

    diff --git a/functions_i.html b/functions_i.html index d55d3a5..f6b25e6 100644 --- a/functions_i.html +++ b/functions_i.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,67 +26,40 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - i -

    diff --git a/functions_l.html b/functions_l.html index 25b2247..04e553c 100644 --- a/functions_l.html +++ b/functions_l.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,39 +26,31 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - l -

    diff --git a/functions_m.html b/functions_m.html index 14019b6..b3c1e23 100644 --- a/functions_m.html +++ b/functions_m.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - m -

    diff --git a/functions_n.html b/functions_n.html index 4c981dd..e62bec8 100644 --- a/functions_n.html +++ b/functions_n.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - n -

    diff --git a/functions_o.html b/functions_o.html index 63b9bab..edfd10a 100644 --- a/functions_o.html +++ b/functions_o.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,54 +26,36 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - o -

    diff --git a/functions_p.html b/functions_p.html index aad369f..24ceb8a 100644 --- a/functions_p.html +++ b/functions_p.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,36 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - p -

    diff --git a/functions_r.html b/functions_r.html index a935808..4ea43f2 100644 --- a/functions_r.html +++ b/functions_r.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,39 +26,31 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - r -

    diff --git a/functions_s.html b/functions_s.html index f16a8cd..24553b2 100644 --- a/functions_s.html +++ b/functions_s.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,175 +26,73 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - s -

    diff --git a/functions_t.html b/functions_t.html index 88d041d..b2d029f 100644 --- a/functions_t.html +++ b/functions_t.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,37 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - t -

    diff --git a/functions_u.html b/functions_u.html index 8eef4e3..a462264 100644 --- a/functions_u.html +++ b/functions_u.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,35 +26,30 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - u -

    diff --git a/functions_w.html b/functions_w.html index fc12cf5..4162ac2 100644 --- a/functions_w.html +++ b/functions_w.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Members @@ -16,10 +16,9 @@
    - - + @@ -27,29 +26,28 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - w -

    diff --git a/hierarchy.html b/hierarchy.html index 1d8abd6..90dc682 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Class Hierarchy @@ -16,10 +16,9 @@
    - - + @@ -27,104 +26,104 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    Class Hierarchy
    +
    Class Hierarchy
    This inheritance list is sorted roughly, but not completely, alphabetically:
    [detail level 1234]
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
     CMM::ActionFunctor
     CMM::Action< T >
     CMM::Action< T >
     CMM::ActionEx< T >
     CMM::ActionLambda
     CMM::ActionLambda
     CCCameraBase< U >::CaptureRestartHelper
     CCDeviceBase< MM::Device, U >
     CCDeviceBase< MM::Device, U >
     CCDeviceUtils
     CMM::Core
     CMM::Core
     CDebayer
     CMM::Device
     CMM::Device
     CMM::AutoFocus
     CCDeviceBase< MM::AutoFocus, U >
     CCDeviceBase< MM::AutoFocus, U >
     CCAutoFocusBase< U >
     CMM::Camera
     CMM::Camera
     CCDeviceBase< MM::Camera, U >
     CCCameraBase< U >
     CCCameraBase< U >
     CMM::Galvo
     CCDeviceBase< MM::Galvo, U >
     CCDeviceBase< MM::Galvo, U >
     CCGalvoBase< U >
     CMM::Generic
     CMM::Generic
     CCDeviceBase< MM::Generic, U >
     CCGenericBase< U >
     CCGenericBase< U >
     CMM::Hub
     CCDeviceBase< MM::Hub, U >
     CCDeviceBase< MM::Hub, U >
     CHubBase< U >
     CMM::ImageProcessor
     CMM::ImageProcessor
     CCDeviceBase< MM::ImageProcessor, U >
     CCImageProcessorBase< U >
     CCImageProcessorBase< U >
     CMM::Magnifier
     CCDeviceBase< MM::Magnifier, U >
     CCDeviceBase< MM::Magnifier, U >
     CCMagnifierBase< U >
     CMM::SLM
     CMM::SLM
     CCDeviceBase< MM::SLM, U >
     CCSLMBase< U >
     CCSLMBase< U >
     CMM::Serial
     CCDeviceBase< MM::Serial, U >
     CCDeviceBase< MM::Serial, U >
     CCSerialBase< U >
     CMM::Shutter
     CMM::Shutter
     CCDeviceBase< MM::Shutter, U >
     CCShutterBase< U >
     CCShutterBase< U >
     CMM::SignalIO
     CCDeviceBase< MM::SignalIO, U >
     CCDeviceBase< MM::SignalIO, U >
     CCSignalIOBase< U >
     CMM::Stage
     CMM::Stage
     CCDeviceBase< MM::Stage, U >
     CCStageBase< U >
     CCStageBase< U >
     CMM::State
     CCDeviceBase< MM::State, U >
     CCDeviceBase< MM::State, U >
     CCStateDeviceBase< U >
     CMM::XYStage
     CMM::XYStage
     CCDeviceBase< MM::XYStage, U >
     CCXYStageBase< U >
     CCXYStageBase< U >
     CImgBuffer
     CMetadata
     CMetadata
     CMetadataError
     CMetadataIndexError
     CMetadataIndexError
     CMetadataKeyError
     CMetadataTag
     CMetadataTag
     CMetadataArrayTag
     CMetadataSingleTag
     CMetadataSingleTag
     CMMDeviceThreadBase
     CCCameraBase< U >::BaseSequenceThread
     CCCameraBase< U >::BaseSequenceThread
     CMMThreadGuard
     CMMThreadLock
     CMMThreadLock
     CMM::MMTime
     CMM::PropertyBase
     CMM::PropertyBase
     CMM::Property
     CMM::FloatProperty
     CMM::FloatProperty
     CMM::IntegerProperty
     CMM::StringProperty
     CMM::StringProperty
     CMM::PropertyCollection
     CT
     CT
     CCDeviceBase< T, U >
     CMM::TimeoutMs
     CMM::TimeoutMs
    diff --git a/index.html b/index.html index 6ea4662..e4fff4b 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Main Page @@ -16,10 +16,9 @@
    - - + @@ -27,26 +26,26 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    MMDevice Documentation
    +
    MMDevice Documentation
    diff --git a/jquery.js b/jquery.js index 103c32d..1dffb65 100644 --- a/jquery.js +++ b/jquery.js @@ -1,12 +1,11 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
    "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
    ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
    "),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
    "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element -},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** +!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(y){"use strict";y.ui=y.ui||{};y.ui.version="1.13.2";var n,i=0,h=Array.prototype.hasOwnProperty,a=Array.prototype.slice;y.cleanData=(n=y.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=y._data(i,"events"))&&e.remove&&y(i).triggerHandler("remove");n(t)}),y.widget=function(t,i,e){var s,n,o,h={},a=t.split(".")[0],r=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=y.Widget),Array.isArray(e)&&(e=y.extend.apply(null,[{}].concat(e))),y.expr.pseudos[r.toLowerCase()]=function(t){return!!y.data(t,r)},y[a]=y[a]||{},s=y[a][t],n=y[a][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},y.extend(n,s,{version:e.version,_proto:y.extend({},e),_childConstructors:[]}),(o=new i).options=y.widget.extend({},o.options),y.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}h[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=y.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},h,{constructor:n,namespace:a,widgetName:t,widgetFullName:r}),s?(y.each(s._childConstructors,function(t,e){var i=e.prototype;y.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),y.widget.bridge(t,n),n},y.widget.extend=function(t){for(var e,i,s=a.call(arguments,1),n=0,o=s.length;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=y.widget.extend({},this.options[t]),n=0;n
    "),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n
    ").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0'+ + var url; + var link; + link = data.children[i].url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + } else { + url = relPath+link; + } + result+='
  • '+ data.children[i].text+''+ makeTree(data.children[i],relPath)+'
  • '; } @@ -36,15 +44,92 @@ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { } return result; } - - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + var searchBoxHtml; if (searchEnabled) { if (serverSide) { - $('#main-menu').append('
  • '); + searchBoxHtml='
    '+ + '
    '+ + '
     '+ + ''+ + '
    '+ + '
    '+ + '
    '+ + '
    '; } else { - $('#main-menu').append('
  • '); + searchBoxHtml='
    '+ + ''+ + ' '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
    '; + } + } + + $('#main-nav').before('
    '+ + ''+ + ''+ + '
    '); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBoxHtml) { + $('#main-menu').append('
  • '); + } + var $mainMenuState = $('#main-menu-state'); + var prevWidth = 0; + if ($mainMenuState.length) { + function initResizableIfExists() { + if (typeof initResizable==='function') initResizable(); + } + // animate mobile menu + $mainMenuState.change(function(e) { + var $menu = $('#main-menu'); + var options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = function() { $menu.css('display', 'block') }; + $menu.hide().slideDown(options); + } else { + options['complete'] = function() { $menu.css('display', 'none') }; + $menu.show().slideUp(options); + } + }); + // set default menu visibility + function resetState() { + var $menu = $('#main-menu'); + var $mainMenuState = $('#main-menu-state'); + var newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBoxHtml); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBoxHtml); + $('#searchBoxPos2').show(); + } + if (typeof searchBox!=='undefined') { + searchBox.CloseResultsWindow(); + } + prevWidth = newWidth; + } } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); } $('#main-menu').smartmenus(); } diff --git a/minus.svg b/minus.svg new file mode 100644 index 0000000..f70d0c1 --- /dev/null +++ b/minus.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/minusd.svg b/minusd.svg new file mode 100644 index 0000000..5f8e879 --- /dev/null +++ b/minusd.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/nav_fd.png b/nav_fd.png new file mode 100644 index 0000000000000000000000000000000000000000..032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQU#tajv*C{Z|C~*H7f|XvG1G8 zt7aS*L7xwMeS}!z6R#{C5tIw-s~AJ==F^i}x3XyJseHR@yF& zerFf(Zf;Dd{+(0lDIROL@Sj-Ju2JQ8&-n%4%q?>|^bShc&lR?}7HeMo@BDl5N(aHY Uj$gdr1MOz;boFyt=akR{0D!zeaR2}S literal 0 HcmV?d00001 diff --git a/nav_hd.png b/nav_hd.png new file mode 100644 index 0000000000000000000000000000000000000000..de80f18ad6488b9990303f267a76fdc83f0ffd80 GIT binary patch literal 114 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr8!2~3AUOE6t21`#D$B+ufw|9379#G(63FK{W z5s6W-eg#Jd_@e6*DPn)w;=|1H}Zvm9l6xXXB%>yL=NQU;mg M>FVdQ&MBb@0Bdt1Qvd(} literal 0 HcmV?d00001 diff --git a/pages.html b/pages.html index 9ea5bbd..cb5756f 100644 --- a/pages.html +++ b/pages.html @@ -1,9 +1,9 @@ - + - - + + MMDevice: Related Pages @@ -16,10 +16,9 @@
    - - + @@ -27,20 +26,20 @@
    -
    MMDevice -  70 +
    +
    MMDevice 70
    - + +/* @license-end */ +
    -
    -
    Related Pages
    +
    Related Pages
    Here is a list of all related documentation pages:
    @@ -51,7 +50,7 @@
    diff --git a/plus.svg b/plus.svg new file mode 100644 index 0000000..0752016 --- /dev/null +++ b/plus.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plusd.svg b/plusd.svg new file mode 100644 index 0000000..0c65bfe --- /dev/null +++ b/plusd.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/splitbard.png b/splitbard.png new file mode 100644 index 0000000000000000000000000000000000000000..8367416d757fd7b6dc4272b6432dc75a75abd068 GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@VhhFKy35^fiT zT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb&Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQzjeE= zueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx`J||4O V@QB{^CqU0Kc)I$ztaD0e0svEzbJzd? literal 0 HcmV?d00001 diff --git a/tab_ad.png b/tab_ad.png new file mode 100644 index 0000000000000000000000000000000000000000..e34850acfc24be58da6d2fd1ccc6b29cc84fe34d GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QhuH;jv*C{Z|5d*H3V=pKi{In zd2jxLclDRPylmD}^l7{QOtL{vUjO{-WqItb5sQp2h-99b8^^Scr-=2mblCdZuUm?4 jzOJvgvt3{(cjKLW5(A@0qPS@<&}0TrS3j3^P6y&q2{!U5bk+Tso_B!YCpDh>v z{CM*1U8YvQRyBUHt^Ju0W_sq-?;9@_4equ-bavTs=gk796zopr0EBT&m;e9( literal 0 HcmV?d00001 diff --git a/tab_sd.png b/tab_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..757a565ced4730f85c833fb2547d8e199ae68f19 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qq7(&jv*C{Z|_!fH5o7*c=%9% zcILh!EA=pAQKdx-Cdiev=v{eg{8Ht<{e8_NAN~b=)%W>-WDCE0PyDHGemi$BoXwcK z{>e9^za6*c1ilttWw&V+U;WCPlV9{LdC~Ey%_H(qj`xgfES(4Yz5jSTZfCt`4E$0YRsR*S^mTCR^;V&sxC8{l_Cp7w8-YPgg&ebxsLQ00$vXK>z>% literal 0 HcmV?d00001 diff --git a/tabs.css b/tabs.css index 7d45d36..df7944b 100644 --- a/tabs.css +++ b/tabs.css @@ -1 +1 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0px 1px 1px rgba(255,255,255,0.9);color:#283A5D;outline:none}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283A5D transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a:hover span.sub-arrow{border-color:#fff transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent #fff}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all 0.25s;transition:all 0.25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px, 1px, 1px, 1px)}#main-menu-state:not(:checked)~#main-menu{display:none}#main-menu-state:checked~#main-menu{display:block}@media (min-width: 768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked)~#main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:none}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important;color:var(--nav-menu-foreground-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}}