Function rcg::allocNodeMap

Function Documentation

std::shared_ptr<GenApi::CNodeMapRef> rcg::allocNodeMap(std::shared_ptr<const GenTLWrapper> gentl, void *port, CPort *cport, const char *xml = 0)

Convenience function that returns a GenICam node map from the given port.

Parameters:
  • gentl – Pointer to GenTL Wrapper.

  • port – Pointer to module or remote port.

  • cport – Pointer to CPort Wrapper.

  • xml – Path and name for storing the received XML file or 0 if xml file should not be stored.

Returns:

Allocated node map object or 0 if it cannot be allocated. The pointer must be freed by the calling function with delete.