Lumiera  0.pre.03
»edit your freedom«
FrameNr Class Reference

#include "lib/time/timecode.hpp"

Description

A frame counting timecode value.

This is the hard-coded standard representation of format::Frames, and is defined such as to make FrameNr values interchangeable with integral numbers. Like any concrete TCode subclass, it can be created based on a QuTime value. This way, not only the (raw) TimeValue is provided, but also the (frame)-Grid to base the frame count on. But contrary to a QuTime value, a FrameNr value is materialised (rounded) into a definite integral number, stripping the excess precision contained in the original (raw) TimeValue. As framecount values are implemented as single display field for an integral value (time::Digxel), they allow for simple presentation.

Definition at line 105 of file timecode.hpp.

Public Types

typedef format::Frames Format
 

Public Member Functions

 FrameNr (QuTime const &quantisedTime)
 
- Public Member Functions inherited from TCode
string describe () const
 
Time getTime () const
 
 operator string () const
 
- Public Member Functions inherited from Digxel< NUM, FMT >
template<typename FUN , class THIS >
void installMutator (FUN mutate, THIS &self)
 install an external functor to be applied on any new digxel value. More...
 
size_t maxlen () const
 
 operator NUM () const
 
 operator string () const
 
Digxeloperator++ ()
 
NUM operator++ (int)
 
Digxeloperator+= (NUM inc)
 
Digxeloperator-- ()
 
NUM operator-- (int)
 
Digxeloperator-= (NUM dec)
 
bool operator< (Digxel const &o) const
 
void operator= (NUM n)
 
bool operator== (Digxel const &o) const
 
void setValueRaw (NUM newVal)
 
digxel::CBuf show () const
 

Private Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from TCode
 TCode (PQuant const &quant)
 
- Protected Attributes inherited from TCode
PQuant quantiser_
 
+ Inheritance diagram for FrameNr:
+ Collaboration diagram for FrameNr:

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