Scala Monitoring and Control System API
com.lafros.macs.pd.an.AnyPd

class Program

[source: com/lafros/macs/pd/an/AnyPd.scala]

abstract class Program
extends Program
adds type-safe methods.
Type Summary
protected type BeanProperty
alias for scala.reflect.BeanProperty.
protected type Context
alias for the ProgramContext defined by the particular Pd variant.
Method Summary
abstract def complete (context : ProgramContextType) : Boolean
Called periodically--see AnyProgramContext.lastBoundaryMillis--until result is true. Time-consuming tasks should not be undertaken.
def init (context : ProgramContextType) : Unit
initialise. Default implementation does nothing.
def terminate (context : ProgramContextType) : Unit
called (immediately) if the program is terminated, to allow tidying up. Default implementation does nothing.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Type Details
protected type BeanProperty
alias for scala.reflect.BeanProperty.

protected type Context
alias for the ProgramContext defined by the particular Pd variant.

Method Details
def init(context : ProgramContextType) : Unit
initialise. Default implementation does nothing.

abstract def complete(context : ProgramContextType) : Boolean
Called periodically--see AnyProgramContext.lastBoundaryMillis--until result is true. Time-consuming tasks should not be undertaken.

def terminate(context : ProgramContextType) : Unit
called (immediately) if the program is terminated, to allow tidying up. Default implementation does nothing.


Copyright 2009 Latterfrosken Software Development Limited