Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlJobIntfcStartMethod

axlJobIntfcStartMethod(
g_inst
)
=> t / nil

Description

Job Interface member function to start a job. For each new job ID, a new instance of the selected interface class will be created. After some basic properties are set on the instance, it will be passed to the start method of the class.

Arguments

g_inst

Subclass for axlJobIntfc.

Value Returned

t

The job starts successfully.

nil

The job does not start.

Examples

Starts the job.

;; example setup
(defclass IPCJob ( axlJobIntfc )
    (
     (ipcHandle)
     ))
;; axlJobIntfcStartMethod
(defmethod axlJobIntfcStartMethod ( (inst IPCJob) )
    (let ((ipc_handle (ipcBeginProcess inst->command)))
     inst->ipcHandle = ipc_handle
;; ipc_handle will be nil on failure; non-nil on success
ipc_handle))

Return to top
 ⠀
X