openDAQ
Open data acquisition platform
ContextInternalPtr Class Reference

Internal Context interface used for transferring the Module Manager reference to a new owner. More...

Inherits ObjectPtr< IContextInternal >.

Detailed Description

Internal Context interface used for transferring the Module Manager reference to a new owner.

Public Member Functions

daq::ModuleManagerPtr moveModuleManager () const
 Gets the Module Manager. Moves the strong reference to the manager to the first caller and retains a weak reference internally. More...
 

Member Function Documentation

◆ moveModuleManager()

daq::ModuleManagerPtr moveModuleManager ( ) const
inline

Gets the Module Manager. Moves the strong reference to the manager to the first caller and retains a weak reference internally.

Returns
The module manager.

Returns a nullptr on subsequent invocations, and if the manager is not assigned.