Component Class Reference

Generic component super-class. More...

#include <metadata.h>

Inheritance diagram for Component:

ObjectInterface RefCount IRefCount DMSegment SourceClip TimecodeComponent DMSourceClip List of all members.

Public Member Functions

 Component (std::string BaseType)
 Component (MDOTypePtr BaseType)
 Component (const UL &BaseUL)
 Component (ULPtr &BaseUL)
TrackParent GetParent (void)
 Get the track containing this component.
void SetParent (TrackPtr &NewParent)
 Set the track containing this component.
void SetParent (IRefCount< Track > *NewParent)
 Set the track containing this component.
virtual bool MakeLink (TrackPtr SourceTrack, Int64 StartPosition=0)
 Make a link to a specified track.
virtual bool MakeLink (UMIDPtr LinkUMID, UInt32 LinkTrackID, Int64 StartPosition=0)
 Make a link to a UMID and TrackID.
virtual void SetDuration (Length Duration=-1)
 Set the duration for this Component and update any parent object durations.
virtual ~Component ()
 Allow polymorphic destructors.

Protected Member Functions

 Component (MDObjectPtr BaseObject)
 Protected constructor used to create from an existing MDObject.

Protected Attributes

TrackParent Parent
 Track containing this component.

Detailed Description

Generic component super-class.

Note:
Derived classes MUST NOT be separately derived from RefCount<>


Constructor & Destructor Documentation

Component ( MDObjectPtr  BaseObject  )  [inline, protected]

Protected constructor used to create from an existing MDObject.

Component ( std::string  BaseType  )  [inline]

Component ( MDOTypePtr  BaseType  )  [inline]

Component ( const UL BaseUL  )  [inline]

Component ( ULPtr BaseUL  )  [inline]

virtual ~Component (  )  [inline, virtual]

Allow polymorphic destructors.


Member Function Documentation

TrackParent GetParent ( void   )  [inline]

Get the track containing this component.

void SetParent ( TrackPtr NewParent  )  [inline]

Set the track containing this component.

void SetParent ( IRefCount< Track > *  NewParent  )  [inline]

Set the track containing this component.

virtual bool MakeLink ( TrackPtr  SourceTrack,
Int64  StartPosition = 0 
) [inline, virtual]

Make a link to a specified track.

Note:
This is a stub because some sub-classes of Component can be linked (in various ways, through the same interface)

Reimplemented in SourceClip.

virtual bool MakeLink ( UMIDPtr  LinkUMID,
UInt32  LinkTrackID,
Int64  StartPosition = 0 
) [inline, virtual]

Make a link to a UMID and TrackID.

Note:
This is a stub because some sub-classes of Component can be linked (in various ways, through the same interface)

Reimplemented in SourceClip.

virtual void SetDuration ( Length  Duration = -1  )  [virtual]

Set the duration for this Component and update any parent object durations.

Parameters:
Duration The duration of this Component, -1 or omitted for unknown


Member Data Documentation

TrackParent Parent [protected]

Track containing this component.


The documentation for this class was generated from the following file:
Generated on Mon Apr 2 15:21:01 2007 for MXFLib by  doxygen 1.5.1-p1