|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Video
The Video interface allows the processor to output data or to request input. If a video implementation is not provided to the processor, SaM READ commands will place a 0 on the stack, and WRITE commands will not output any data
| Method Summary | |
|---|---|
char |
readChar()
Request character input from the video implementation |
float |
readFloat()
Request floating point input from the video implementation |
int |
readInt()
Requests integer input from the video implementation |
java.lang.String |
readString()
Request String input from the video implementation |
void |
writeChar(char c)
Writes character output to the video implementation |
void |
writeFloat(float f)
Writes floating point output to the video implementation |
void |
writeInt(int i)
Writes integer output to the video implementation |
void |
writeString(java.lang.String str)
Writes string output to the video implementation |
| Method Detail |
|---|
void writeInt(int i)
i - The integer to be writtenvoid writeString(java.lang.String str)
str - The string to be writtenvoid writeFloat(float f)
f - The float to be writtenvoid writeChar(char c)
c - The character to be writtenint readInt()
float readFloat()
char readChar()
java.lang.String readString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||