The IMMTrackMinSecFrameTime data type class represents the tracks-minutes-seconds-frames (TTMMSSFF) time format. This format is used primarily by compact disc audio devices.
You can construct, copy, and destruct objects of this class.
![]() |
public:
virtual ~IMMTrackMinSecFrameTime()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMTrackMinSecFrameTime( IMMAudioCDContents& contents, unsigned long value )
You can construct an IMMTrackMinSecFrameTime from the following:
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
IMMTrackMinSecFrameTime( IMMAudioCDContents& contents, unsigned long track, unsigned long minutes, unsigned long seconds, unsigned long frames )
You can construct an IMMHourMinSecFrameTime from the following:
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
IMMTrackMinSecFrameTime( const IMMTrackMinSecFrameTime& time )
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMTrackMinSecFrameTime& operator =( const IMMTrackMinSecFrameTime& time )
Sets the time to be equal to the passed-in time.
IInvalidRequest | The passed-in time is invalid. |
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to parse the data into tracks, seconds, minutes, and frames.
![]() |
public:
virtual unsigned long frames() const
Returns the frames component of the time.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual unsigned long minutes() const
Returns the minutes component of the time. This is in the range of 0 to 59.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual unsigned long seconds() const
Returns the seconds component of the time. This is in the range of 0 to 59.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual unsigned long track() const
Returns the track component of the time.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to cast the time to an unsigned long.
![]() |
public:
virtual operator unsigned long() const
Returns the time as an unsigned long in the following format (FFSSMMTT):
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to return the time as a string.
![]() |
public:
virtual IString asString() const
Returns the time value as a string formatted as TT MM:SS.FF.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these operators to perform mathematical operations on time objects.
![]() |
public:
IMMTrackMinSecFrameTime operator +(const IMMTime& time)
Returns the sum of the current set time and the passed-in time.
IInvalidRequest | The passed-in time is invalid or this time object is invalid. |
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMTrackMinSecFrameTime& operator +=(const IMMTime& time)
Adds the time to the current set time.
IInvalidRequest | The passed-in time is invalid or this time object is invalid. |
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMTrackMinSecFrameTime operator -(const IMMTime& time)
Returns the result of the current set time minus the passed-in time.
IInvalidRequest | The passed-in time is invalid or this time object is invalid. |
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMTrackMinSecFrameTime& operator -=(const IMMTime& time)
Subtracts the time from the current set time.
IInvalidRequest | The passed-in time is invalid or this time object is invalid. |
Windows | OS/2 | AIX |
Yes | Yes | No |
virtual ~IMMTime()
virtual unsigned long asMMTime() const
virtual unsigned long hours() const
virtual unsigned long hundredths() const
IMMTime(const IMMTime& time)
IMMTime(unsigned long time = defaultTime)
virtual bool isValid() const
bool operator !=(const IMMTime& time) const
IMMTime operator +(const IMMTime& time) const
IMMTime& operator +=(const IMMTime& time)
IMMTime operator -(const IMMTime& time) const
IMMTime& operator -=(const IMMTime& time)
bool operator <(const IMMTime& time) const
bool operator <=(const IMMTime& time) const
IMMTime& operator =(const IMMTime& time)
bool operator ==(const IMMTime& time) const
bool operator >(const IMMTime& time) const
bool operator >=(const IMMTime& time) const
virtual unsigned long ordinal() const
virtual IMMTime& setTimeToOrdinal(unsigned long ordinal)
virtual unsigned long thousandths() const
static const unsigned long defaultTime
IMMTime& setMMTime(unsigned long newTime)
IMMTime& setValid(bool Valid = true)