Lumiera  0.pre.03
»edityourfreedom«
lumiera::query Namespace Reference

Namespaces

 impl
 
 test
 

Typedefs

using PFork = lib::P< Fork >
 

Classes

class  ConfigRules
 Generic query interface for retrieving objects matching some capability query. More...
 
class  DefsManager
 Organise a collection of preconfigured default objects. More...
 
class  Pred
 
class  QueryHandler
 the "front side" interface: the Proc-Layer code can use this QueryHandler to retrieve instances of the type TY fulfilling the given Query. More...
 
class  Resolver
 
class  TypeHandler
 the "back side" interface towards the classes participating in the configuration system (the config system will be delivering instances of these classes for a given query). More...
 
class  TypeHandlerXX
 Adapter for using this type as a primary type within Lumiera's Proc-Layer. More...
 
struct  TypeHandlerXX< proc::mobject::session::test::DummyEntity >
 Adapter for using mobject::session::test::DummyEntity as a primary type with the TypedID registration service. More...
 

Functions

bool isFakeBypass (lumiera::QueryKey const &q)
 
 LUMIERA_ERROR_DECLARE (CAPABILITY_QUERY)
 unresolvable capability query. More...
 
 LUMIERA_ERROR_DEFINE (CAPABILITY_QUERY, "unresolvable capability query")
 
void setFakeBypass (lumiera::QueryKey const &q)
 backdoor for tests: the next config query with this query string will magically succeed with every candidate object provided. More...
 

Typedef Documentation

◆ PFork

using PFork = lib::P<Fork>

Definition at line 105 of file config-resolver.cpp.


Class Documentation

◆ lumiera::query::Pred

class lumiera::query::Pred
+ Collaboration diagram for Pred< SYM, SIG >:

◆ lumiera::query::Resolver

class lumiera::query::Resolver
+ Collaboration diagram for Resolver:

◆ lumiera::query::TypeHandlerXX

class lumiera::query::TypeHandlerXX
+ Collaboration diagram for TypeHandlerXX< TY >:

Function Documentation

◆ LUMIERA_ERROR_DECLARE()

lumiera::query::LUMIERA_ERROR_DECLARE ( CAPABILITY_QUERY  )

unresolvable capability query.

Referenced by ConfigRules< InterfaceTypes >::~ConfigRules().

+ Here is the caller graph for this function:

◆ setFakeBypass()

void setFakeBypass ( lumiera::QueryKey const &  q)

backdoor for tests: the next config query with this query string will magically succeed with every candidate object provided.

This is currently necessary to get objects into the defaults manager, as the query system is not able to do real query resolution

Definition at line 55 of file config-rules.cpp.

Referenced by DefsManagerImpl_test::define_and_search(), and ConfigRules< InterfaceTypes >::~ConfigRules().

+ Here is the caller graph for this function:

◆ isFakeBypass()

bool isFakeBypass ( lumiera::QueryKey const &  q)

Definition at line 56 of file config-rules.cpp.

Referenced by LookupPreconfigured< TY, BASE >::try_special_case(), and ConfigRules< InterfaceTypes >::~ConfigRules().

+ Here is the caller graph for this function:

◆ LUMIERA_ERROR_DEFINE()

lumiera::query::LUMIERA_ERROR_DEFINE ( CAPABILITY_QUERY  ,
"unresolvable capability query"   
)