Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef RC_GENICAM_API_CONFIG
00037 #define RC_GENICAM_API_CONFIG
00038
00039 #include <GenApi/GenApi.h>
00040
00041 #include <memory>
00042 #include <string>
00043 #include <vector>
00044
00045
00046
00047
00048
00049
00050 namespace rcg
00051 {
00052
00065 bool setBoolean(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00066 bool value, bool exception=false);
00067
00080 bool setInteger(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00081 int64_t value, bool exception=false);
00082
00095 bool setIPV4Address(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00096 const char *value, bool exception);
00097
00110 bool setFloat(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00111 double value, bool exception=false);
00112
00125 bool setEnum(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00126 const char *value, bool exception=false);
00127
00143 bool setString(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00144 const char *value, bool exception=false);
00145
00156 bool getBoolean(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00157 bool exception=false);
00158
00174 int64_t getInteger(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00175 int64_t *vmin=0, int64_t *vmax=0, bool exception=false);
00176
00192 double getFloat(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00193 double *vmin=0, double *vmax=0, bool exception=false);
00194
00205 std::string getEnum(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00206 bool exception=false);
00207
00221 std::string getEnum(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00222 std::vector<std::string> &list, bool exception=false);
00223
00237 std::string getString(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00238 bool exception=false);
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250 void checkFeature(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name,
00251 const char *value);
00252
00253 }
00254
00255 #endif