org.cogchar.app.puma.behavior
Class PumaBehaviorAgent
java.lang.Object
org.appdapter.core.log.BasicDebugger
org.appdapter.bind.rdf.jena.assembly.KnownComponentImpl
org.appdapter.trigger.bind.jena.ABoxImpl<TrigType>
org.appdapter.trigger.bind.jena.BoxImpl<TrigType>
org.appdapter.trigger.bind.jena.FullBox<CogcharActionTrigger>
org.cogchar.platform.trigger.CogcharScreenBox
org.cogchar.app.puma.behavior.PumaBehaviorAgent
- All Implemented Interfaces:
- org.appdapter.api.trigger.AnyOper.HasIdent, org.appdapter.api.trigger.Box<CogcharActionTrigger>, org.appdapter.api.trigger.MutableBox<CogcharActionTrigger>, org.appdapter.core.component.KnownComponent, org.appdapter.core.component.MutableKnownComponent, org.appdapter.core.debug.UIAnnotations.ApplyToClassInterfaces, org.appdapter.core.jvm.GetObject, org.appdapter.core.log.Loggable
- Direct Known Subclasses:
- DirectBehaviorAgent
public abstract class PumaBehaviorAgent
- extends CogcharScreenBox
- Author:
- Stu B.
|
Field Summary |
protected org.appdapter.core.name.Ident |
myAgentID
|
protected org.cogchar.blob.emit.BehaviorConfigEmitter |
myBehaviorCE
|
org.cogchar.impl.scene.Theater |
myTheater
|
| Fields inherited from interface org.appdapter.api.trigger.AnyOper.HasIdent |
HASIDENT |
| Fields inherited from interface org.appdapter.core.log.Loggable |
IMPO_HI, IMPO_HIHI, IMPO_LO, IMPO_LOLO, IMPO_MAX, IMPO_MIN, IMPO_NORM |
|
Constructor Summary |
PumaBehaviorAgent(org.appdapter.core.name.Ident agentID,
org.cogchar.blob.emit.BehaviorConfigEmitter bce)
|
|
Method Summary |
protected void |
doResetOutputs()
|
protected void |
doStopOutputs()
|
protected void |
doWiringPostStart(org.osgi.framework.BundleContext optBunCtxForWiring,
org.cogchar.impl.scene.Theater t)
|
protected void |
doWiringPreStart(org.osgi.framework.BundleContext optBunCtxForWiring,
org.cogchar.impl.scene.Theater t)
|
protected org.appdapter.core.name.Ident |
getAgentID()
|
org.appdapter.core.name.Ident |
getCharIdent()
|
void |
loadBehaviorConfigFromRepo(org.appdapter.help.repo.RepoClient repoClient,
org.appdapter.core.name.Ident chanGraphID,
org.appdapter.core.name.Ident behavGraphID,
boolean clearCachesFirst)
|
void |
loadBehaviorConfigFromTestFile(boolean clearCachesFirst)
|
void |
setupAndStart(org.osgi.framework.BundleContext bunCtx,
PumaRegistryClient prc,
String chanGraphQN,
String behavGraphQN)
|
void |
setupAndStartBehaviorTheater(org.osgi.framework.BundleContext bunCtx,
PumaConfigManager pcm,
String chanGraphQN,
String behavGraphQN)
|
void |
startTheater(org.osgi.framework.BundleContext optBunCtxForWiring)
|
void |
stopAndReset()
|
void |
stopEverything()
|
void |
stopResetAndRecenter()
|
void |
stopTheater(boolean cancelOutJobs)
|
void |
usePermAnims()
|
void |
useTempAnims()
|
| Methods inherited from class org.appdapter.trigger.bind.jena.BoxImpl |
getObjects, getObjects, getValue |
| Methods inherited from class org.appdapter.trigger.bind.jena.ABoxImpl |
attachTrigger, clearTriggers, getALogger, getBoxContext, getFieldSummary, getLogger, getSLogger, getTriggers, isLoggerUsable, setContext, useLoggerForClass |
| Methods inherited from class org.appdapter.bind.rdf.jena.assembly.KnownComponentImpl |
getDescription, getIdent, getShortLabel, setDescription, setIdent, setShortLabel, toString |
| Methods inherited from class org.appdapter.core.log.BasicDebugger |
checkDebugImportance, forceLog4jConfig, getLoggerForClass, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger |
myAgentID
protected org.appdapter.core.name.Ident myAgentID
myBehaviorCE
protected org.cogchar.blob.emit.BehaviorConfigEmitter myBehaviorCE
myTheater
public org.cogchar.impl.scene.Theater myTheater
PumaBehaviorAgent
public PumaBehaviorAgent(org.appdapter.core.name.Ident agentID,
org.cogchar.blob.emit.BehaviorConfigEmitter bce)
getAgentID
protected org.appdapter.core.name.Ident getAgentID()
setupAndStart
public void setupAndStart(org.osgi.framework.BundleContext bunCtx,
PumaRegistryClient prc,
String chanGraphQN,
String behavGraphQN)
setupAndStartBehaviorTheater
public void setupAndStartBehaviorTheater(org.osgi.framework.BundleContext bunCtx,
PumaConfigManager pcm,
String chanGraphQN,
String behavGraphQN)
throws Throwable
- Throws:
Throwable
startTheater
public void startTheater(org.osgi.framework.BundleContext optBunCtxForWiring)
doWiringPreStart
protected void doWiringPreStart(org.osgi.framework.BundleContext optBunCtxForWiring,
org.cogchar.impl.scene.Theater t)
doWiringPostStart
protected void doWiringPostStart(org.osgi.framework.BundleContext optBunCtxForWiring,
org.cogchar.impl.scene.Theater t)
doStopOutputs
protected void doStopOutputs()
doResetOutputs
protected void doResetOutputs()
stopTheater
public void stopTheater(boolean cancelOutJobs)
getCharIdent
public org.appdapter.core.name.Ident getCharIdent()
stopEverything
public void stopEverything()
stopAndReset
public void stopAndReset()
stopResetAndRecenter
public void stopResetAndRecenter()
loadBehaviorConfigFromTestFile
public void loadBehaviorConfigFromTestFile(boolean clearCachesFirst)
throws Throwable
- Throws:
Throwable
loadBehaviorConfigFromRepo
public void loadBehaviorConfigFromRepo(org.appdapter.help.repo.RepoClient repoClient,
org.appdapter.core.name.Ident chanGraphID,
org.appdapter.core.name.Ident behavGraphID,
boolean clearCachesFirst)
throws Throwable
- Throws:
Throwable
usePermAnims
public void usePermAnims()
useTempAnims
public void useTempAnims()
Copyright © 2010-2013. All Rights Reserved.