PrevUpHomeNext

Struct parameters

fd::timepiece_test_player::parameters

Synopsis

// In header: <fd/timepiece_test_player.h>



struct parameters {

  // private static functions
  template<bool = true> static scheduling_purpose default_purpose() noexcept;

  // public data members
  scheduling_purpose purpose;
  schedule_timepoint now;
  int nSets;  // How many repetitions the player should cycle through [note: these are not cycles]. 
  bool suppress_contiguously_up_or_down;
};

Description

parameters private static functions

  1. template<bool = true> static scheduling_purpose default_purpose() noexcept;

parameters public public data members

  1. bool suppress_contiguously_up_or_down;

    Whether to suppress calling the launch handler for an uptime timepiece, which is contiguously up, or calling the termination handler for a halt timepiece, which is coniguously down. For testing and logging purposes it can be useful to set this flag false.


PrevUpHomeNext