78 uint64_t
depth()
const {
return local_tempo_map_depth; }
90 if (_local_tempo_map) {
92 ++local_tempo_map_depth;
93 if (gtmap->scope_owner() !=
this) {
106 if (local_tempo_map_depth && --local_tempo_map_depth == 0) {
131 #define EC_LOCAL_TEMPO_SCOPE Temporal::TempoMapScope __tms (*this);
132 #define EC_LOCAL_TEMPO_SCOPE_ARG(arg) Temporal::TempoMapScope __tms (arg);
void end_local_tempo_map()
virtual std::string scope_name() const =0
virtual ~ScopedTempoMapOwner()
uint64_t local_tempo_map_depth
std::shared_ptr< Temporal::TempoMap > _local_tempo_map
void start_local_tempo_map(std::shared_ptr< Temporal::TempoMap > map)
static void set(SharedPtr new_map)
std::shared_ptr< TempoMap const > SharedPtr
std::string string_compose(const std::string &fmt, const T1 &o1)
#define DEBUG_TRACE(bits, str)
ScopedTempoMapOwner const & scope
TempoMapScope(ScopedTempoMapOwner const &sco)