openDAQ
Open data acquisition platform
GenericFolderConfigPtr< InterfaceType > Class Template Reference

Allows write access to folder. More...

Detailed Description

template<typename InterfaceType>
class GenericFolderConfigPtr< InterfaceType >

Allows write access to folder.

Provides methods to add and remove items to the folder.

Public Member Functions

void addItem (const daq::ComponentPtr &item) const
 Adds a component to the folder. More...
 
void removeItem (const daq::ComponentPtr &item) const
 Removes the item from the folder. More...
 
void removeItemWithLocalId (const daq::StringPtr &localId) const
 Removes the item from the folder using local id of the component. More...
 
void clear () const
 Removes all items from the folder.
 

Member Function Documentation

◆ addItem()

void addItem ( const daq::ComponentPtr &  item) const
inline

Adds a component to the folder.

Parameters
itemThe component.

◆ removeItem()

void removeItem ( const daq::ComponentPtr &  item) const
inline

Removes the item from the folder.

Parameters
itemThe item component.

◆ removeItemWithLocalId()

void removeItemWithLocalId ( const daq::StringPtr &  localId) const
inline

Removes the item from the folder using local id of the component.

Parameters
localIdThe local id of the component.