|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
com.kuka.roboticsAPI.controllerModel.sunrise.api.DynDfeLoggerModule
public class DynDfeLoggerModule
Represents a module to log DFE values.
| Nested Class Summary | |
|---|---|
static class |
DynDfeLoggerModule.DataTypes
Predefined set of possible data types for DFE values. |
| Constructor Summary | |
|---|---|
DynDfeLoggerModule(String instanceName,
int logFileSize,
String logFileName)
Creates a new instance of the DynDfeLogger module. |
|
DynDfeLoggerModule(String loadName,
String instanceName,
int logFileSize,
String logFileName)
Creates a new instance of the DynDfeLogger module. |
|
| Method Summary | |
|---|---|
void |
addConversionFactor(String portName,
double conversionFactor)
Adds a conversion factor to an already configured DFE of the DynDFELogger. |
InPort |
addLoggableDFE(String portName,
DynDfeLoggerModule.DataTypes dataType,
int arraySizeDim1,
int arraySizeDim2)
Adds a loggable DFE to the sunrise module. |
static boolean |
loadDynDFELogger(SunriseController controller,
String instanceName)
loads the dynamic DFE logger. |
static boolean |
unloadDynDFELogger(SunriseController controller,
String instanceName)
unloads the dynamic DFE logger. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module |
|---|
getComponentType, getComponentVersion |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, hasSameDataAs, onAsyncEvent, onFinished, onInitialize, onSerialization, onSPRStateChanged, onSPRStateChangedSync, setInstanceName, setName, toString, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DynDfeLoggerModule(String instanceName,
int logFileSize,
String logFileName)
instanceName - the instance name to use for the logger.logFileSize - the size of the log file to be createdlogFileName - the name of the log file to be created
public DynDfeLoggerModule(String loadName,
String instanceName,
int logFileSize,
String logFileName)
loadName - the name of the logger (= instance name of the loaded
compound).instanceName - the instance name to use for the logger.logFileSize - the size of the log file to be createdlogFileName - the name of the log file to be created| Method Detail |
|---|
public InPort addLoggableDFE(String portName,
DynDfeLoggerModule.DataTypes dataType,
int arraySizeDim1,
int arraySizeDim2)
portName - the name of the InPort which should be associated with the DFEdataType - the type of the DFE valuearraySizeDim1 - array size of the DFE value (dimension 1)arraySizeDim2 - array size of the DFE value (dimension 2)
public void addConversionFactor(String portName,
double conversionFactor)
portName - the name of the InPort which should be multiplied with the
conversionFactorconversionFactor - factor which is multiplied
public static boolean loadDynDFELogger(SunriseController controller,
String instanceName)
controller - controller that must load the logger.instanceName - instance name for the logger.
IllegalStateException - if DynDFELogger could not be loaded.
public static boolean unloadDynDFELogger(SunriseController controller,
String instanceName)
controller - controller that must unload the logger.instanceName - instance name for the existing logger.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||