36 #ifndef RC_GENICAM_API_CONFIG 37 #define RC_GENICAM_API_CONFIG 65 bool callCommand(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
66 bool exception=
false);
80 bool setBoolean(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
81 bool value,
bool exception=
false);
95 bool setInteger(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
96 int64_t value,
bool exception=
false);
110 bool setIPV4Address(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
111 const char *value,
bool exception);
125 bool setFloat(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
126 double value,
bool exception=
false);
140 bool setEnum(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
141 const char *value,
bool exception=
false);
158 bool setString(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
159 const char *value,
bool exception=
false);
172 bool getBoolean(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
173 bool exception=
false,
bool igncache=
false);
191 int64_t getInteger(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
192 int64_t *vmin=0,
int64_t *vmax=0,
bool exception=
false,
bool igncache=
false);
210 double getFloat(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
211 double *vmin=0,
double *vmax=0,
bool exception=
false,
bool igncache=
false);
223 std::string
getEnum(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
224 bool exception=
false);
239 std::string
getEnum(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
240 std::vector<std::string> &list,
bool exception=
false);
256 std::string
getString(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
257 bool exception=
false,
bool igncache=
false);
269 void checkFeature(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
const char *name,
270 const char *value,
bool igncache=
false);
288 std::shared_ptr<GenApi::CChunkAdapter>
getChunkAdapter(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
289 const std::string &tltype);
311 std::string
getComponetOfPart(
const std::shared_ptr<GenApi::CNodeMapRef> &nodemap,
312 const Buffer *buffer, uint32_t part);
bool getBoolean(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception, bool igncache)
Get the value of a boolean feature of the given nodemap.
bool setIPV4Address(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool exception)
Set the value of an integer feature of the given nodemap from an IP address.
std::shared_ptr< GenApi::CChunkAdapter > getChunkAdapter(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const std::string &tltype)
Sets ChunkModeActive to 1, creates a chunk adapter for the specified transport layer and attaches it ...
int64_t getInteger(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, int64_t *vmin, int64_t *vmax, bool exception, bool igncache)
Get the value of an integer feature of the given nodemap.
bool setFloat(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, double value, bool exception)
Set the value of a float feature of the given nodemap.
bool setEnum(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool exception)
Set the value of an enumeration of the given nodemap.
void checkFeature(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool igncache)
Checks the value of given feature and throws an exception in case of a mismatch.
std::string getEnum(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception)
Get the value of an enumeration of the given nodemap.
Main include file for using GenApi with smart pointers.
bool setString(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool exception)
Set the value of a feature of the given nodemap.
bool setBoolean(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool value, bool exception)
Set the value of a boolean feature of the given nodemap.
double getFloat(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, double *vmin, double *vmax, bool exception, bool igncache)
Get the value of a double feature of the given nodemap.
bool callCommand(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception)
Calls the given command.
Declaration of the CChunkAdapter class.
bool setInteger(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, int64_t value, bool exception)
Set the value of an integer feature of the given nodemap.
std::string getString(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception, bool igncache)
Get the value of a feature of the given nodemap.
std::string getComponetOfPart(const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const rcg::Buffer *buffer, uint32_t ipart)