Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
TimeQuantisation_test Class Reference

Description

Test:
verify handling of quantised time values.
  • the simple usage, just referring to an predefined grid by name
  • explicitly defining an quantiser
  • converting these quantised values into various timecode formats
  • error detection

Definition at line 50 of file time-quantisation-test.cpp.

Private Member Functions

int random_or_get (Arg arg)
 
virtual void run (Arg arg)
 
void checkSimpleUsage (TimeValue org)
 
void check_theFullStory (TimeValue org)
 
template<class TC >
void showTimeCode (TC timecodeValue)
 
void checkMultipleGrids (TimeValue org)
 
void checkGridBinding (TimeValue org)
 

Member Function Documentation

◆ random_or_get()

int random_or_get ( Arg  arg)
inlineprivate

Definition at line 53 of file time-quantisation-test.cpp.

References lib::rani().

Referenced by TimeQuantisation_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ run()

virtual void run ( Arg  arg)
inlineprivatevirtual
Parameters
argnumber as 1/10sec
Note
using random time 0..100s if no argument given

Definition at line 71 of file time-quantisation-test.cpp.

References TimeQuantisation_test::check_theFullStory(), TimeQuantisation_test::checkGridBinding(), TimeQuantisation_test::checkMultipleGrids(), TimeQuantisation_test::checkSimpleUsage(), and TimeQuantisation_test::random_or_get().

+ Here is the call graph for this function:

◆ checkSimpleUsage()

void checkSimpleUsage ( TimeValue  org)
inlineprivate

Definition at line 84 of file time-quantisation-test.cpp.

References TimeGrid::build().

Referenced by TimeQuantisation_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_theFullStory()

void check_theFullStory ( TimeValue  org)
inlineprivate

Definition at line 99 of file time-quantisation-test.cpp.

References QuTime::formatAs(), TimeQuantisation_test::showTimeCode(), and QuTime::supports().

Referenced by TimeQuantisation_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showTimeCode()

template<class TC >
void showTimeCode ( TC  timecodeValue)
inlineprivate

Definition at line 125 of file time-quantisation-test.cpp.

Referenced by TimeQuantisation_test::check_theFullStory().

+ Here is the caller graph for this function:

◆ checkMultipleGrids()

void checkMultipleGrids ( TimeValue  org)
inlineprivate

Definition at line 135 of file time-quantisation-test.cpp.

References TimeGrid::build(), and FrameRate::NTSC.

Referenced by TimeQuantisation_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkGridBinding()

void checkGridBinding ( TimeValue  org)
inlineprivate

Definition at line 152 of file time-quantisation-test.cpp.

References TimeGrid::build(), QuTime::formatAs(), and VERIFY_ERROR.

Referenced by TimeQuantisation_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for TimeQuantisation_test:
+ Collaboration diagram for TimeQuantisation_test:

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