Ardour  8.12
ARDOUR::AnyTime Class Reference

#include <types.h>

Inheritance diagram for ARDOUR::AnyTime:
[legend]

Public Types

enum  Type { Timecode , BBT , Samples , Seconds }
 

Public Member Functions

 AnyTime ()
 
bool operator== (AnyTime const &other) const
 
bool not_zero () const
 

Public Attributes

Type type
 
Timecode::Time timecode
 
Temporal::BBT_Time bbt
 
union {
   samplecnt_t   samples
 
   double   seconds
 
}; 
 

Detailed Description

Definition at line 302 of file ardour/ardour/types.h.

Member Enumeration Documentation

◆ Type

Enumerator
Timecode 
BBT 
Samples 
Seconds 

Definition at line 304 of file ardour/ardour/types.h.

Constructor & Destructor Documentation

◆ AnyTime()

ARDOUR::AnyTime::AnyTime ( )
inline

Definition at line 321 of file ardour/ardour/types.h.

Member Function Documentation

◆ not_zero()

bool ARDOUR::AnyTime::not_zero ( ) const
inline

Definition at line 339 of file ardour/ardour/types.h.

◆ operator==()

bool ARDOUR::AnyTime::operator== ( AnyTime const &  other) const
inline

Definition at line 323 of file ardour/ardour/types.h.

Member Data Documentation

◆ 

union { ... }

◆ bbt

Temporal::BBT_Time ARDOUR::AnyTime::bbt

Definition at line 314 of file ardour/ardour/types.h.

◆ samples

samplecnt_t ARDOUR::AnyTime::samples

Definition at line 317 of file ardour/ardour/types.h.

◆ seconds

double ARDOUR::AnyTime::seconds

Definition at line 318 of file ardour/ardour/types.h.

◆ timecode

Timecode::Time ARDOUR::AnyTime::timecode

Definition at line 313 of file ardour/ardour/types.h.

◆ type

Type ARDOUR::AnyTime::type

Definition at line 311 of file ardour/ardour/types.h.


The documentation for this class was generated from the following file: