com.kuka.roboticsAPI.controllerModel
Class StatePortLogger

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.StatePortLogger

public class StatePortLogger
extends Object

Logger that logs directly into the Sunrise stateport.


Field Summary
protected static Logger STATE_PORT_LOG
          The state port logger.
static String STATE_PORT_LOGGER_NAME
          The name of the state port logger.
 
Constructor Summary
protected StatePortLogger(String kxrModuleName, String titleCaption)
          Creates a new StatePortLogger with the specified KXR-module name and the title.
 
Method Summary
protected  StatePortLogRecord createStatePort(StatePortData.PropertyState childState)
          creates a new StatePortLogRecord with the PropertyState as its child.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_PORT_LOGGER_NAME

public static final String STATE_PORT_LOGGER_NAME
The name of the state port logger.

See Also:
Constant Field Values

STATE_PORT_LOG

protected static final Logger STATE_PORT_LOG
The state port logger.

Constructor Detail

StatePortLogger

protected StatePortLogger(String kxrModuleName,
                          String titleCaption)
Creates a new StatePortLogger with the specified KXR-module name and the title.

Parameters:
kxrModuleName - the kxr module name. Must match the module name and file name of the corresponding KXR file.
titleCaption - the caption of the main title in the state port log entry.
Method Detail

createStatePort

protected StatePortLogRecord createStatePort(StatePortData.PropertyState childState)
creates a new StatePortLogRecord with the PropertyState as its child.

Parameters:
childState - the child state with the "real" log content.
Returns:
the log entry


Copyright © 2019. All rights reserved.