◆ Evaluator()
Constructs a new Evaluator. Since the Evaluator may be used by multiple threads in parallel, the given logger and IStore must be thread safe.
- Parameters
-
| logger | A logger for recording errors or warnings. |
| source | The flag/segment source. |
| big_segment_store | Non-owning pointer to the Big Segment store wrapper, or nullptr if Big Segments are not configured. If non-null it must outlive the Evaluator and be safe to call from multiple threads. |
◆ Evaluate() [1/2]
Evaluates a flag for a given context. Does not record prerequisite events.
- Parameters
-
| flag | The flag to evaluate. |
| context | The context to evaluate the flag against. |
◆ Evaluate() [2/2]
Evaluates a flag for a given context.
- Parameters
-
| flag | The flag to evaluate. |
| context | The context to evaluate the flag against. |
| stack | The evaluation stack used for detecting circular references. |
| event_scope | The event scope used for recording prerequisite events. |
The documentation for this class was generated from the following files: