Inheritance diagram for IEvent:
This object is used in the IEventDatabase interface, it encapsulates event information. This simplifies passing event information to and from the event database.
It is further used when searching the event database for specific information.
Public Member Functions | |
HRESULT | EventDatabase ([out, retval] IEventDatabase **ppintfEventDatabase) |
Returns the event database this event belongs to. | |
HRESULT | ID ([out, retval] long *plEventID) |
Returns the event ID for this Event. | |
HRESULT | Date ([out, retval] DATE *pDate) |
Returns the date of this Event. | |
HRESULT | Class ([out, retval] EEventClass *peClass) |
Returns the class of this Event. | |
HRESULT | DataType ([out, retval] EEventDataType *peDatatype) |
Returns the data type of this Event. | |
HRESULT | Data ([out, retval] VARIANT *pvtData) |
Returns the data of this Event. | |
HRESULT | ExtraData ([out, retval] VARIANT *pvtExtraData) |
Returns the extra data for this Event. | |
HRESULT | Description ([out, retval] BSTR *pbstrDescription) |
Returns a description of this event (only if a correct language dll can be found). | |
HRESULT | GetDescription ([in] VARIANT_BOOL WithHTML,[out, retval] BSTR *pbstrDescription) |
Returns a description of this event. | |
HRESULT | User ([out, retval] IUser **ppintfUser) |
Returns the user object that caused this event. | |
HRESULT | Parameter ([out, retval] IParameter **ppintfParameter) |
Returns the parameter that caused this event. |
|
Returns the event database this event belongs to.
|
|
Returns the event ID for this Event. The event ID is not a unique ID but rather a event type. The access granted event is event ID 0, Access denied is ID 1 etc.
|
|
Returns the date of this Event. Returns the time-stamp of this event. Note that the internal clock of the reader is reset to the time of the last entry in the event-log of the reader (if it has one) every time it is reset! So when resetting the reader very often, the date returned by this method might not be the actual time. This time is not acurate enough for for instance time & attendance systems or salary systems!
|
|
Returns the class of this Event. There are currently 3 different event classes, security events, configuration events and status events. Logging of events can be enabled/disabled on a event class basis.
|
|
Returns the data type of this Event.
|
|
Returns the data of this Event. The returned data may vary:
|
|
Returns the extra data for this Event. If this event is a user event (edUser), the extra data will contain the cardtype. If this event contains a parameter event (edSystemParameter or edParameter), the extra data will be set to the new parameter value.
|
|
Returns a description of this event (only if a correct language dll can be found). Simply calls GetDescription with the fHTML argument set to false.
|
|
Returns a description of this event. Returns a description of this event. The fHTML flag only has effect for the access-denied event, the card number will then contain a hyperlink to includes all data of this event. Some examples:
|
|
Returns the user object that caused this event. Returns a user object containing all user data that caused this event. Only works for events that contain user data (whose DataType is edUser). The user object that is returned here, can be used for instance to add an unknown card/user to the reader (when this is an access denied event for instance).
|
|
Returns the parameter that caused this event. Returns a parameter object containing all parameter info stored in this event. Only works for parameter events (when the DataType is edParameter). The returned parameter object will be a read-only object, the parameter can never be saved!
|