ITcEventLog

The ITcEventLog is a standard interface of the main class of the TcEventLogger.  The interface provides the main features to control active and logged alarms and also to add new alarms or delete existing ones. The interface derives from IDispatch so that it could be used by all languages that support COM automation interfaces. IDispatch itself derives from IUnknown.

Methods and Properties in Vtable Order

IUnknown Methods

Description

QueryInterface

Returns a pointer to the interface you query for

AddRef

Increments the reference counter

Release

Decrements the reference counter

 

IDispatch Methods

Description

GetIDsOfNames

Maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can then be used on subsequent calls to IDispatch::Invoke.

GetTypeInfo

Retrieves the type information for an object.

GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides, either 0 or 1.

Invoke

Provides access to properties and methods exposed by an object.

 

ITcEventLog Methods and Properties

Description

ReportEvent

This method is used to issue a new event from the client.

ClearActiveEvents

This method resets all Active events.

GetLastEvent

This method returns the most recent events

EnumActiveEvents

Returns an enumeration object that is used to iterate through the list of active events.

EnumActiveEventsEx

Returns a standard enumerator for iterating through the list of active events.

EnumLoggedEvents

Returns an enumeration object that is used to iterate through the list of logged events.

EnumLoggedEventsEx

Returns a standard enumerator for iterating through the list of logged events.

Export

Copies the list of logged event to a structured storage and returns the storage.

ExportText

Not implemented

ActiveEvents

Returns the number of active events.

LoggedEvents

Returns the number of logged events.

ClearLoggedEvents

This method resets all logged events.