Enum initHookState

Enum Documentation

enum initHookState

Initialization stages.

The enum states must agree with the names in the initHookName() function. New states may be added in the future if extra facilities get incorporated into the IOC. The numerical value of any state enum may change between EPICS releases; states are not guaranteed to appear in numerical order.

Some states were deprecated when iocPause() and iocRun() were added, but are still provided for backwards compatibility. These deprecated states are announced at the same point they were before, but will not be repeated if the IOC is later paused and restarted.

Values:

enumerator initHookAtIocBuild

Start of iocBuild() / iocInit()

enumerator initHookAtBeginning

Database sanity checks passed

enumerator initHookAfterCallbackInit

Callbacks, generalTime & taskwd init

enumerator initHookAfterCaLinkInit

CA links init

enumerator initHookAfterInitDrvSup

Driver support init

enumerator initHookAfterInitRecSup

Record support init

enumerator initHookAfterInitDevSup

Device support init pass 0

enumerator initHookAfterInitDatabase

Records and locksets init

enumerator initHookAfterFinishDevSup

Device support init pass 1

enumerator initHookAfterScanInit

Scan, AS, ProcessNotify init

enumerator initHookAfterInitialProcess

Records with PINI = YES processsed

enumerator initHookAfterCaServerInit

RSRV init

enumerator initHookAfterIocBuilt

End of iocBuild()

enumerator initHookAtIocRun

Start of iocRun()

enumerator initHookAfterDatabaseRunning

Scan tasks and CA links running

enumerator initHookAfterCaServerRunning

RSRV running

enumerator initHookAfterIocRunning

End of iocRun() / iocInit()

enumerator initHookAtIocPause

Start of iocPause()

enumerator initHookAfterCaServerPaused

RSRV paused

enumerator initHookAfterDatabasePaused

CA links and scan tasks paused

enumerator initHookAfterIocPaused

End of iocPause()

enumerator initHookAtShutdown

Start of iocShutdown() (unit tests only)

enumerator initHookAfterCloseLinks

Links disabled/deleted

enumerator initHookAfterStopScan

Scan tasks stopped

enumerator initHookAfterStopCallback

Callback tasks stopped

enumerator initHookAfterStopLinks

CA links stopped

enumerator initHookBeforeFree

Resource cleanup about to happen

enumerator initHookAfterShutdown

End of iocShutdown()

enumerator initHookAfterInterruptAccept

After initHookAfterDatabaseRunning

enumerator initHookAtEnd

Before initHookAfterIocRunning