Function rs2_context_add_software_device

Function Documentation

void rs2_context_add_software_device(rs2_context *ctx, rs2_device *dev, rs2_error **error)

Add an instance of software device to the context

Parameters:
  • ctx – The context to which the new device will be added

  • dev – Instance of software device to register into the context

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored