org.cogchar.bind.rk.robot.svc
Class RobotServiceContext<R extends org.robokind.api.motion.Robot>

java.lang.Object
  extended by org.appdapter.core.log.BasicDebugger
      extended by org.cogchar.bind.rk.robot.svc.RobotServiceContext<R>
All Implemented Interfaces:
org.appdapter.core.log.Loggable
Direct Known Subclasses:
BlendingRobotServiceContext

public class RobotServiceContext<R extends org.robokind.api.motion.Robot>
extends org.appdapter.core.log.BasicDebugger

Author:
Stu B.

Field Summary
protected  org.osgi.framework.BundleContext myBundleCtx
           
 
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
RobotServiceContext(org.osgi.framework.BundleContext bundleCtx)
           
 
Method Summary
static void clearRobots()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 R getRobot()
           
protected  void launchRemoteHost(String connectionConfigId)
           
 void registerAndStart(R robot, String connectionConfigId)
           
protected  void registerRobot(R robot)
           
 void startJointGroup(File jointGroupConfigXML_file)
           
 void startJointGroup(InputStream jointGroupConfigXML_stream)
           
 
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

myBundleCtx

protected org.osgi.framework.BundleContext myBundleCtx
Constructor Detail

RobotServiceContext

public RobotServiceContext(org.osgi.framework.BundleContext bundleCtx)
Method Detail

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

getRobot

public R getRobot()

registerRobot

protected void registerRobot(R robot)
                      throws Exception
Throws:
Exception

launchRemoteHost

protected void launchRemoteHost(String connectionConfigId)

registerAndStart

public void registerAndStart(R robot,
                             String connectionConfigId)
                      throws Throwable
Throws:
Throwable

startJointGroup

public void startJointGroup(File jointGroupConfigXML_file)

startJointGroup

public void startJointGroup(InputStream jointGroupConfigXML_stream)

clearRobots

public static void clearRobots()


Copyright © 2010-2013. All Rights Reserved.