org.cogchar.app.puma.boot
Class PumaContextCommandBox

java.lang.Object
  extended by org.appdapter.core.log.BasicDebugger
      extended by org.appdapter.bind.rdf.jena.assembly.KnownComponentImpl
          extended by org.appdapter.trigger.bind.jena.ABoxImpl<TrigType>
              extended by org.appdapter.trigger.bind.jena.BoxImpl<TrigType>
                  extended by org.appdapter.trigger.bind.jena.FullBox<CogcharActionTrigger>
                      extended by org.cogchar.platform.trigger.CogcharScreenBox
                          extended by org.cogchar.app.puma.boot.PumaContextCommandBox
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

public class PumaContextCommandBox
extends CogcharScreenBox

This class is intended to be the "public" API to the PUMA "system", for use from direct commands sent by GUIs or network. An instance of this object is referred to in our repositories, as registered with the URI returned by an application's PumaContextMediator.getSysContextURI() method. Having "public" methods on this object helps us to keep more of PumaAppContext's methods *protected*, and also keep track in one place of what we're officially *exposing* to the command layer.

Author:
Stu B.

Field Summary
static String ALL_HUMANOID_CONFIG
           
static String BONE_ROBOT_CONFIG
           
static String MANAGED_GCS
           
static String THING_ACTIONS
           
static String WORLD_CONFIG
           
 
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
protected PumaContextCommandBox(PumaAppContext pac)
           
 
Method Summary
 HumanoidFigureManager getFigureManager()
           
 GoodyGameFeatureAdapter getGameFeatureAdapter()
           
protected  HumanoidRenderContext getHRC()
           
 org.appdapter.help.repo.RepoClient getMainConfigRepoClient()
           
 PathMgr getPathMgr()
           
 HumanoidFigure getSinbad()
           
 SpatialAnimMgr getThingAnimMgr()
           
 PumaVirtualWorldMapper getVWM()
           
 Future<Boolean> processUpdateRequestAsync(String request, boolean resetMainConfigFlag)
           
 void resetMainCameraLocation()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WORLD_CONFIG

public static final String WORLD_CONFIG
See Also:
Constant Field Values

BONE_ROBOT_CONFIG

public static final String BONE_ROBOT_CONFIG
See Also:
Constant Field Values

MANAGED_GCS

public static final String MANAGED_GCS
See Also:
Constant Field Values

ALL_HUMANOID_CONFIG

public static final String ALL_HUMANOID_CONFIG
See Also:
Constant Field Values

THING_ACTIONS

public static final String THING_ACTIONS
See Also:
Constant Field Values
Constructor Detail

PumaContextCommandBox

protected PumaContextCommandBox(PumaAppContext pac)
Method Detail

getHRC

protected HumanoidRenderContext getHRC()

getGameFeatureAdapter

public GoodyGameFeatureAdapter getGameFeatureAdapter()

getFigureManager

public HumanoidFigureManager getFigureManager()

getPathMgr

public PathMgr getPathMgr()

getThingAnimMgr

public SpatialAnimMgr getThingAnimMgr()

resetMainCameraLocation

public void resetMainCameraLocation()

getSinbad

public HumanoidFigure getSinbad()

getVWM

public PumaVirtualWorldMapper getVWM()

processUpdateRequestAsync

public Future<Boolean> processUpdateRequestAsync(String request,
                                                 boolean resetMainConfigFlag)

getMainConfigRepoClient

public org.appdapter.help.repo.RepoClient getMainConfigRepoClient()


Copyright © 2010-2013. All Rights Reserved.