Function rcg::callCommand

Function Documentation

bool rcg::callCommand(const std::shared_ptr<GenApi::CNodeMapRef> &nodemap, const char *name, bool exception = false)

Calls the given command.

Parameters:
  • nodemap – Initialized nodemap.

  • name – Name of command.

  • exception – True if an error should be signaled via exception instead of a return value.

Returns:

True if value has been changed. False if feature does not exist, has a different datatype or is not writable.