#include<ktime.h>
List of all members.
Detailed Description
Class to encapsulate time intervals.
Definition at line501of filektime.h.
Constructor&Destructor Documentation
Constructor.
- Parameters:
| pStart | Beginning of the time interval. |
| pStop | Ending of the time interval. |
Definition at line513of filektime.h.
Member Function Documentation
Set start and stop time.
- Parameters:
| pStart | Beginning of the time interval. |
| pStop | Ending of the time interval. |
Definition at line519of filektime.h.
void SetStart | ( | KTime | pStart | ) | [inline] |
Set start time.
- Parameters:
| pStart | Beginning of the time interval. |
Definition at line524of filektime.h.
void SetStop | ( | KTime | pStop | ) | [inline] |
Set stop time.
- Parameters:
| pStop | Ending of the time interval. |
Definition at line529of filektime.h.
KTime&GetStart | ( | | ) | [inline] |
Get start time.
- Returns:
- Beginning of time interval.
Definition at line534of filektime.h.
KTime&GetStop | ( | | ) | [inline] |
Get stop time.
- Returns:
- Ending of time interval.
Definition at line539of filektime.h.
KTimeGetDuration | ( | | ) | const[inline] |
Get time interval in absolute value.
- Returns:
- Time interval.
Definition at line544of filektime.h.
KTimeGetSignedDuration | ( | | ) | const[inline] |
Get time interval.
- Returns:
- Signed time interval.
Definition at line549of filektime.h.
int GetDirection | ( | | ) | const[inline] |
Get direction of the time interval.
- Returns:
KTS_FORWARD
if time interval is forward,KTS_BACKWARD
if backward.
Definition at line554of filektime.h.
bool operator& | ( | KTime& | pTime | ) | const |
Returntrue
if the time is inside the timespan.
Return the intersection of the two time spans.
Return the intersection of the two time spans.