Ardour  9.0-pre0-582-g084a23a80d
Temporal::BBT_Offset Struct Reference

#include <bbt_time.h>

Public Member Functions

 BBT_Offset ()
 
 BBT_Offset (int32_t ba, uint32_t be, uint32_t t)
 
 BBT_Offset (BBT_Time const &bbt)
 
 BBT_Offset (double beats)
 
BBT_Offset operator+ (const BBT_Offset &other) const
 
BBT_Offset operator- () const
 
BBT_Offset operator- (const BBT_Offset &other) const
 
BBT_Offsetoperator+= (const BBT_Offset &other)
 
BBT_Offsetoperator-= (const BBT_Offset &other)
 
BBT_Offsetoperator*= (int factor)
 
BBT_Offsetoperator*= (double factor)
 
BBT_Offsetoperator/= (int factor)
 
BBT_Offsetoperator/= (double factor)
 
bool operator< (const BBT_Offset &other) const
 
bool operator<= (const BBT_Offset &other) const
 
bool operator> (const BBT_Offset &other) const
 
bool operator>= (const BBT_Offset &other) const
 
bool operator== (const BBT_Offset &other) const
 
bool operator!= (const BBT_Offset &other) const
 
 operator bool () const
 
std::string str () const
 

Public Attributes

int32_t bars
 
int32_t beats
 
int32_t ticks
 

Detailed Description

Definition at line 145 of file bbt_time.h.

Constructor & Destructor Documentation

◆ BBT_Offset() [1/4]

Temporal::BBT_Offset::BBT_Offset ( )
inline

Definition at line 156 of file bbt_time.h.

◆ BBT_Offset() [2/4]

Temporal::BBT_Offset::BBT_Offset ( int32_t  ba,
uint32_t  be,
uint32_t  t 
)
inline

Definition at line 157 of file bbt_time.h.

◆ BBT_Offset() [3/4]

Temporal::BBT_Offset::BBT_Offset ( BBT_Time const &  bbt)
inline

Definition at line 158 of file bbt_time.h.

◆ BBT_Offset() [4/4]

Temporal::BBT_Offset::BBT_Offset ( double  beats)
explicit

Member Function Documentation

◆ operator bool()

Temporal::BBT_Offset::operator bool ( ) const
inline

Definition at line 253 of file bbt_time.h.

◆ operator!=()

bool Temporal::BBT_Offset::operator!= ( const BBT_Offset other) const
inline

Definition at line 249 of file bbt_time.h.

◆ operator*=() [1/2]

BBT_Offset& Temporal::BBT_Offset::operator*= ( double  factor)
inline

Definition at line 200 of file bbt_time.h.

◆ operator*=() [2/2]

BBT_Offset& Temporal::BBT_Offset::operator*= ( int  factor)
inline

Definition at line 193 of file bbt_time.h.

◆ operator+()

BBT_Offset Temporal::BBT_Offset::operator+ ( const BBT_Offset other) const
inline

Definition at line 167 of file bbt_time.h.

◆ operator+=()

BBT_Offset& Temporal::BBT_Offset::operator+= ( const BBT_Offset other)
inline

Definition at line 179 of file bbt_time.h.

◆ operator-() [1/2]

BBT_Offset Temporal::BBT_Offset::operator- ( ) const
inline

Definition at line 171 of file bbt_time.h.

◆ operator-() [2/2]

BBT_Offset Temporal::BBT_Offset::operator- ( const BBT_Offset other) const
inline

Definition at line 175 of file bbt_time.h.

◆ operator-=()

BBT_Offset& Temporal::BBT_Offset::operator-= ( const BBT_Offset other)
inline

Definition at line 186 of file bbt_time.h.

◆ operator/=() [1/2]

BBT_Offset& Temporal::BBT_Offset::operator/= ( double  factor)
inline

Definition at line 214 of file bbt_time.h.

◆ operator/=() [2/2]

BBT_Offset& Temporal::BBT_Offset::operator/= ( int  factor)
inline

Definition at line 207 of file bbt_time.h.

◆ operator<()

bool Temporal::BBT_Offset::operator< ( const BBT_Offset other) const
inline

Definition at line 221 of file bbt_time.h.

◆ operator<=()

bool Temporal::BBT_Offset::operator<= ( const BBT_Offset other) const
inline

Definition at line 227 of file bbt_time.h.

◆ operator==()

bool Temporal::BBT_Offset::operator== ( const BBT_Offset other) const
inline

Definition at line 245 of file bbt_time.h.

◆ operator>()

bool Temporal::BBT_Offset::operator> ( const BBT_Offset other) const
inline

Definition at line 233 of file bbt_time.h.

◆ operator>=()

bool Temporal::BBT_Offset::operator>= ( const BBT_Offset other) const
inline

Definition at line 239 of file bbt_time.h.

◆ str()

std::string Temporal::BBT_Offset::str ( ) const
inline

Definition at line 257 of file bbt_time.h.

Member Data Documentation

◆ bars

int32_t Temporal::BBT_Offset::bars

Definition at line 147 of file bbt_time.h.

◆ beats

int32_t Temporal::BBT_Offset::beats

Definition at line 148 of file bbt_time.h.

◆ ticks

int32_t Temporal::BBT_Offset::ticks

Definition at line 149 of file bbt_time.h.


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