openDAQ
Open data acquisition platform
Factories
+ Collaboration diagram for Factories:

Detailed Description

Functions

ContextPtr Context (const SchedulerPtr &scheduler, const LoggerPtr &logger, const TypeManagerPtr &typeManager, const ModuleManagerPtr &moduleManager, const AuthenticationProviderPtr &authenticationProvider=nullptr, const DictPtr< IString, IBaseObject > options=Dict< IString, IBaseObject >(), const DictPtr< IString, IDiscoveryServer > discoveryServers=Dict< IString, IDiscoveryServer >())
 Creates a Context with the given Scheduler, Logger, Property Object Class Manager, and Module Manager. More...
 
ContextPtr NullContext (const LoggerPtr &logger=Logger(), const TypeManagerPtr &typeManager=TypeManager(), const DictPtr< IString, IBaseObject > options=Dict< IString, IBaseObject >())
 Creates a Context with the given logger, type manager and options and all other parameters set to nullptr. More...
 

Function Documentation

◆ Context()

ContextPtr Context ( const SchedulerPtr scheduler,
const LoggerPtr logger,
const TypeManagerPtr typeManager,
const ModuleManagerPtr moduleManager,
const AuthenticationProviderPtr authenticationProvider = nullptr,
const DictPtr< IString, IBaseObject options = Dict<IStringIBaseObject>(),
const DictPtr< IString, IDiscoveryServer >  discoveryServers = Dict<IString, IDiscoveryServer>() 
)
inline

Creates a Context with the given Scheduler, Logger, Property Object Class Manager, and Module Manager.

Parameters
schedulerThe scheduler the context has access to.
loggerThe logger the context has access to.
moduleManagerThe module manager.
typeManagerThe type manager.

◆ NullContext()

ContextPtr NullContext ( const LoggerPtr logger = Logger(),
const TypeManagerPtr typeManager = TypeManager(),
const DictPtr< IString, IBaseObject options = Dict<IStringIBaseObject>() 
)
inline

Creates a Context with the given logger, type manager and options and all other parameters set to nullptr.

Parameters
loggerThe logger the context has access to.
typeManagerThe type manager.