JMACS

org.jmacs.pd
Interface Context

All Known Subinterfaces:
IInterpreter.Context, IPdCmd.Context, IProgram.Context

public interface Context

context.

Version:
$Id$
Author:
Rob Dickens

Method Summary
 Device.IConstants getConstants()
          returns constants, as passed to the Pdi constructor.
 Device.IDriver getDriver()
          returns driver.
 Device.IStatus getStatus()
          returns status as of the last sampling boundary.
 

Method Detail

getDriver

Device.IDriver getDriver()
returns driver. Cast appropriately.


getStatus

Device.IStatus getStatus()
returns status as of the last sampling boundary. Cast appropriately.

Returns:
null if device not stateful

getConstants

Device.IConstants getConstants()
returns constants, as passed to the Pdi constructor. Cast appropriately.

Returns:
null if no constants supplied

JMACS

jmacs.org