- Main Page
- Modules
- Classes

- Search for |

# CONTROLLER_STOP_ADDRESS_RELATIVE
[CONTROLLER]

## Classes

class | INSTLIB::CONTROL_STOP_ADDRESS_RELATIVE

## Functions

INT32 | INSTLIB::CONTROL_STOP_ADDRESS_RELATIVE::Activate (CONTROL_HANDLER ch, VOID *val, BOOL passContext)
VOID | INSTLIB::CONTROL_STOP_ADDRESS_RELATIVE::Event (CONTROL_EVENT ev)

## Detailed Description

Controller for detecting the end of an interval using an address or symbol and a count *relative to the last START event* Use -stop_address_relative [address|address:count|symbol|symbol:count|address:count]

## Function Documentation

INT32 INSTLIB::CONTROL_STOP_ADDRESS_RELATIVE::Activate | ( | CONTROL_HANDLER | ch,
|  | VOID * | val,
|  | BOOL | passContext
| ) | `[inline, inherited]`

| Activate the controller if the -stop_address knob is provided

Returns:
  1 if controller can start an interval, otherwise 0

VOID INSTLIB::CONTROL_STOP_ADDRESS_RELATIVE::Event | ( | CONTROL_EVENT | ev | ) | `[inline, inherited]`

| Notify the controller about an event. If the event is a START, this controller sets the address count alarm making the counting relative to the START event.