ITcEventLogger

This interface represents the TwinCAT 3 EventLogger itself.

Syntax

TCOM_DECL_INTERFACE("B2D5D4E2-07F6-44F4-A292-92CA8035AA86", ITcEventLogger)

Required includes: 

#include "TcRouterInterfaces.h"
#include "TcEventLoggerInterfaces.h"

ITcEventLogger 1: Methods

Name

Description

CreateMessage

Creates an instance that implements ITcMessage.

CreateAlarm

Creates an instance that implements ITcAlarm.

GetAlarm

Returns the pointer to an existing alarm.

IsAlarmRaised

Queries whether an alarm is in the Raised state.

ConfirmAllAlarms

Calls Confirm() for all alarms with the confirmation state WaitForConfirmation.

ClearAllAlarms

Calls Clear() for all alarms in the Raised state.

SendTcMessage

Sends a message.

AddMessageListener

Adds a message listener.

RemoveMessageListener

Removes a message listener.

NotifyMessageListener

Processes a queue for a message listener.

AddAlarmListener

Adds an alarm listener.

RemoveAlarmListener

Removes an alarm listener.

NotifyAlarmListener

Processes a queue for an alarm listener.

GetEventText

Returns a text for an event.

GetEventClassName

Returns the class name for an event.

CreateArguments

Creates an instance that implements ITcArguments.