Lumiera
0.pre.03
»edit your freedom«
|
#include "common/advice.hpp"
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.
Definition at line 122 of file advice.hpp.
Public Member Functions | |
PointOfAdvice (Binding const &binding) | |
Binding::Matcher | getMatcher () const |
const PointOfAdvice * | getSolution () 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_ |
PointOfAdvice * | resolution_ |
|
inlineprotected |
define or re-define the binding, which specifically labels this attachment to the advice system.
Definition at line 133 of file advice.hpp.
References steam::mobject::session::query::anonymous_namespace{fake-configrules.cpp}::entry().
Referenced by Request< int >::defineBinding().