Functions | |
InstanceBuilderPtr | InstanceBuilder () |
Creates a InstanceBuilder with no parameters configured. | |
InstancePtr | InstanceFromBuilder (const InstanceBuilderPtr &builder) |
Creates a Instance with Builder. More... | |
InstancePtr | Instance (const std::string &modulePath="", const std::string &localId="") |
Creates a new Instance, using the default logger and module manager. The module manager searches for module shared libraries at the given module path, using the executable directory if left empty. More... | |
InstancePtr | InstanceCustom (const ContextPtr &context, const StringPtr &localId) |
Creates a new Instance with the provided Context. More... | |
DevicePtr | Client (const ContextPtr &context, const StringPtr &localId, const DeviceInfoPtr &defaultDeviceInfo=nullptr, const ComponentPtr &parent=nullptr) |
Creates a Client implementation of a device. More... | |
|
inline |
Creates a Client implementation of a device.
context | The Context to be used by the client. |
localId | The local id of the instance. |
defaultDeviceInfo | The DeviceInfo to be used by the client device. |
parent | The parent component of the client. |
When creating an Instance, it by default creates a Client and sets it as the root device. The Client supports adding function blocks and connecting to devices. The array of function blocks and supported devices depends on the modules loaded by the Module manager.
|
inline |
Creates a new Instance, using the default logger and module manager. The module manager searches for module shared libraries at the given module path, using the executable directory if left empty.
modulePath | The module search path to be used by the Module manager. |
localId | The local id of the instance. |
If localId is empty, the local id will be set to the OPENDAQ_INSTANCE_ID environment variable if available. Otherwise a random UUID will be generated for the local id.
|
inline |
Creates a new Instance with the provided Context.
context | The Context. |
localId | The instance local id. |
|
inline |
Creates a Instance with Builder.
builder | Instance Builder |