ardour
|
#include <TimeConverter.hpp>
Public Member Functions | |
IdentityConverter () | |
B | to (A a) const |
A | from (B b) const |
Public Member Functions inherited from Evoral::TimeConverter< A, B > | |
TimeConverter () | |
TimeConverter (B ob) | |
virtual | ~TimeConverter () |
B | origin_b () const |
void | set_origin_b (B o) |
Additional Inherited Members | |
Protected Attributes inherited from Evoral::TimeConverter< A, B > | |
B | _origin_b |
A stub TimeConverter that simple statically casts between types. _origin_b has no bearing here, as there is no time conversion going on.
Definition at line 68 of file TimeConverter.hpp.
|
inline |
Definition at line 70 of file TimeConverter.hpp.
|
virtual |
Convert B time to A time (A from B)
Implements Evoral::TimeConverter< A, B >.
Definition at line 41 of file TimeConverter.cpp.
|
virtual |
Convert A time to B time (A to B)
Implements Evoral::TimeConverter< A, B >.
Definition at line 34 of file TimeConverter.cpp.