|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface implemented by telemetry streams. The term telemetry stream is used to designate the physical entity to which telemetry is written. In most cases, this is a memory buffer where telemetry data are to be copied and from which dedicated hardware will then transfer them in DMA mode to the system bus. In other implementations, the telemetry stream could be an I/O port directly connected to the system bus interface. A telemtry stream thus represents the data sink to which telemetry data are written.
Copyright: see the Copyright Notice.
| Method Summary | |
void |
flushBuffer()
Flush the current telemetry frame to the telemetry stream |
int |
getBufferSize()
Return the size of the telemetry buffer in bytes |
void |
resetBuffer()
Reset the telemetry buffer |
void |
setBufferSize(int size)
Set the size of the telemetry buffer in bytes. |
void |
write(boolean d)
Write the boolean 'd' to the telemetry stream |
void |
write(byte d,
int n,
int m)
Write bits n to m of byte 'd' to the telemetry stream |
void |
write(double d)
Write the double 'd' to the telemetry stream |
void |
write(float d)
Write the float 'd' to the telemetry stream |
void |
write(int d)
Write the integer 'd' to the telemetry stream |
void |
write(int address,
int n)
Write to telemetry stream n bytes starting from address 'address' |
void |
write(int d,
int n,
int m)
Write bits n to m of integer 'd' to the telemetry stream |
void |
write(short d)
Write the short integer 'd' to the telemetry stream |
void |
write(short d,
int n,
int m)
Write bits n to m of short 'd' to the telemetry stream |
void |
writeFrameNumber(int n)
Write the telemetry frame number to the telemetry stream. |
void |
writeNumberOfBits(int n)
Write the number of bits in the current frame to the telemetry stream. |
void |
writeNumberOfBytes(int n)
Write the number of bytes in the current frame to the telemetry stream. |
| Method Detail |
public void writeFrameNumber(int n)
n - the telemetry frame number.public void writeNumberOfBytes(int n)
n - the number of bytes in the current telemetry frame.public void writeNumberOfBits(int n)
n - the number of bits that were written using bit writing methods. The
bit writing methods are those that write individual bits to the telemetry
stream.
public void write(int address,
int n)
public void write(double d)
public void write(float d)
public void write(int d)
public void write(short d)
public void write(boolean d)
public void write(int d,
int n,
int m)
public void write(short d,
int n,
int m)
public void write(byte d,
int n,
int m)
public void flushBuffer()
public void resetBuffer()
public int getBufferSize()
public void setBufferSize(int size)
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||