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

Description

Test:
documentation of the fundamental usage scenarios envisioned in the Advice concept.

This test will be augmented and completed as the Lumiera application matures.

Todo:
yet more use cases to come.... ////////////////////////////////////////////////////////TICKET #335
See also
advice.hpp
AdviceBasics_test
AdviceConfiguration_test

Definition at line 45 of file advice-situations-test.cpp.

Private Member Functions

void pattern01_justPickAndBeHappy ()
 
void pattern02_pickIfPresent ()
 
void pattern03_installOnlyOnce ()
 
virtual void run (Arg)
 

Member Function Documentation

◆ pattern01_justPickAndBeHappy()

void pattern01_justPickAndBeHappy ( )
inlineprivate
Test:
usage pattern 01: simply consume Advice – irrespective if set explicitly.

Definition at line 60 of file advice-situations-test.cpp.

◆ pattern02_pickIfPresent()

void pattern02_pickIfPresent ( )
inlineprivate
Test:
usage pattern 01: detect if specific advice was given.

Definition at line 76 of file advice-situations-test.cpp.

◆ pattern03_installOnlyOnce()

void pattern03_installOnlyOnce ( )
inlineprivate
Test:
usage pattern 01: .

Definition at line 93 of file advice-situations-test.cpp.

+ Inheritance diagram for AdviceSituations_test:
+ Collaboration diagram for AdviceSituations_test:

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