|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectau.gov.aao.drama.Sdp
public class Sdp
This class implements an interface to the
DramaTask,
SdsID,
Arg| Nested Class Summary | |
|---|---|
static class |
Sdp.Sds
This class is used to access the value Sdp parameter using SdsID and Arg class methods. |
| Field Summary | |
|---|---|
static String |
RCSID
The RCS (ACMM) ID. |
| Method Summary | |
|---|---|
static boolean |
BoolValue(String Name)
Return an boolean from a named Sdp parameter. |
static void |
CreateItem(SdsID id)
Create a parameter by inserting the specified Sds structure into the parameter system. |
static void |
CreateItem(String Name,
char value)
Create a char (8 bit) parameter. |
static void |
CreateItem(String Name,
double value)
Create a double length floating point parameter. |
static void |
CreateItem(String Name,
int value)
Create a int (32bit) parameter. |
static void |
CreateItem(String Name,
long value)
Create a long (64 bit) parameter. |
static void |
CreateItem(String Name,
short value)
Create a short (16 bit) parameter. |
static void |
CreateItem(String Name,
String value)
Create a string parameter. |
static void |
Init(DramaTask task)
Add the SDP parameter system to a DRAMA task. |
static int |
IntValue(String Name)
Return an integer (up to 32 bit value) from a named Sdp parameter. |
static void |
Put(String Name,
boolean value)
Put an boolean item into an Sdp parameter. |
static void |
Put(String Name,
boolean copy,
SdsID value)
Replace the SDS structure representing the named parameter with the supplied structure. |
static void |
Put(String Name,
char value)
Put a char (8 bit) item into an Sdp parameter. |
static void |
Put(String Name,
double value)
Put an double length floating point item into an Sdp parameter. |
static void |
Put(String Name,
int value)
Put an int (32 bit) item into an Sdp parameter. |
static void |
Put(String Name,
long value)
Put an long (64 bit) item into an Sdp parameter. |
static void |
Put(String Name,
short value)
Put a short (16 bit) item into an Sdp parameter |
static void |
Put(String Name,
String value)
Put an string item into an Sdp parameter. |
static double |
RealValue(String Name)
Return an real from a named Sdp parameter. |
static String |
StringValue(String Name)
Return an string from a named Sdp parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RCSID
| Method Detail |
|---|
public static void Init(DramaTask task)
throws DramaException
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(SdsID id)
throws DramaException
id - The SDS structure to insert into the parameter system.
This must represent a top level SDS internal structure.
The SdsID is modified such that the the structure
will not be delete when the SdsID is finialized.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
char value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
short value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
int value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
long value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
double value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void CreateItem(String Name,
String value)
throws DramaException
Name - The name of the parameter to create.value - The initial value of the parameter.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
char value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
short value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
int value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
long value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
double value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
boolean value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
String value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.
DramaException - Thrown on errors in the DRAMA code.
public static void Put(String Name,
boolean copy,
SdsID value)
throws DramaException
Name - The name of the Sdp parameter to insert in to.value - The value to insert.copy - If true, we must insert a copy of the Sds
structure refered to by value into the
parameter system.
DramaException - Thrown on errors in the DRAMA code.
public static int IntValue(String Name)
throws DramaException
Name - The name of the Parameter the value of which is
to be returned.
DramaException - Thrown on errors in the DRAMA code.
public static double RealValue(String Name)
throws DramaException
Name - The name of the Parameter the value of which is
to be returned.
DramaException - Thrown on errors in the DRAMA code.
public static boolean BoolValue(String Name)
throws DramaException
Name - The name of the Parameter the value of which is
to be returned.
DramaException - Thrown on errors in the DRAMA code.
public static String StringValue(String Name)
throws DramaException
Name - The name of the Parameter the value of which is
to be returned.
DramaException - Thrown on errors in the DRAMA code.
|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au.