getEvent Member Function
Returns the Event object that is associated with the requesting Accumulator.
Syntax
Event *getEvent(void);Parameters
- None.
Example
Listener *listener = new Listener("sampleApp", "4.0", NULL, false);
Container *store = listener->lookupContainer("storeName");
Event *creations = store->lookupEvent("document creations");
Accumulator *numCreations = creations->numCreations("number of document creations");
...
Event *associatedEvent = numCreations->getEvent();
...