public class CommonROEnumPropertyImpl extends ROCommonPropertyImpl
enumClass class in method' signatures.
enumClass must has standard Java CORBA generated metods of called fromInt(int) and value().| Modifier and Type | Class and Description |
|---|---|
static class |
CommonROEnumPropertyImpl.ROEnumProxy
RO enum proxy class.
|
CommonPropertyImpl.GetAsyncAction, CommonPropertyImpl.SetAsyncActiondataAccess, defaultTimerTrigger, defaultValue, historyPosition, historySize, historyTime, historyTurnaround, historyValue, m_logger, minTimerTrigger, mnemonicCompletion, mnemonicDataLock, mnemonicReadPending, mnemonicTime, mnemonicValue, mnemonicValueRetrival, monitors, propertyTypedescription, format, resolution, unitscharacteristicModelImpl, name, parentComponent, propertyRefDONE_TYPE, WORKING_TYPE| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
alarm_off() |
java.lang.Object |
alarm_on() |
java.lang.Object |
allStates() |
Condition[] |
condition() |
Monitorpattern |
create_monitor(CBpattern cb,
CBDescIn desc) |
Monitor |
create_postponed_monitor(long start_time,
CBpattern cb,
CBDescIn desc) |
static java.lang.Object |
createEnumProperty(java.lang.Class operationsIF,
java.lang.Class propertyType,
java.lang.String name,
CharacteristicComponentImpl parentComponent)
Create default in-memory RO enum structure.
|
static java.lang.Object |
createEnumProperty(java.lang.Class operationsIF,
java.lang.Class propertyType,
java.lang.String name,
CharacteristicComponentImpl parentComponent,
DataAccess dataAccess)
Create RO enum structure.
|
java.lang.Object |
default_value() |
boolean |
dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
Dispatches a callback.
|
protected java.lang.Object |
from_int(int value) |
void |
get_async(CBpattern cb,
CBDescIn desc) |
java.lang.Object |
get_sync(CompletionHolder c) |
protected void |
initialize() |
Subscription |
new_subscription_AlarmEnum(Alarmpattern cb,
CBDescIn desc) |
java.lang.Object |
readPropertyTypeCharacteristic(java.lang.String name)
Read property type characteristic.
|
java.lang.String[] |
statesDescription() |
protected int |
value(java.lang.Object value) |
addValueToHistory, default_timer_trigger, destroy, getAsync, getDataAccess, getHistory, getSync, min_timer_trigger, mnemonicValue, readCharacteristics, registerMonitor, registerNonCorbaMonitor, setAsync, setNonblocking, setSync, unregisterMonitorarchive_now, description, format, publish_now, resolution, set_archive, set_archiving_interval, unitscharacteristic_component_name, find_characteristic, get_all_characteristics, get_characteristic_by_name, getParentComponent, getPropertyDescriptor, getPropertyRef, name, setPropertyRefprotected void initialize()
throws PropertyInitializationFailed
PropertyInitializationFailedprotected int value(java.lang.Object value)
protected java.lang.Object from_int(int value)
public Condition[] condition()
public java.lang.String[] statesDescription()
public Subscription new_subscription_AlarmEnum(Alarmpattern cb,
CBDescIn desc)
public Monitorpattern create_monitor(CBpattern cb,
CBDescIn desc)
public Monitor create_postponed_monitor(long start_time,
CBpattern cb,
CBDescIn desc)
public void get_async(CBpattern cb,
CBDescIn desc)
public java.lang.Object readPropertyTypeCharacteristic(java.lang.String name)
throws NoSuchCharacteristic
CommonPropertyImplreadPropertyTypeCharacteristic in class CommonPropertyImplNoSuchCharacteristic - is thrown if characterstic does not exist.public boolean dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
CallbackDispatchertype - type of the callback (not strong typed to be flexible?!).value - value to be delivered.callback - callback.desc - callback out-descriptor.true if callback was successfully delivered, false on failure.public java.lang.Object alarm_on()
public java.lang.Object alarm_off()
public java.lang.Object allStates()
public java.lang.Object default_value()
public java.lang.Object get_sync(CompletionHolder c)
public static java.lang.Object createEnumProperty(java.lang.Class operationsIF,
java.lang.Class propertyType,
java.lang.String name,
CharacteristicComponentImpl parentComponent)
throws PropertyInitializationFailed
public static java.lang.Object createEnumProperty(java.lang.Class operationsIF,
java.lang.Class propertyType,
java.lang.String name,
CharacteristicComponentImpl parentComponent,
DataAccess dataAccess)
throws PropertyInitializationFailed
BasicStatesOperations basicStatesEnumImpl =
(BasicStatesOperations)CommonROEnumPropertyImpl.createEnumProperty(
BasicStatesOperations.class,
BasicStates.class,
"state",
parentComponent,
dataAccess);
operationsIF - CORBA propertyType - CORBA enum class.name - name of the property.parentComponent - property component.dataAccess - data access to be used.PropertyInitializationFailed