Real-Time Java AOCS Framework v1.0 API Specification

JbedSmmApplication.UnitManagement
Class TestSmmAnalogActuator

java.lang.Object
  |
  +--RtjAocsFramework.BasicObjects.RootObject
        |
        +--RtjAocsFramework.BasicObjects.AocsObject
              |
              +--RtjAocsFramework.UnitManagement.Unit
                    |
                    +--JbedSmmApplication.UnitManagement.TestSmmAnalogActuator
All Implemented Interfaces:
Configurable, DataSink, DataSource, Resettable, Telemeterable, UnitFunctional, UnitHousekeeping

public class TestSmmAnalogActuator
extends Unit

Test analog actuator component developed for the SMM application deployed on a desktop.

Copyright: see the Copyright Notice.

Version:
1.0
Author:
Vaclav Cechticky (IfA ETHZ), Alessandro Pasetti (University of Konstanz)
See Also:
Unit Framelet Document

Field Summary
 
Fields inherited from class RtjAocsFramework.UnitManagement.Unit
fcDestInput, fcDestLink, fcHwInpBuf, fcHwOutBuf, hkDestInput, hkDestLink, hkHwInpBuf
 
Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM
 
Constructor Summary
TestSmmAnalogActuator()
          Creates a new AnalogActuator object.
 
Method Summary
 void acquireFunctionalData()
          Initiates the transaction(s) for the acquisition of functional data from the unit.
 void acquireHousekeepingData()
          Initiate the transaction(s) for the acquisition of housekeeping data from the unit.
 int getSelfTestResults()
          Return an integer representing the outcome of the self-test.
 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.
 void initialize()
          A call to initialize() causes this initialization procedure to be carried out.
 boolean isAcquireTransactionFinished()
          The method returns the completion status of the acquisition.
 boolean isHousekeepingTransactionFinished()
          The method returns the completion status of the housekeeping transaction.
 void isInitialized()
          Check a status of the initialization process.
 boolean isSelfTestFinished()
          Return true when the self test has been completed.
 boolean isSendTransactionFinished()
          The method returns the completion status of the send transaction.
 boolean isSwitchedOn()
          Retrieve the power status of the unit.
 boolean isSynchronizeFunctionalFinished()
          Check whether the underlying transaction has been completed.
 boolean isSynchronizeHousekeepingFinished()
          Check whether the underlying transaction has been completed.
 void performSelfTest()
          Start a self-test.
 void refreshHousekeepingIn()
          Housekeeping data are acquired at raw data level and placed in a hardware buffer internal to the unit.
 void resetUnit()
          Reset the external unit.
 void sendFunctionalData()
          Writes the output data to the standard output.
 void switchOff()
          Switch off the unit.
 void switchOn()
          Switch on the unit.
 void synchronizeFunctional()
          Initiate a synchronization operation for the functional data.
 void synchronizeHousekeeping()
          Initiate a synchronization operation for the housekeeping data.
 void writeToTelemetry(TelemetryStream stream)
          Causes the object to write its own state to the telemetry stream.
 
Methods inherited from class RtjAocsFramework.UnitManagement.Unit
getNumberOfInputs, getNumberOfOutputs, getOutput, getType, isConfigured, refreshFunctionalIn, refreshFunctionalOut, reset, resetConfiguration, setFunctionalInConverter, setFunctionalInLink, setFunctionalInLink, setFunctionalOutConverter, setFunctionalOutLink, setFunctionalOutLink, setHkBufferSize, setHousekeepingConverter, setHousekeepingLink, setHousekeepingLink, setInBufferSize, setInput, setOutBufferSize
 
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
 
Methods inherited from class RtjAocsFramework.BasicObjects.RootObject
getClassId, getInstanceId, setClassId
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSmmAnalogActuator

public TestSmmAnalogActuator()
Creates a new AnalogActuator object.

Method Detail

performSelfTest

public void performSelfTest()
Start a self-test. The method is not implemented for this particular component.


isSelfTestFinished

public boolean isSelfTestFinished()
Return true when the self test has been completed. The method is not implemented for this particular component.


getSelfTestResults

public int getSelfTestResults()
Return an integer representing the outcome of the self-test. The method is not implemented for this particular component.


initialize

public void initialize()
A call to initialize() causes this initialization procedure to be carried out. The method is not implemented for this particular component.


isInitialized

public void isInitialized()
Check a status of the initialization process. The method is not implemented for this particular component.


switchOn

public void switchOn()
Switch on the unit. The method is not implemented for this particular component.


switchOff

public void switchOff()
Switch off the unit. The method is not implemented for this particular component.


isSwitchedOn

public boolean isSwitchedOn()
Retrieve the power status of the unit. The method is not implemented for this particular component.


resetUnit

public void resetUnit()
Reset the external unit. Note that this is different from the generic reset method that applies to all objects in the application. The method resetUnit() issues commands to reset an external unit. The method is not implemented for this particular component.


acquireHousekeepingData

public void acquireHousekeepingData()
Initiate the transaction(s) for the acquisition of housekeeping data from the unit. The method is not implemented for this particular component.


isHousekeepingTransactionFinished

public boolean isHousekeepingTransactionFinished()
The method returns the completion status of the housekeeping transaction. The method is not implemented for this particular component.

Returns:
true value if the acquire transaction has been finished

refreshHousekeepingIn

public void refreshHousekeepingIn()
Housekeeping data are acquired at raw data level and placed in a hardware buffer internal to the unit. A call to this method causes them to be converted to customized data level and transferred to a data pool location. The method is not implemented for this particular component.

Specified by:
refreshHousekeepingIn in interface UnitHousekeeping
Overrides:
refreshHousekeepingIn in class Unit

synchronizeHousekeeping

public void synchronizeHousekeeping()
Initiate a synchronization operation for the housekeeping data. The method is not implemented for this particular component.


isSynchronizeHousekeepingFinished

public boolean isSynchronizeHousekeepingFinished()
Check whether the underlying transaction has been completed. The method is not implemented for this particular component.


acquireFunctionalData

public void acquireFunctionalData()
Initiates the transaction(s) for the acquisition of functional data from the unit. The method is not implemented for this particular component.


sendFunctionalData

public void sendFunctionalData()
Writes the output data to the standard output.


isAcquireTransactionFinished

public boolean isAcquireTransactionFinished()
The method returns the completion status of the acquisition. The method is not implemented for this particular component.

Returns:
true value if the acquire transaction has been finished

isSendTransactionFinished

public boolean isSendTransactionFinished()
The method returns the completion status of the send transaction. The method is not implemented for this particular component.

Returns:
true value if the send transaction has been finished

synchronizeFunctional

public void synchronizeFunctional()
Initiate a synchronization operation for the functional data. The method is not implemented for this particular component.


isSynchronizeFunctionalFinished

public boolean isSynchronizeFunctionalFinished()
Check whether the underlying transaction has been completed. The method is not implemented for this particular component.

Returns:
true value if the transaction has been completed

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 Unit
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 Unit
Parameters:
stream - the telemetry stream

Real-Time Java AOCS Framework v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland