#include <MpiAPI.h>
Public Member Functions | |
virtual TEventType | Type () |
Returns the event type supported by the observer. | |
virtual BitSet | EventDataTypes () |
Returns the data items to provide with the event when it occurs. | |
virtual void | HandleEvent (SHeapEventData &data)=0 |
Event Handler. |
After an object is deallocated, its id is not longer valid and cannot be used in a data request.
The data items supported by this event are specified by the default implementation of the EventDataTypes method. Note, however, that only data items requested with the Object Allocated event will be available to this event observer. In other words, data items specified with this observer that are not specified in the Object Allocated event observer will be ignored.
virtual TEventType Type | ( | ) | [inline, virtual] |
Returns the MPI event type requested by the observer. Implemented for each observer interface class. MPI clients that implement event-specific observer classes must not override this method.
Implements IEventObserver.
virtual BitSet EventDataTypes | ( | ) | [inline, virtual] |
Specifies the data items to provide with the event when it occurs. Data items are specified as a combination of TDataRequestType constants OR'ed together. By default, an event-specific observer interface returns the maximum possible data items that can be returned with that event. MPI clients can override this method to specify a subset of those data items to be returned with the event.
Implements IEventObserver.
virtual void HandleEvent | ( | SHeapEventData & | data | ) | [pure virtual] |
Object Alloc event handler
[in] | data | event data. |
(C) Copyright Intel Corporation 2007-2008. All Rights Reserved.
Generated on Thu Mar 6 15:08:03 2008 for Martini by