CLAM-Development
1.1
|
Media Time type definition * This type propose a flexible way of defining * the temporal location of an audio segment * Types: {begin, end}, {begin, duration} * This type is thought to be used to define * some kind of probability when defining segment* boundaries *. More...
#include <MediaTime.hxx>
Public Member Functions | |
DYNAMIC_TYPE_USING_INTERFACE (MediaTime, 3, ProcessingData) | |
DYN_ATTRIBUTE (0, public, TData, Begin) | |
DYN_ATTRIBUTE (1, public, TData, End) | |
DYN_ATTRIBUTE (2, public, TData, Duration) | |
Protected Member Functions | |
void | DefaultInit () |
The concrete dynamic type constructor calls DefaultInit(). |
Media Time type definition * This type propose a flexible way of defining * the temporal location of an audio segment * Types: {begin, end}, {begin, duration} * This type is thought to be used to define * some kind of probability when defining segment* boundaries *.
Definition at line 48 of file MediaTime.hxx.
void CLAM::MediaTime::DefaultInit | ( | void | ) | [protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 27 of file MediaTime.cxx.
References CLAM::DynamicType::UpdateData().
CLAM::MediaTime::DYN_ATTRIBUTE | ( | 0 | , |
public | , | ||
TData | , | ||
Begin | |||
) |
CLAM::MediaTime::DYN_ATTRIBUTE | ( | 1 | , |
public | , | ||
TData | , | ||
End | |||
) |
CLAM::MediaTime::DYN_ATTRIBUTE | ( | 2 | , |
public | , | ||
TData | , | ||
Duration | |||
) |