An identifier for sources of events in a Reactor (I/O, timers, etc).
More...
#include <tsEventId.h>
|
|
| EventId () |
| | Default constructor.
|
| |
|
void | invalidate () |
| | Invalidate the content of this object.
|
| |
| bool | isValid () const |
| | Check if the source id is valid.
|
| |
| bool | operator< (const EventId &other) const |
| | Less than operator (for use in hash tables).
|
| |
| bool | operator== (const EventId &other) const |
| | Equality operator.
|
| |
| UString | toString () const |
| | Get a string representation, for debug purpose.
|
| |
An identifier for sources of events in a Reactor (I/O, timers, etc).
This is a small object which can be passed by value at zero cost.
◆ isValid()
| bool ts::EventId::isValid |
( |
| ) |
const |
|
inline |
Check if the source id is valid.
- Returns
- True if the source id is valid.
◆ operator==()
| bool ts::EventId::operator== |
( |
const EventId & |
other | ) |
const |
|
inline |
Equality operator.
- Parameters
-
| [in] | other | Other instance to compare. |
- Returns
- True if this object is equal to other.
◆ operator<()
| bool ts::EventId::operator< |
( |
const EventId & |
other | ) |
const |
|
inline |
Less than operator (for use in hash tables).
- Parameters
-
| [in] | other | Other instance to compare. |
- Returns
- True if this object is less to other.
◆ toString()
| UString ts::EventId::toString |
( |
| ) |
const |
|
inline |
Get a string representation, for debug purpose.
- Returns
- A string representation of this object (an integer value).
The documentation for this class was generated from the following file: