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... | |
|
inline |
Creates a folder.
context | The Context. Most often the creating function-block/device passes its own Context to the Folder. |
parent | The parent component. |
localId | The local ID of the component. |
OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE | ( | LIBRARY_FACTORY | , |
Folder | , | ||
IFolderConfig | , | ||
IContext * | , | ||
context | , | ||
IComponent * | , | ||
parent | , | ||
IString * | , | ||
localId | |||
) |
Creates a folder.
context | The Context. Most often the creating function-block/device passes its own Context to the Folder. |
parent | The parent component. |
localId | The local ID of the component. |
Creates a folder with an interface ID that must be implemented by its children.
context | The Context. Most often the creating function-block/device passes its own Context to the Folder. |
itemType | The ID of interface that child objects of the folder must implement. |
parent | The parent component. |
localId | The local ID of the component. |