CLAM::MediaTime Class Reference

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>

List of all members.

Public Member Functions

 MediaTime ()
 MediaTime (const MediaTime &prototype, const bool shareData=false, const bool deep=true)
 __COMMON_DYNAMIC_TYPE (MediaTime, 3)
 __COMMON_DYN_ATTRIBUTE (0, public, TData, Begin) protected
bool LoadBegin (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (1, public, TData, End) protected
bool LoadEnd (CLAM::Storage &s)
 __COMMON_DYN_ATTRIBUTE (2, public, TData, Duration) protected
bool LoadDuration (CLAM::Storage &s)

Protected Member Functions

void DefaultInit ()
 The concrete dynamic type constructor calls DefaultInit().

Detailed Description

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.


Constructor & Destructor Documentation

CLAM::MediaTime::MediaTime (  )  [inline]

Definition at line 51 of file MediaTime.hxx.

CLAM::MediaTime::MediaTime ( const MediaTime prototype,
const bool  shareData = false,
const bool  deep = true 
) [inline]

Definition at line 51 of file MediaTime.hxx.


Member Function Documentation

CLAM::MediaTime::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Duration   
) [inline]

Definition at line 54 of file MediaTime.hxx.

CLAM::MediaTime::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
End   
) [inline]

Definition at line 53 of file MediaTime.hxx.

CLAM::MediaTime::__COMMON_DYN_ATTRIBUTE ( ,
public  ,
TData  ,
Begin   
) [inline]

Definition at line 52 of file MediaTime.hxx.

CLAM::MediaTime::__COMMON_DYNAMIC_TYPE ( MediaTime  ,
 
)
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().

See also:
CopyInit()

Reimplemented from CLAM::DynamicType.

Definition at line 25 of file MediaTime.cxx.

References CLAM::DynamicType::UpdateData().

bool CLAM::MediaTime::LoadBegin ( CLAM::Storage s  )  [inline]

Definition at line 52 of file MediaTime.hxx.

bool CLAM::MediaTime::LoadDuration ( CLAM::Storage s  )  [inline]

Definition at line 54 of file MediaTime.hxx.

bool CLAM::MediaTime::LoadEnd ( CLAM::Storage s  )  [inline]

Definition at line 53 of file MediaTime.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3