com.kuka.nav.command
Class AbstractCommand<T extends com.kuka.command.IParameterizableCommand<T,E>,E extends com.kuka.command.ICommandExecutionContainer<T,?,?>>
java.lang.Object
com.kuka.nav.command.AbstractParameterizable
com.kuka.nav.command.AbstractCommand<T,E>
- Type Parameters:
T - type of the implementing commandE - type of the command execution container used for this command.
- All Implemented Interfaces:
- com.kuka.command.ICommand<T,E>, com.kuka.command.IParameterizableCommand<T,E>, com.kuka.parameters.IParameterizable
- Direct Known Subclasses:
- Action, Motion, SwitchServerCommand
public abstract class AbstractCommand<T extends com.kuka.command.IParameterizableCommand<T,E>,E extends com.kuka.command.ICommandExecutionContainer<T,?,?>>
- extends AbstractParameterizable
- implements com.kuka.command.IParameterizableCommand<T,E>
Base class for all navigation commands.
|
Constructor Summary |
protected |
AbstractCommand(Class<T> paramType)
Creates a new command with the given type. |
protected |
AbstractCommand(com.kuka.parameters.IParameterMap params)
Copy constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.parameters.IParameterizable |
getParameters |
AbstractCommand
protected AbstractCommand(Class<T> paramType)
- Creates a new command with the given type.
- Parameters:
paramType - the parameter type
AbstractCommand
protected AbstractCommand(com.kuka.parameters.IParameterMap params)
- Copy constructor. Creates a mew instance of the class containing the deep copy of the specified parameter map.
- Parameters:
params - parameter map containing the command parameters.
self
protected final T self()
- Returns a reference to this object.
- Returns:
- a reference to this object
setDescription
public final T setDescription(String description)
- Specified by:
setDescription in interface com.kuka.command.ICommand<T extends com.kuka.command.IParameterizableCommand<T,E>,E extends com.kuka.command.ICommandExecutionContainer<T,?,?>>
getDescription
public final String getDescription()
- Specified by:
getDescription in interface com.kuka.command.ICommand<T extends com.kuka.command.IParameterizableCommand<T,E>,E extends com.kuka.command.ICommandExecutionContainer<T,?,?>>
copy
public abstract T copy()
- Specified by:
copy in interface com.kuka.command.ICommand<T extends com.kuka.command.IParameterizableCommand<T,E>,E extends com.kuka.command.ICommandExecutionContainer<T,?,?>>
Copyright © 2019. All rights reserved.