|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.realtime.device.RawMemoryRegion
public class RawMemoryRegion
RawMemoryRegion is a tagging interface for objects that identify raw
memory _regions_. It is returned by the
RawMemoryRegionFactory.getRegion()
methods of the raw memory region
factory classes, and it is used with methods such as
RawMemoryFactory.createRawByte(RawMemoryRegion, long, int, int)
and RawMemoryFactory.createRawDouble(RawMemoryRegion, long, int, int)
methods to identify the region from which the application wants to
get an accessor instance.
This is distinct from the, similarly named
PhysicalMemoryName
class, which is used with
memory area classes, specifically
ImmortalPhysicalMemory
and
LTPhysicalMemory
.
Method Summary | |
---|---|
String |
getName()
Obtain the name of this raw memory region. |
static RawMemoryRegion |
getRegion(String name)
Get the raw memory region with given name. |
static boolean |
isRawMemoryRegion(String name)
A predicate on names for raw memory regions |
String |
toString()
Obtain a string representation of this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static RawMemoryRegion getRegion(String name)
name
- of the region
public static boolean isRawMemoryRegion(String name)
name
- is the name to check
name
names an existing raw memory region.public final String getName()
public final String toString()
toString
in class Object
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |