#include <GenApi/GenApi.h>
#include <GenApi/ChunkAdapter.h>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | rcg |
Functions | |
bool | rcg::callCommand (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception=false) |
Calls the given command. | |
void | rcg::checkFeature (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool igncache=false) |
Checks the value of given feature and throws an exception in case of a mismatch. | |
bool | rcg::getBoolean (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception=false, bool igncache=false) |
Get the value of a boolean feature of the given nodemap. | |
std::shared_ptr < GenApi::CChunkAdapter > | rcg::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 to the given nodemap. | |
std::string | rcg::getComponetOfPart (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const rcg::Buffer *buffer, uint32_t ipart) |
std::string | rcg::getEnum (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception=false) |
Get the value of an enumeration of the given nodemap. | |
std::string | rcg::getEnum (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, std::vector< std::string > &list, bool exception=false) |
Get the current value and list of possible values of an enumeration of the given nodemap. | |
double | rcg::getFloat (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, double *vmin=0, double *vmax=0, bool exception=false, bool igncache=false) |
Get the value of a double feature of the given nodemap. | |
int64_t | rcg::getInteger (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, int64_t *vmin=0, int64_t *vmax=0, bool exception=false, bool igncache=false) |
Get the value of an integer feature of the given nodemap. | |
std::string | rcg::getString (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool exception=false, bool igncache=false) |
Get the value of a feature of the given nodemap. | |
bool | rcg::setBoolean (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, bool value, bool exception=false) |
Set the value of a boolean feature of the given nodemap. | |
bool | rcg::setEnum (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool exception=false) |
Set the value of an enumeration of the given nodemap. | |
bool | rcg::setFloat (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, double value, bool exception=false) |
Set the value of a float feature of the given nodemap. | |
bool | rcg::setInteger (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, int64_t value, bool exception=false) |
Set the value of an integer feature of the given nodemap. | |
bool | rcg::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. | |
bool | rcg::setString (const std::shared_ptr< GenApi::CNodeMapRef > &nodemap, const char *name, const char *value, bool exception=false) |
Set the value of a feature of the given nodemap. |