mpiEventMgrControlIndex

Declaration

long mpiEventMgrControlIndex(MPIEventMgr eventMgr,
                             MPIControl  control)
Required Header: stdmpi.h

Description

mpiEventMgrControlIndex returns the position of "control" on the list.

eventMgr a handle to the EventMgr object.
control a handle to a Control object.
Return Values
index
of control in the list of motion controllers associated with an EventMgr (eventMgr)
-1
if eventMgr is invalid
if control was not found in the list of motion controllers

See Also