ardour
Public Types | Public Member Functions | Public Attributes | List of all members
ARDOUR::AnyTime Class Reference

#include <types.h>

Inheritance diagram for ARDOUR::AnyTime:
ARDOUR::ExportFormatSpecification::Time

Public Types

enum  Type { Timecode, BBT, Frames, Seconds }
 

Public Member Functions

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

Public Attributes

Type type
 
Timecode::Time timecode
 
Timecode::BBT_Time bbt
 
union {
   framecnt_t   frames
 
   double   seconds
 
}; 
 

Detailed Description

Definition at line 229 of file types.h.

Member Enumeration Documentation

Enumerator
Timecode 
BBT 
Frames 
Seconds 

Definition at line 231 of file types.h.

Constructor & Destructor Documentation

ARDOUR::AnyTime::AnyTime ( )
inline

Definition at line 248 of file types.h.

Member Function Documentation

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

Definition at line 266 of file types.h.

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

Definition at line 250 of file types.h.

Member Data Documentation

union { ... }
Timecode::BBT_Time ARDOUR::AnyTime::bbt

Definition at line 241 of file types.h.

framecnt_t ARDOUR::AnyTime::frames

Definition at line 244 of file types.h.

double ARDOUR::AnyTime::seconds

Definition at line 245 of file types.h.

Timecode::Time ARDOUR::AnyTime::timecode

Definition at line 240 of file types.h.

Type ARDOUR::AnyTime::type

Definition at line 238 of file types.h.


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