Lumiera  0.pre.03
»edit your freedom«
PointOfAdvice Class Reference

#include "common/advice.hpp"

Description

Basic (abstracted) view of an advice collaboration partner, as used internally by the AdviceSystem to manage the participants.

Each PointOfAdvice is characterised by a binding pattern, used to pair up advice::Request and advice::Provision entries. Moreover, each PointOfAdvice can refer to an existing advice solution provided elsewhere in the system. The specific type of advice (and thus the storage requirements) are abstracted away, as is the distinction between Request and Provision.

See also
AdviceSystem
AdviceIndex_test

Definition at line 131 of file advice.hpp.

Public Member Functions

 PointOfAdvice (Binding const &binding)
 
Binding::Matcher getMatcher () const
 
const PointOfAdvicegetSolution () const
 
void setSolution (PointOfAdvice *solution=0)
 

Friends

HashVal hash_value (PointOfAdvice const &entry)
 

Protected Member Functions

void setBindingPattern (Binding const &binding)
 define or re-define the binding, which specifically labels this attachment to the advice system. More...
 

Private Attributes

Binding::Matcher pattern_
 
PointOfAdviceresolution_
 

Member Function Documentation

◆ setBindingPattern()

void setBindingPattern ( Binding const &  binding)
inlineprotected

define or re-define the binding, which specifically labels this attachment to the advice system.

Note
issuing this on an existing connection is equivalent to re-connecting with the new binding.

Definition at line 142 of file advice.hpp.

References steam::mobject::session::query::anonymous_namespace{fake-configrules.cpp}::entry().

Referenced by Request< int >::defineBinding().

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

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