The IMMHourMinSecFrameTime data type class represents the hours-minutes-seconds-frames (HHMMSSFF) time format.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~IMMHourMinSecFrameTime()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IMMHourMinSecFrameTime( unsigned long value = defaultTime, unsigned long framesPerSecond = 1 )
You can construct an IMMHourMinSecFrameTime from the following:
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
IMMHourMinSecFrameTime(const IMMHourMinSecFrameTime& time)
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to parse the time into normal time values, for example, hours, minutes, and seconds.
![]() |
public:
virtual unsigned long frames() const
Returns the frames component of the time.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
unsigned long framesPerSecond() const
Returns the number of frames per second.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual unsigned long hours() const
Returns the hours 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 |
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 (FFSSMMHH):
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 HH:MM:SS.FF.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these ordinal number functions for indicating generic positions. A time
object returns an ordinal number, which represents
the time at some particular granularity. This is useful for something
that allows seeking and displays position, such as a slider. Because sliders
generally do not process time values, you use an ordinal number
to establish the range of slider values. Ordinals numbers can be
mathematically manipulated and converted back to time values, if necessary.
Note:
![]() |
public:
virtual unsigned long ordinal() const
Returns an ordinal number in frames. This is the time converted to the total number of frames based on the number of frames per second.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual IMMTime& setTimeToOrdinal(unsigned long ordinal)
Sets the time object to the value represented by the ordinal number (in frames). This uses the current number of frames-per-second to convert this value.
Windows | OS/2 | AIX |
Yes | Yes | No |
virtual ~IMMTime()
virtual unsigned long asMMTime() 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 thousandths() const
static const unsigned long defaultTime
IMMTime& setMMTime(unsigned long newTime)
IMMTime& setValid(bool Valid = true)