RtjAocsFramework.SequentialDataProcessing
Class AdderBlock
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.SequentialDataProcessing.AbstractControlChannel
|
+--RtjAocsFramework.SequentialDataProcessing.ControlChannelBlock
|
+--RtjAocsFramework.SequentialDataProcessing.AdderBlock
- All Implemented Interfaces:
- Configurable, DataSink, DataSource, Resettable, Telemeterable
- public class AdderBlock
- extends ControlChannelBlock
AdderBlock is a simple adder output. The block implements the following
multi-input-single-output transfer function: y = u0 + u1.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Tim Brown, Vaclav Cechticky (IfA ETHZ)
- See Also:
- The Sequential Data Processing Framelet Document
|
Constructor Summary |
AdderBlock()
Creates a new AdderBlock object with two inputs and one output. |
|
Method Summary |
int |
getTelemetryImageLength()
Return the length in bits of the telemetry image that would be written by
the object in response to a call to method writeToTelemetry. |
protected void |
propagationAlgorithm(int t)
The propagation algorithm of the adder block. |
void |
resetConfiguration()
Resets configuration of the super object and performs the local reset of the configuration. |
void |
writeToTelemetry(TelemetryStream stream)
Causes the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.SequentialDataProcessing.ControlChannelBlock |
getNumberOfStates, getOutput, getState, getValidityTime, isConfigured, isOnHold, linkInput, linkInput, propagate, reset, resetMemory, setInput, setInputSize, setOnHold, setOutputSize, setState, setStateSize |
| Methods inherited from class RtjAocsFramework.SequentialDataProcessing.AbstractControlChannel |
getEnclosingControlChannel, getIllegalTimeRecoveryAction, getLastPropagatedTime, getNumberOfInputs, getNumberOfOutputs, getPropagationToken, reset, setEnclosingControlChannel, setIllegalTimeRecoveryAction, setNumberOfInputs, setNumberOfOutputs, setPropagationToken |
| Methods inherited from class RtjAocsFramework.BasicObjects.AocsObject |
addConfigurationListener, addFailureListener, finalize, getAocsClock, getConfigurationListenerList, getCycle, getDestructionRecoveryAction, getFailureListenerList, getSystemManager, getTelemetryFormat, getTime, removeConfigurationListener, removeFailureListener, reportConfigurationEvent, reportFailure, resetStaticConfiguration, setAocsClock, setDestructionRecoveryAction, setMaxNumberOfConfigurationListeners, setMaxNumberOfFailureListeners, setSystemManager, setTelemetryFormat |
AdderBlock
public AdderBlock()
- Creates a new AdderBlock object with two inputs and one output.
propagationAlgorithm
protected void propagationAlgorithm(int t)
- The propagation algorithm of the adder block.
- Specified by:
propagationAlgorithm in class ControlChannelBlock
- Parameters:
t - the target time
resetConfiguration
public void resetConfiguration()
- Resets configuration of the super object and performs the local reset of the configuration.
- Specified by:
resetConfiguration in interface Configurable- Overrides:
resetConfiguration in class ControlChannelBlock
getTelemetryImageLength
public int getTelemetryImageLength()
- Return the length in bits of the telemetry image that would be written by
the object in response to a call to method writeToTelemetry.
- Specified by:
getTelemetryImageLength in interface Telemeterable- Overrides:
getTelemetryImageLength in class AocsObject
- Returns:
- the length in bits of the telemetry image
writeToTelemetry
public void writeToTelemetry(TelemetryStream stream)
- Causes the object to write its own state to the telemetry stream.
- Specified by:
writeToTelemetry in interface Telemeterable- Overrides:
writeToTelemetry in class AocsObject
- Parameters:
stream - the telemetry stream
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland