Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
QueryDispatcher Class Reference

Description

PImpl of the generic QueryResolver.

Definition at line 65 of file query-resolver.cpp.

Public Member Functions

PReso handle (Goal const &query)
 
- Public Member Functions inherited from MultiFact< SIG, ID, Wrapper >
template<typename... ARGS>
Product operator() (ID const &id, ARGS &&...args)
 Core operation of the factory: Select a production line and invoke the fabrication function.
 
template<typename... ARGS>
Product invokeFactory (ID const &id, ARGS &&...args)
 more legible alias for the function operator
 
template<typename FUNC >
void defineProduction (ID id, FUNC &&fun)
 to set up a production line, associated with a specific ID
 
bool empty () const
 
bool contains (ID id) const
 

Additional Inherited Members

- Public Types inherited from MultiFact< SIG, ID, Wrapper >
using Product = _Conf::WrappedProduct
 
- Protected Types inherited from MultiFact< SIG, ID, Wrapper >
using Creator = _Fab::FactoryFunc
 
- Protected Member Functions inherited from MultiFact< SIG, ID, Wrapper >
CreatorselectProducer (ID const &id)
 

Member Function Documentation

◆ handle()

PReso handle ( Goal const &  query)
inline

Definition at line 71 of file query-resolver.cpp.

References MultiFact< SIG, ID, Wrapper >::contains(), Goal::getQID(), and MultiFact< SIG, ID, Wrapper >::invokeFactory().

+ Here is the call graph for this function:
+ Inheritance diagram for QueryDispatcher:
+ Collaboration diagram for QueryDispatcher:

The documentation for this class was generated from the following file: