RT_MONITOR_CUSTOM_TRIGGER_CONTROL

RT_MONITOR_CUSTOM_TRIGGER_CONTROL transiently associates trigger values to custom monitoring event types.

Syntax

typedef struct _RT_MONITOR_CUSTOM_TRIGGER_CONTROL {
   size_t size;
   MF_TRIGGERS triggers;
   MF_EVENT_KIND customEvent;
} RT_MONITOR_CUSTOM_TRIGGER_CONTROL, *PRT_MONITOR_CUSTOM_TRIGGER_CONTROL;

Members

size

Must be set to sizeof(RT_MONITOR_CUSTOM_TRIGGER_CONTROL)

triggers

Represents a set of triggers for a single event kind. Each bit in this type represents one kind of trigger.

These macros define bit flags that represent the trigger kinds for use in instances of type MF_TRIGGERS.

Trigger Kind Meaning
MF_TRIGGER_NONE No event triggers.
MF_TRIGGER_START_MONITORING Start monitoring.
MF_TRIGGER_STOP_MONITORING

Stop monitoring.

This trigger kind is supported in RTX64 4.3 and later versions.

customEvent

Specifies the custom event type that the trigger is being set to, within the range 0 to MF_TRIGGERS_FOR_CUSTOM_EVENT_IDS_MAX - 1.

Remarks

Requirements

Minimum Supported Version RTX64 3.6
Header RtssApi.h
Library rtx_rtss.lib

See Also:

RtMonitorSetCustomTriggers

Understanding Persistent vs. Transient

RTX64_MONITOR_CONTROL_OP

RtMonitorControl

MF_EVENT_KIND