javax.realtime
Class RawMemoryAccess
java.lang.Object
|
+--javax.realtime.RawMemoryAccess
- Direct Known Subclasses:
- RawMemoryFloatAccess
- public class RawMemoryAccess
- extends java.lang.Object
Field Summary |
protected long |
base
|
protected long |
size
|
Method Summary |
byte |
getByte(long offset)
|
void |
getBytes(long offset,
byte[] bytes,
int low,
int number)
|
int |
getInt(long offset)
|
void |
getInts(long offset,
int[] ints,
int low,
int number)
|
long |
getLong(long offset)
|
void |
getLongs(long offset,
long[] longs,
int low,
int number)
|
long |
getMappedAddress()
|
short |
getShort(long offset)
|
void |
getShorts(long offset,
short[] shorts,
int low,
int number)
|
long |
map()
|
long |
map(long base)
|
long |
map(long base,
long size)
|
void |
setByte(long offset,
byte value)
|
void |
setBytes(long offset,
byte[] bytes,
int low,
int number)
|
void |
setInt(long offset,
int value)
|
void |
setInts(long offset,
int[] ints,
int low,
int number)
|
void |
setLong(long offset,
long value)
|
void |
setLongs(long offset,
long[] longs,
int low,
int number)
|
void |
setShort(long offset,
short value)
|
void |
setShorts(long offset,
short[] shorts,
int low,
int number)
|
void |
unmap()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
base
protected long base
size
protected long size
RawMemoryAccess
public RawMemoryAccess(java.lang.Object type,
long base,
long size)
throws java.lang.SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
RawMemoryAccess
public RawMemoryAccess(java.lang.Object type,
long size)
throws java.lang.SecurityException,
OffsetOutOfBoundsException,
SizeOutOfBoundsException,
UnsupportedPhysicalMemoryException,
MemoryTypeConflictException
getByte
public byte getByte(long offset)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getBytes
public void getBytes(long offset,
byte[] bytes,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getInt
public int getInt(long offset)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getInts
public void getInts(long offset,
int[] ints,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getLong
public long getLong(long offset)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getLongs
public void getLongs(long offset,
long[] longs,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getShort
public short getShort(long offset)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getShorts
public void getShorts(long offset,
short[] shorts,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setByte
public void setByte(long offset,
byte value)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setBytes
public void setBytes(long offset,
byte[] bytes,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setInt
public void setInt(long offset,
int value)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setInts
public void setInts(long offset,
int[] ints,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setLong
public void setLong(long offset,
long value)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setLongs
public void setLongs(long offset,
long[] longs,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setShort
public void setShort(long offset,
short value)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
setShorts
public void setShorts(long offset,
short[] shorts,
int low,
int number)
throws OffsetOutOfBoundsException,
SizeOutOfBoundsException
getMappedAddress
public long getMappedAddress()
map
public long map()
map
public long map(long base)
map
public long map(long base,
long size)
unmap
public void unmap()
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.