fd::multi_timepiece_test_player::State
// In header: <fd/multi_timepiece_test_player.h> struct State { // member classes/structs/unions struct PerSchedule { // public member functions bool operator<(const PerSchedule &) const; PerSchedule & operator=(const PerSchedule &) = delete; // public data members schedule_timepiece & schedule; const std::ptrdiff_t scheduleIdx; const int nInitialReps; const bool beganWithinInterval; schedule_timepoint now; bool inScope; bool(* handle_execution_or_termination; }; // public member functions State(std::reference_wrapper< const multi_timepiece_test_player::final_parameters >, std::reference_wrapper< std::list< schedule_timepiece > >, multi_timepiece_test_player::callback_type &&); State(const State &) = delete; bool force_handler_call() const; bool test_limit_reached() const noexcept; // public static functions static bool handle_task_execution(State &, PerSchedule &); static bool handle_app_action_termination(State &, PerSchedule &); static bool handle_app_action_launch(State &, PerSchedule &); static bool handle_app_uptime_termination(State &, PerSchedule &); static bool handle_app_uptime_launch(State &, PerSchedule &); static bool handle_app_downtime_termination(State &, PerSchedule &); static bool handle_app_downtime_launch(State &, PerSchedule &); // public data members const multi_timepiece_test_player::final_parameters & params; std::list< schedule_timepiece > & schedules; const multi_timepiece_test_player::callback_type f; const scheduling_purpose purpose; const schedule_timepoint testLimitPoint; std::multiset< PerSchedule > ongoing; };
State
public member functionsState(std::reference_wrapper< const multi_timepiece_test_player::final_parameters > params, std::reference_wrapper< std::list< schedule_timepiece > > schedules, multi_timepiece_test_player::callback_type && f);
State(const State &) = delete;
bool force_handler_call() const;
bool test_limit_reached() const noexcept;
State
public static functionsstatic bool handle_task_execution(State & s, PerSchedule & ongoing);
static bool handle_app_action_termination(State & s, PerSchedule & ongoing);
static bool handle_app_action_launch(State & s, PerSchedule & ongoing);
static bool handle_app_uptime_termination(State & s, PerSchedule & ongoing);
static bool handle_app_uptime_launch(State & s, PerSchedule & ongoing);
static bool handle_app_downtime_termination(State & s, PerSchedule & ongoing);
static bool handle_app_downtime_launch(State & s, PerSchedule & ongoing);