![]() |
Accelerator Independent Data Access / PVAccess 2.0
AIDA-PVA is the latest version of the AIDA framework. Built on top of EPICS 7 it enables client applications to programmatically access and manage any device or database on the SLAC Network using simple channel names.
|
Master Oscillator Native Provider implementation. More...
Go to the source code of this file.
Functions | |
double | aidaRequestDouble (JNIEnv *env, const char *uri, Arguments arguments) |
Get a double. More... | |
Table | aidaRequestTable (JNIEnv *env, const char *uri, Arguments arguments) |
Get a table of data. More... | |
REQUEST_STUB_BOOLEAN REQUEST_STUB_BYTE REQUEST_STUB_SHORT REQUEST_STUB_INTEGER REQUEST_STUB_LONG REQUEST_STUB_FLOAT REQUEST_STUB_STRING REQUEST_STUB_BOOLEAN_ARRAY REQUEST_STUB_BYTE_ARRAY REQUEST_STUB_SHORT_ARRAY REQUEST_STUB_INTEGER_ARRAY REQUEST_STUB_LONG_ARRAY REQUEST_STUB_FLOAT_ARRAY REQUEST_STUB_DOUBLE_ARRAY REQUEST_STUB_STRING_ARRAY SET_STUB_VOID void | aidaServiceInit (JNIEnv *env) |
Initialise the service. More... | |
Table | aidaSetValueWithResponse (JNIEnv *env, const char *uri, Arguments arguments, Value value) |
Set a value and return a table as a response. More... | |
Master Oscillator Native Provider implementation.
MEMBER=SLCLIBS:AIDA_PVALIB ATTRIBUTES=JNI,LIBR_NOGLOBAL
Definition in file AIDASLCMOSC_SERVER.c.
double aidaRequestDouble | ( | JNIEnv * | env, |
const char * | uri, | ||
Arguments | arguments | ||
) |
Get a double.
env | to be used to throw exceptions using aidaThrow() and aidaThrowNonOsException() |
uri | the uri |
arguments | the arguments |
Definition at line 54 of file AIDASLCMOSC_SERVER.c.
References aidaThrow(), aidaThrowNonOsException(), CONVERT_FROM_VMS_DOUBLE, and UNABLE_TO_GET_DATA_EXCEPTION.
Referenced by aidaRequestTable().
Get a table of data.
env | to be used to throw exceptions using aidaThrow() and aidaThrowNonOsException() |
uri | the uri |
arguments | the arguments |
Definition at line 84 of file AIDASLCMOSC_SERVER.c.
References aidaRequestDouble(), ON_EXCEPTION_RETURN_, tableAddSingleRowDoubleColumn(), and tableCreate().
Initialise the service.
Initialise the aida service.
env | to be used to throw exceptions using aidaThrow() and aidaThrowNonOsException() |
ServerInitialisationException | if the service fails to initialise |
Definition at line 35 of file AIDASLCMOSC_SERVER.c.
References aidaThrow(), init(), and SERVER_INITIALISATION_EXCEPTION.
Set a value and return a table as a response.
env | to be used to throw exceptions using aidaThrow() and aidaThrowNonOsException() |
uri | the uri |
arguments | the arguments |
value | to set |
Definition at line 110 of file AIDASLCMOSC_SERVER.c.
References aidaThrow(), aidaThrowNonOsException(), CONVERT_TO_VMS_FLOAT, FREE_MEMORY, ON_EXCEPTION_RETURN_, RETURN_NULL_TABLE, tableAddSingleRowDoubleColumn(), tableCreate(), TRACK_ALLOCATED_MEMORY, TRACK_MEMORY, and UNABLE_TO_SET_DATA_EXCEPTION.