- java.lang.Object
-
- org.praxislive.code.CodeContext<CoreCodeDelegate>
-
- org.praxislive.core.code.CoreCodeContext
-
public class CoreCodeContext extends CodeContext<CoreCodeDelegate>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.praxislive.code.CodeContext
CodeContext.ClockListener
-
-
Constructor Summary
Constructors Constructor Description CoreCodeContext(CoreCodeConnector connector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidstarting(ExecutionContext source, boolean fullStart)Hook called when the execution context is started (moves to stateExecutionContext.State.ACTIVE) or the context is added to a component within an active execution context.protected voidstopping(ExecutionContext source, boolean fullStop)Hook called when the execution context is stopped (moves away from stateExecutionContext.State.ACTIVE) or the context is removed from a component within an active execution context.protected voidtick(ExecutionContext source)Hook called by the clock listener on the execution context.-
Methods inherited from class org.praxislive.code.CodeContext
addClockListener, checkActive, configure, dispose, flush, getAddress, getComponent, getControl, getControlDescriptor, getControlIDs, getDelegate, getExecutionContext, getInfo, getLog, getLogLevel, getLookup, getPort, getPortDescriptor, getPortIDs, getTime, hierarchyChanged, invoke, locateService, log, removeClockListener, reset, starting, stopping, update
-
-
-
-
Constructor Detail
-
CoreCodeContext
public CoreCodeContext(CoreCodeConnector connector)
-
-
Method Detail
-
starting
protected void starting(ExecutionContext source, boolean fullStart)
Description copied from class:CodeContextHook called when the execution context is started (moves to stateExecutionContext.State.ACTIVE) or the context is added to a component within an active execution context. Full start will be true in the former case when the execution context itself is changing state.This method may be overridden in subclasses. The default implementation delegates to
CodeContext.starting(org.praxislive.core.ExecutionContext).- Overrides:
startingin classCodeContext<CoreCodeDelegate>- Parameters:
source- execution contextfullStart- whether the context itself is transitioning state
-
stopping
protected void stopping(ExecutionContext source, boolean fullStop)
Description copied from class:CodeContextHook called when the execution context is stopped (moves away from stateExecutionContext.State.ACTIVE) or the context is removed from a component within an active execution context. Full stop will be true in the former case when the execution context itself is changing state.This method may be overridden in subclasses. The default implementation delegates to
CodeContext.stopping(org.praxislive.core.ExecutionContext).- Overrides:
stoppingin classCodeContext<CoreCodeDelegate>- Parameters:
source- execution contextfullStop- whether the context itself is transitioning state
-
tick
protected void tick(ExecutionContext source)
Description copied from class:CodeContextHook called by the clock listener on the execution context. The default implementation does nothing.- Overrides:
tickin classCodeContext<CoreCodeDelegate>- Parameters:
source- execution context
-
-