|
||||||||||
| 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.DevFailedpublic java.lang.String getName()
getName in interface IPollablepublic 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.DevFailedpublic CommandHistory getHistory()
public java.lang.String toString()
toString in class DeviceBehaviorObjectpublic ICommandBehavior getBehavior()
public int getPollingPeriod()
getPollingPeriod in interface IPollablepublic boolean isPolled()
isPolled in interface IPollable
public void configurePolling(int pollingPeriod)
throws fr.esrf.Tango.DevFailed
configurePolling in interface IPollablefr.esrf.Tango.DevFailed
public void resetPolling()
throws fr.esrf.Tango.DevFailed
resetPolling in interface IPollablefr.esrf.Tango.DevFailed
public void updatePollingConfigFromDB()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic int compareTo(CommandImpl o)
compareTo in interface java.lang.Comparable<CommandImpl>public int getPollRingDepth()
getPollRingDepth in interface IPollablepublic void setPollRingDepth(int pollRingDepth)
setPollRingDepth in interface IPollablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic double getExecutionDuration()
getExecutionDuration in interface IPollablepublic double getLastUpdateTime()
getLastUpdateTime in interface IPollablepublic double getDeltaTime()
getDeltaTime in interface IPollable
public void setPollingStats(double executionDuration,
double lastUpdateTime,
double deltaTime)
setPollingStats in interface IPollablepublic java.lang.String getLastDevFailed()
getLastDevFailed in interface IPollable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||