Handle-object returned by TfNotice::Register().
More...
#include <notice.h>
|
| bool | IsValid () const |
| | Does this key refer to a valid notification?
|
| |
| | operator bool () const |
| | Does this key refer to a valid notification?
|
| |
Handle-object returned by TfNotice::Register().
When a listener is registered by TfNotice::Register(), an object of type TfNotice::Key is returned; this key object can be given to Revoke() to subsequently unregister the listener with respect to that particular notice type and callback method.
Definition at line 243 of file notice.h.
◆ Key()
◆ IsValid()
Does this key refer to a valid notification?
IsValid will return true if this key refers to a currently active notification. Revoking the key will make it invalid again.
Definition at line 251 of file notice.h.
◆ operator bool()
Does this key refer to a valid notification?
The boolean operator is identical to IsValid() above.
Definition at line 258 of file notice.h.
◆ TfNotice
The documentation for this class was generated from the following file: