GenTrigger: 3.6 Supplemental GenTrigger Usage: Manipulating Instance Data

Up: GEOS SDK TechDocs | Up | Prev: 3.5 Setting a Trigger As the Default | Next: 3.7 Other Hints
MSG_GEN_TRIGGER_GET_ACTION_MSG, MSG_GEN_TRIGGER_SET_ACTION_MSG, MSG_GEN_TRIGGER_GET_DESTINATION, MSG_GEN_TRIGGER_SET_DESTINATION 

A GenTrigger's instance data need not be static. The instance data can be altered dynamically using the following messages of GenTriggerClass .

MSG_GEN_TRIGGER_GET_ACTION_MSG

Message MSG_GEN_TRIGGER_GET_ACTION_MSG();

This message retrieves the GTI_ actionMsg instance data of the trigger.

Source: Unrestricted.

Destination: Any GenTrigger object.

Parameters: None.

Return: Message in GTI_ actionMsg .

Interception: Generally not intercepted.

MSG_GEN_TRIGGER_SET_ACTION_MSG

void	MSG_GEN_TRIGGER_SET_ACTION_MSG(
        Message message);

This message sets the GTI_ actionMsg instance field of a GenTrigger to the message passed.

Source: Unrestricted.

Destination: Any GenTrigger object.

Parameters: message Message to assign GTI_ actionMsg to.

Return: Nothing.

Interception: Generally not intercepted.

MSG_GEN_TRIGGER_GET_DESTINATION

optr	MSG_GEN_TRIGGER_GET_DESTINATION();

This message returns the GTI_ destination instance data field of the GenTrigger.

Source: Unrestricted.

Destination: Any GenTrigger object.

Parameters: Nothing.

Return: The optr of destination object (in GTI_ destination ).

Interception: Generally not intercepted.

MSG_GEN_TRIGGER_SET_DESTINATION

void	MSG_GEN_TRIGGER_SET_DESTINATION(
        optr dest);

This message sets the GTI_ destination instance field of the GenTrigger to the optr passed.

Source: Unrestricted.

Destination: Any GenTrigger object.

Parameters: dest The optr of the new destination.

Return: Nothing.

Interception: Generally not intercepted.


Up: GEOS SDK TechDocs | Up | Prev: 3.5 Setting a Trigger As the Default | Next: 3.7 Other Hints