openDAQ
Open data acquisition platform
+ Collaboration diagram for Folder:

Detailed Description

Functions

 OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE (LIBRARY_FACTORY, Folder, IFolderConfig, IContext *, context, IComponent *, parent, IString *, localId) OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE(LIBRARY_FACTORY
 Creates a folder. More...
 
template<class TInterface = IComponent>
FolderConfigPtr Folder (const ContextPtr &context, const ComponentPtr &parent, const StringPtr &localId)
 Creates a folder. More...
 

Function Documentation

◆ Folder()

FolderConfigPtr Folder ( const ContextPtr context,
const ComponentPtr &  parent,
const StringPtr localId 
)
inline

Creates a folder.

Parameters
contextThe Context. Most often the creating function-block/device passes its own Context to the Folder.
parentThe parent component.
localIdThe local ID of the component.

◆ OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE()

OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE ( LIBRARY_FACTORY  ,
Folder  ,
IFolderConfig  ,
IContext ,
context  ,
IComponent ,
parent  ,
IString ,
localId   
)

Creates a folder.

Parameters
contextThe Context. Most often the creating function-block/device passes its own Context to the Folder.
parentThe parent component.
localIdThe local ID of the component.

Creates a folder with an interface ID that must be implemented by its children.

Parameters
contextThe Context. Most often the creating function-block/device passes its own Context to the Folder.
itemTypeThe ID of interface that child objects of the folder must implement.
parentThe parent component.
localIdThe local ID of the component.