openDAQ
Open data acquisition platform
+ Collaboration diagram for Factories:

Detailed Description

Functions

 OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE (LIBRARY_FACTORY, VisibleSearchFilter, ISearchFilter) OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE(LIBRARY_FACTORY
 Creates a search filter that accepts only visible components. "Visit children" returns true only if the component being evaluated is visible. More...
 
IList requiredTags OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE (LIBRARY_FACTORY, ExcludedTagsSearchFilter, ISearchFilter, IList *, excludedTags) OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE(LIBRARY_FACTORY
 Creates a search filter that accepts components that do not have any of the excluded tags. "Visit children" always returns true. More...
 
SearchFilterPtr Visible ()
 Creates a search filter that accepts only visible components. "Visit children" returns true only if the component being evaluated is visible.
 
SearchFilterPtr RequireTags (const ListPtr< IString > &requiredTags)
 Creates a search filter that accepts components that have all the required tags. "Visit children" always returns true. More...
 
SearchFilterPtr ExcludeTags (const ListPtr< IString > &excludedTags)
 Creates a search filter that accepts components that do not have any of the excluded tags. "Visit children" always returns true. More...
 
SearchFilterPtr InterfaceId (const IntfID &intfId)
 Creates a search filter that accepts components that implement the interface with the given interface ID. "Visit children" always returns true. More...
 
SearchFilterPtr LocalId (const StringPtr &localId)
 Creates a search filter that accepts components with the specified local ID. "Visit children" always returns true. More...
 

Function Documentation

◆ ExcludeTags()

SearchFilterPtr ExcludeTags ( const ListPtr< IString > &  excludedTags)
inline

Creates a search filter that accepts components that do not have any of the excluded tags. "Visit children" always returns true.

Parameters
excludedTagsA list of strings containing the tags that a component must not have to be accepted.

◆ InterfaceId()

SearchFilterPtr InterfaceId ( const IntfID &  intfId)
inline

Creates a search filter that accepts components that implement the interface with the given interface ID. "Visit children" always returns true.

Parameters
intfIdThe interface ID that should be implemented by accepted components.

◆ LocalId()

SearchFilterPtr LocalId ( const StringPtr localId)
inline

Creates a search filter that accepts components with the specified local ID. "Visit children" always returns true.

Parameters
localIdThe local ID of the accepted components.

◆ OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE() [1/2]

IList requiredTags OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE ( LIBRARY_FACTORY  ,
ExcludedTagsSearchFilter  ,
ISearchFilter  ,
IList ,
excludedTags   
)

Creates a search filter that accepts components that do not have any of the excluded tags. "Visit children" always returns true.

Parameters
excludedTagsA list of strings containing the tags that a component must not have to be accepted.

Creates a search filter that accepts components that implement the interface with the given interface ID. "Visit children" always returns true.

Parameters
intfIdThe interface ID that should be implemented by accepted components.

◆ OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE() [2/2]

OPENDAQ_DECLARE_CLASS_FACTORY_WITH_INTERFACE ( LIBRARY_FACTORY  ,
VisibleSearchFilter  ,
ISearchFilter   
)

Creates a search filter that accepts only visible components. "Visit children" returns true only if the component being evaluated is visible.

Creates a search filter that accepts components that have all the required tags. "Visit children" always returns true.

Parameters
requiredTagsA list of strings containing the tags that a component must have to be accepted.

◆ RequireTags()

SearchFilterPtr RequireTags ( const ListPtr< IString > &  requiredTags)
inline

Creates a search filter that accepts components that have all the required tags. "Visit children" always returns true.

Parameters
requiredTagsA list of strings containing the tags that a component must have to be accepted.