aicas logoJamaica 6.4 release 1

javax.realtime.device
Class RawMemoryRegion

java.lang.Object
  extended by javax.realtime.device.RawMemoryRegion

public class RawMemoryRegion
extends Object

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.

Since:
RTSJ 2.0

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

getRegion

public static RawMemoryRegion getRegion(String name)
Get the raw memory region with given name.

Parameters:
name - of the region
Returns:
the requested region

isRawMemoryRegion

public static boolean isRawMemoryRegion(String name)
A predicate on names for raw memory regions

Parameters:
name - is the name to check
Returns:
true when name names an existing raw memory region.

getName

public final String getName()
Obtain the name of this raw memory region.

Returns:
the regions name

toString

public final String toString()
Obtain a string representation of this.

Overrides:
toString in class Object
Returns:
the string representation of this.

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.