Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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...
 
singleton  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

using PFork = lib::P<Fork>

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


Class Documentation

class lumiera::query::Pred
+ Collaboration diagram for Pred< SYM, SIG >:
class lumiera::query::Resolver
+ Collaboration diagram for Resolver:
singleton lumiera::query::TypeHandlerXX
+ Collaboration diagram for TypeHandlerXX< TY >:

Function Documentation

lumiera::query::LUMIERA_ERROR_DECLARE ( 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.

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().

+ Here is the caller graph for this function:

bool isFakeBypass ( lumiera::QueryKey const &  q)

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

Referenced by LookupPreconfigured< TY, BASE >::try_special_case().

+ Here is the caller graph for this function:

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