|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.appdapter.core.log.BasicDebugger
org.cogchar.app.puma.boot.PumaAppContext
public class PumaAppContext
| Field Summary |
|---|
| 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 | |
|---|---|
PumaAppContext(org.osgi.framework.BundleContext bc,
PumaContextMediator mediator,
org.appdapter.core.name.Ident ctxID)
|
|
| Method Summary | |
|---|---|
void |
connectAllBodies()
Third (and last) stage init of OpenGL, and all other systems. |
protected void |
connectDualBodies(List<org.appdapter.core.name.Ident> charIdents)
|
protected PumaDualBody |
connectDualBody(HumanoidConfig humCfg,
org.appdapter.core.name.Ident graphIdentForBony)
|
protected void |
connectWeb()
Called only from PumaBooter.pumaBootUnsafeUnderOSGi |
protected void |
disconnectAllCharsAndMappers()
|
protected List<org.appdapter.core.name.Ident> |
getAllCharIdents()
|
org.osgi.framework.BundleContext |
getBundleContext()
|
protected PumaConfigManager |
getConfigManager()
|
protected PumaContextMediator |
getMediator()
|
protected org.appdapter.help.repo.RepoClient |
getOrMakeMainConfigRC()
|
PumaVirtualWorldMapper |
getOrMakeVWorldMapper()
Public so that window system plugins can get access, e.g. |
PumaWebMapper |
getOrMakeWebMapper()
|
boolean |
hasVWorldMapper()
|
protected boolean |
hasWebMapper()
|
protected void |
initCinema(boolean clearFirst)
* Called from one of these three places: 1) PumaBooter.pumaBootUnsafeUnderOSGi 2) PumaContextCommandBox.processUpdateRequestNow(WORLD_CONFIG) 3) PumaAppContext.reloadAll PumaContextCommandBox.processUpdateRequestNow(ALL_HUMANOID_CONFIG) |
void |
makeAgentsForAllBodies(List<org.appdapter.core.name.Ident> charIdents)
|
protected void |
reloadAll(boolean resetMainConfigFlag)
|
protected void |
reloadBoneRobotConfig()
|
protected void |
reloadCommandSpace()
Would also need to reload keybindings for this to be effective |
protected void |
reloadGlobalConfig()
|
protected void |
resetMainConfigAndCheckThingActions()
Called from PumaContextCommandBox.processUpdateRequestNow(THING_ACTIONS) |
protected void |
resetToDefaultConfig()
|
protected void |
startOpenGLCanvas(boolean wrapInJFrameFlag,
WindowListener optWinLis)
|
void |
startRepositoryConfigServices()
|
protected void |
stopAndReleaseAllHumanoids()
|
| 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 |
| Constructor Detail |
|---|
public PumaAppContext(org.osgi.framework.BundleContext bc,
PumaContextMediator mediator,
org.appdapter.core.name.Ident ctxID)
| Method Detail |
|---|
public org.osgi.framework.BundleContext getBundleContext()
public boolean hasVWorldMapper()
public PumaVirtualWorldMapper getOrMakeVWorldMapper()
protected boolean hasWebMapper()
public PumaWebMapper getOrMakeWebMapper()
protected org.appdapter.help.repo.RepoClient getOrMakeMainConfigRC()
protected PumaContextMediator getMediator()
protected PumaConfigManager getConfigManager()
protected void startOpenGLCanvas(boolean wrapInJFrameFlag,
WindowListener optWinLis)
throws Exception
Exceptionpublic void startRepositoryConfigServices()
public void connectAllBodies()
Throwablepublic void makeAgentsForAllBodies(List<org.appdapter.core.name.Ident> charIdents)
protected List<org.appdapter.core.name.Ident> getAllCharIdents()
protected void connectDualBodies(List<org.appdapter.core.name.Ident> charIdents)
protected PumaDualBody connectDualBody(HumanoidConfig humCfg,
org.appdapter.core.name.Ident graphIdentForBony)
throws Throwable
Throwableprotected void reloadCommandSpace()
protected void initCinema(boolean clearFirst)
clearFirst - protected void connectWeb()
protected void resetToDefaultConfig()
protected void reloadBoneRobotConfig()
protected void reloadGlobalConfig()
protected void stopAndReleaseAllHumanoids()
protected void disconnectAllCharsAndMappers()
throws Throwable
Throwableprotected void reloadAll(boolean resetMainConfigFlag)
protected void resetMainConfigAndCheckThingActions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||