Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
HmsTC Class Reference

#include "lib/time/timecode.hpp"

Description

Warning
missing implementation
  • not clear what we need and want
  • because also the use cases for H:M:S are not well defined
  • notable question: do we need/want a milliseconds part?
  • do we even want to go into fractional milliseconds, down to the µ-Grid? Or do we want that to be configurable?

Definition at line 189 of file timecode.hpp.

Public Types

using Format = format::Hms
 

Public Member Functions

 HmsTC (QuTime const &quantisedTime)
 
double getMillis () const
 
int getSecs () const
 
int getMins () const
 
int getHours () const
 
- Public Member Functions inherited from TCode
virtual ~TCode ()
 
 operator string () const
 
string describe () const
 
Time getTime () const
 

Private Member Functions

virtual string show () const
 
virtual Literal tcID () const
 
virtual TimeValue value () const
 

Private Attributes

TimeVar tpoint_
 

Additional Inherited Members

- Protected Member Functions inherited from TCode
 TCode (PQuant const &quant)
 
- Protected Attributes inherited from TCode
PQuant quantiser_
 

Constructor & Destructor Documentation

◆ HmsTC()

HmsTC ( QuTime const &  quantisedTime)

Definition at line 343 of file timecode.cpp.

Member Typedef Documentation

◆ Format

Definition at line 199 of file timecode.hpp.

Member Function Documentation

◆ show()

virtual string show ( ) const
inlineprivatevirtual

Implements TCode.

Definition at line 194 of file timecode.hpp.

References HmsTC::tpoint_.

◆ tcID()

virtual Literal tcID ( ) const
inlineprivatevirtual

Implements TCode.

Definition at line 195 of file timecode.hpp.

◆ value()

virtual TimeValue value ( ) const
inlineprivatevirtual

Implements TCode.

Definition at line 196 of file timecode.hpp.

References HmsTC::tpoint_.

◆ getMillis()

double getMillis ( ) const
Deprecated:
5/25 : no numeric computations in this class! use Digxel instead!

Definition at line 473 of file timecode.cpp.

References HmsTC::tpoint_.

◆ getSecs()

int getSecs ( ) const
Deprecated:
5/25 : no numeric computations in this class! use Digxel instead!

Definition at line 452 of file timecode.cpp.

References HmsTC::tpoint_.

◆ getMins()

int getMins ( ) const
Deprecated:
5/25 : no numeric computations in this class! use Digxel instead!

Definition at line 459 of file timecode.cpp.

References HmsTC::tpoint_.

◆ getHours()

int getHours ( ) const
Deprecated:
5/25 : no numeric computations in this class! use Digxel instead!

Definition at line 466 of file timecode.cpp.

References HmsTC::tpoint_.

Member Data Documentation

◆ tpoint_

TimeVar tpoint_
private
Deprecated:
most definitively we do not want numeric computations here in this object

Definition at line 192 of file timecode.hpp.

Referenced by HmsTC::getHours(), HmsTC::getMillis(), HmsTC::getMins(), HmsTC::getSecs(), HmsTC::show(), and HmsTC::value().

+ Inheritance diagram for HmsTC:
+ Collaboration diagram for HmsTC:

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