|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tango.server.DeviceBehaviorObject
org.tango.server.command.CommandImpl
public final class CommandImpl
Field Summary | |
---|---|
static int |
TANGO_EXPERT_CMD
|
static int |
TANGO_OPERATOR_CMD
|
Constructor Summary | |
---|---|
CommandImpl(ICommandBehavior behavior,
java.lang.String deviceName)
|
Method Summary | |
---|---|
void |
addErrorToHistory(fr.esrf.Tango.DevFailed e)
|
void |
addToHistory(java.lang.Object value)
|
int |
compareTo(CommandImpl o)
|
void |
configurePolling(int pollingPeriod)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
execute(java.lang.Object dataIn)
Execute the command. |
ICommandBehavior |
getBehavior()
|
double |
getDeltaTime()
|
fr.esrf.Tango.DispLevel |
getDisplayLevel()
|
double |
getExecutionDuration()
|
CommandHistory |
getHistory()
|
int |
getInTangoType()
|
org.tango.command.CommandTangoType |
getInType()
Return the input parameter type. |
java.lang.String |
getInTypeDesc()
Return the input parameter description. |
java.lang.String |
getLastDevFailed()
|
double |
getLastUpdateTime()
|
java.lang.String |
getName()
Return the command name. |
int |
getOutTangoType()
|
org.tango.command.CommandTangoType |
getOutType()
Return the output parameter type. |
java.lang.String |
getOutTypeDesc()
Return the output parameter description. |
int |
getPollingPeriod()
|
int |
getPollRingDepth()
|
int |
getTag()
|
int |
hashCode()
|
boolean |
isArginPrimitive()
|
boolean |
isPolled()
|
void |
resetPolling()
|
void |
setDisplayLevel(fr.esrf.Tango.DispLevel level)
|
void |
setPollingStats(double executionDuration,
double lastUpdateTime,
double deltaTime)
|
void |
setPollRingDepth(int pollRingDepth)
|
java.lang.String |
toString()
|
void |
updatePollingConfigFromDB()
|
Methods inherited from class org.tango.server.DeviceBehaviorObject |
---|
getDeniedStates, getEndState, isAllowed, setDeniedStates, setEndState, setStateMachine |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TANGO_OPERATOR_CMD
public static final int TANGO_EXPERT_CMD
Constructor Detail |
---|
public CommandImpl(ICommandBehavior behavior, java.lang.String deviceName) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
Method Detail |
---|
public java.lang.Object execute(java.lang.Object dataIn) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public java.lang.String getName()
getName
in interface IPollable
public org.tango.command.CommandTangoType getInType()
public int getInTangoType()
public boolean isArginPrimitive()
public org.tango.command.CommandTangoType getOutType()
public int getOutTangoType()
public java.lang.String getInTypeDesc()
public java.lang.String getOutTypeDesc()
public int getTag()
public fr.esrf.Tango.DispLevel getDisplayLevel()
public void setDisplayLevel(fr.esrf.Tango.DispLevel level)
public void addToHistory(java.lang.Object value) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void addErrorToHistory(fr.esrf.Tango.DevFailed e) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public CommandHistory getHistory()
public java.lang.String toString()
toString
in class DeviceBehaviorObject
public ICommandBehavior getBehavior()
public int getPollingPeriod()
getPollingPeriod
in interface IPollable
public boolean isPolled()
isPolled
in interface IPollable
public void configurePolling(int pollingPeriod) throws fr.esrf.Tango.DevFailed
configurePolling
in interface IPollable
fr.esrf.Tango.DevFailed
public void resetPolling() throws fr.esrf.Tango.DevFailed
resetPolling
in interface IPollable
fr.esrf.Tango.DevFailed
public void updatePollingConfigFromDB() throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public int compareTo(CommandImpl o)
compareTo
in interface java.lang.Comparable<CommandImpl>
public int getPollRingDepth()
getPollRingDepth
in interface IPollable
public void setPollRingDepth(int pollRingDepth)
setPollRingDepth
in interface IPollable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public double getExecutionDuration()
getExecutionDuration
in interface IPollable
public double getLastUpdateTime()
getLastUpdateTime
in interface IPollable
public double getDeltaTime()
getDeltaTime
in interface IPollable
public void setPollingStats(double executionDuration, double lastUpdateTime, double deltaTime)
setPollingStats
in interface IPollable
public java.lang.String getLastDevFailed()
getLastDevFailed
in interface IPollable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |