Inheritance diagram for RS::TimeUnknown:


Public Member Functions | |
| TimeUnknown () | |
| The default constructor will make the object value unknown. | |
| TimeUnknown (const UInt vt) | |
| Constuct a object based on the gametime. | |
| TimeUnknown (const UInt vt, const UInt vs) | |
| Constuct a object based on the gametime and cycletime. | |
| TimeUnknown (const Time &obj) | |
| Construct a object based on a known timevalue. | |
| TimeUnknown (const WithUnknown< Time > &obj) | |
| Construct a TimeUnknown using a WithUnknown<Time>. | |
| TimeUnknown (const TimeUnknown &obj) | |
| Construct a object based on a (unknown) timevalue. | |
| TimeUnknown & | operator= (const TimeUnknown &) |
| Assignment operator. | |
| TimeUnknown & | makeUnknown () |
| Make the time unknown. | |
| bool | isKnown () const |
| Check if the time is known. | |
| bool | isUnknown () const |
| Check if the time is unknown. | |
| Time | getTime () const throw (UnknownValueException) |
| Get the time. | |
| UInt | getS () const throw (UnknownValueException) |
| Get the current gametime. | |
| TimeUnknown & | setS (const UInt) |
| Set the current gametime. | |
| UInt | getT () const throw (UnknownValueException) |
| Get the current cycletime. | |
| TimeUnknown & | setT (const UInt) |
| Set the current cycletime. | |
Arithmetic operators. | |
| TimeUnknown & | operator+= (const TimeUnknown &op) |
| TimeUnknown & | operator-= (const TimeUnknown &op) |
| TimeUnknown | operator- (const TimeUnknown &op) const |
| TimeUnknown | operator+ (const TimeUnknown &op) const |
Increment and decrement operators. | |
| TimeUnknown & | operator++ () |
| TimeUnknown & | operator-- () |
Comparison operators. | |
| |
| bool | operator== (const TimeUnknown &) const |
| bool | operator!= (const TimeUnknown &) const |
| bool | operator< (const TimeUnknown &) const |
| bool | operator<= (const TimeUnknown &) const |
| bool | operator> (const TimeUnknown &) const |
| bool | operator>= (const TimeUnknown &) const |
| bool | operator! () const |
This class is based on CMUnited's implementation created by P. Stone & Co.
Needs testing.
Definition at line 86 of file TimeUnknown.h.
|
|
Get the time. UnknownValueException if the time is unknown. Definition at line 130 of file TimeUnknown.icc. |
1.3-rc3