org.cogchar.bind.rk.robot.client
Class RobotAnimContext

java.lang.Object
  extended by org.appdapter.core.log.BasicDebugger
      extended by org.cogchar.bind.rk.robot.client.RobotAnimContext
All Implemented Interfaces:
org.appdapter.core.log.Loggable
Direct Known Subclasses:
DirectRobotAnimContext

public class RobotAnimContext
extends org.appdapter.core.log.BasicDebugger

Author:
Stu B.

Field Summary
protected  RobotAnimClient myAnimClient
           
protected  org.appdapter.core.name.Ident myAnimOutChanID
           
protected  org.cogchar.blob.emit.BehaviorConfigEmitter myBehaviorCE
           
protected  List<ClassLoader> myResourceCLs
           
 
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
RobotAnimContext(org.appdapter.core.name.Ident animOutChanID, org.cogchar.blob.emit.BehaviorConfigEmitter behavCE)
           
 
Method Summary
 void endAndClearKnownAnimationJobs()
           
protected  ModelRobot getModelRobot()
           
 AnimOutTrigChan getTriggeringChannel()
           
 boolean initConnForAnimPlayer(org.robokind.api.animation.player.AnimationPlayer player)
           
 void playBuiltinAnimNow(RobotAnimClient.BuiltinAnimKind baKind)
           
 void setResourceClassLoaders(List<ClassLoader> resCLs)
           
 org.robokind.api.animation.player.AnimationJob startFullAnimationNow(org.robokind.api.animation.Animation anim)
           
 void stopAndReset()
           
 
Methods inherited from class org.appdapter.core.log.BasicDebugger
checkDebugImportance, forceLog4jConfig, getLogger, getLoggerForClass, isLoggerUsable, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger, useLoggerForClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myAnimOutChanID

protected org.appdapter.core.name.Ident myAnimOutChanID

myAnimClient

protected RobotAnimClient myAnimClient

myBehaviorCE

protected org.cogchar.blob.emit.BehaviorConfigEmitter myBehaviorCE

myResourceCLs

protected List<ClassLoader> myResourceCLs
Constructor Detail

RobotAnimContext

public RobotAnimContext(org.appdapter.core.name.Ident animOutChanID,
                        org.cogchar.blob.emit.BehaviorConfigEmitter behavCE)
Parameters:
animOutChanID - - so far, used only for log messages
behavCE - - only used to resolve local files, in case animResURL does not resolve within classpath.
Method Detail

setResourceClassLoaders

public void setResourceClassLoaders(List<ClassLoader> resCLs)

initConnForAnimPlayer

public boolean initConnForAnimPlayer(org.robokind.api.animation.player.AnimationPlayer player)

stopAndReset

public void stopAndReset()

endAndClearKnownAnimationJobs

public void endAndClearKnownAnimationJobs()

startFullAnimationNow

public org.robokind.api.animation.player.AnimationJob startFullAnimationNow(org.robokind.api.animation.Animation anim)

getModelRobot

protected ModelRobot getModelRobot()

playBuiltinAnimNow

public void playBuiltinAnimNow(RobotAnimClient.BuiltinAnimKind baKind)

getTriggeringChannel

public AnimOutTrigChan getTriggeringChannel()


Copyright © 2010-2013. All Rights Reserved.