Class RemotedTI
java.lang.Object
|
+--DigitalComponent_std
|
+--RemotedTI
- public class RemotedTI
- extends DigitalComponent_std
- implements DigitalComponent
Instances of this class receive remote control codes and answer like a TI does.
-Pin 1 : input 0.
-Pin 2 : input 1.
-Pin 3 : output 0.
-Pin 4 : output 1.
You can read the source of this class here.
Method Summary |
java.lang.String |
getState()
Returns the state of the component. |
void |
notifyOneCycle()
This method is called by a PIC at each instruction execution if the component asked so. |
void |
setPinStateDontNotify(int p,
boolean state)
Sets pin p of the component to the requested state without notifying the caller,
this is used by the notifying routine of the Pin, so you should add here the code handling
the response of the DigitalComponent to a change on its pins. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RemotedTI
public RemotedTI(DigitalComponentUI dui)
RemotedTI
public RemotedTI()
setPinStateDontNotify
public void setPinStateDontNotify(int p,
boolean state)
- Description copied from interface: DigitalComponent
- Sets pin p of the component to the requested state without notifying the caller,
this is used by the notifying routine of the Pin, so you should add here the code handling
the response of the DigitalComponent to a change on its pins.
- Specified by:
- setPinStateDontNotify in interface DigitalComponent
- Overrides:
- setPinStateDontNotify in class DigitalComponent_std
getState
public java.lang.String getState()
- Description copied from interface: DigitalComponent
- Returns the state of the component.
- Specified by:
- getState in interface DigitalComponent
- Overrides:
- getState in class DigitalComponent_std
notifyOneCycle
public void notifyOneCycle()
- Description copied from interface: DigitalComponent
- This method is called by a PIC at each instruction execution if the component asked so.
- Specified by:
- notifyOneCycle in interface DigitalComponent
- Overrides:
- notifyOneCycle in class DigitalComponent_std