FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
control_base Struct Reference

Base class for providing default implementations for optional interfaces. More...

Classes

struct  exception
 Exception class for control points. More...
 

Public Types

template<auto P, typename... CP>
using cycle = run_impl::cycle< P, CP... >
 A control-flow cycle.
 
template<class... TT>
using list = util::types< TT... >
 Type for specifying control points.
 
template<auto CP>
using meta = run_impl::meta_point< CP >
 A control point for specialization use.
 
template<auto CP>
using point = run_impl::control_point< CP >
 A control point for application use.
 

Detailed Description

Base class for providing default implementations for optional interfaces.

Member Typedef Documentation

◆ point

template<auto CP>
using point = run_impl::control_point<CP>

A control point for application use.

Template Parameters
CPcontrol point enumerator

◆ meta

template<auto CP>
using meta = run_impl::meta_point<CP>

A control point for specialization use.

Template Parameters
CPcontrol point enumerator

◆ cycle

template<auto P, typename... CP>
using cycle = run_impl::cycle<P, CP...>

A control-flow cycle.

Template Parameters
Pof type bool (*)(user_policy&) tested before each iteration, where user_policy inherits from control_base. This provides access to the control policy instance during policy execution.
CPpoint or cycle types

◆ list

template<class... TT>
using list = util::types<TT...>

Type for specifying control points.

Template Parameters
TTpack of point, meta, or cycle