c - The connection to use. After the connection is constructed by the
connection factory it will be passed to the functional code with
this method. During the controllers shutdown (after doUnInit())
this will be called with the c == null.
HardwareException - A hardware exception may be generated by this method if the
connection is not of the correct type. The connection will be
cast to the appropriate type for the controller. If the
connection is not of the appropriate type then a
HardwareException will be generated.
Get a new AdvancedMotionBlocker to be used to detection action completion.
Subclasses of AMC may override this method (and the various method in
AdvancedMotionBlocker to properly parse their hw reports in order to
properly determine when the 'Active Signal' should be generated.
action - -- the action that the Blocker will initially be assocaited with
When not waiting for a custom program to finish there is a chance that the
program will still complete. In these cases we need a thread that is
running and can signal that completion of the custom program so that the
controller can updated its current state.
mb - -- the Motion Blocker that should be monitored for completion