An event injected every time a new annotation is inserted. More...
#include <sprk_ops.h>
Public Types | |
enum | Status : uint32_t { Status::InProgress, Status::Completed, Status::Failed } |
Event Status - returned from a notifier to give the status of the event. More... | |
Public Member Functions | |
AnnotationInsertedEvent () | |
The default constructor creates an empty AnnotationInsertedEvent object. More... | |
AnnotationInsertedEvent (HPS::SegmentKey const &in_text_key, HPS::View const &in_view) | |
AnnotationInsertedEvent (Event const &in_event) | |
This constructor converts an Event Object to a MarkupInsertedEvent object. More... | |
~AnnotationInsertedEvent () | |
Event * | Clone () const |
Allocates and returns a copy of this AnnotationInsertedEvent. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
virtual bool | Drop (Event const *in_that_event) const |
This optional function is used to determine if the current event can be dropped based on the following event in the queue. More... | |
virtual intptr_t | Freshen () const |
This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available. More... | |
intptr_t | GetChannel () const |
Returns the channel ID assigned to an event. More... | |
Time | GetTimeStamp () const |
Returns the time an event was injected into the event queue. More... | |
bool | IsConsumable () const |
Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway. More... | |
Static Public Member Functions | |
static void * | operator new (size_t in_size) |
static void | operator delete (void *in_ptr, size_t in_size) throw () |
Public Attributes | |
SegmentKey | text_key |
View | view |
Protected Attributes | |
intptr_t | channel |
bool | consumable |
An event injected every time a new annotation is inserted.
It contains the key of the segment containing the annotation and the view currently attached to this operator. This operator places each annotation in a separate segment.
|
stronginherited |
|
inline |
The default constructor creates an empty AnnotationInsertedEvent object.
|
inline |
|
inline |
HPS::AnnotationOperator::AnnotationInsertedEvent::~AnnotationInsertedEvent | ( | ) |
|
inlinevirtual |
Allocates and returns a copy of this AnnotationInsertedEvent.
Implements HPS::Event.
|
inlinevirtualinherited |
This optional function is used to determine if the current event can be dropped based on the following event in the queue.
Reimplemented in HPS::MouseEvent, HPS::TouchEvent, HPS::TimerTickEvent, HPS::SmoothTransitionCompleteEvent, and HPS::CameraChangedEvent.
|
inlinevirtualinherited |
This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available.
Reimplemented in HPS::MouseEvent, HPS::TimerTickEvent, and HPS::CameraChangedEvent.
|
inlineinherited |
Returns the channel ID assigned to an event.
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
inlineinherited |
Returns the time an event was injected into the event queue.
|
inlineinherited |
Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway.
|
inlinestaticinherited |
|
inlinestaticinherited |
|
protectedinherited |
|
protectedinherited |
SegmentKey HPS::AnnotationOperator::AnnotationInsertedEvent::text_key |
View HPS::AnnotationOperator::AnnotationInsertedEvent::view |