ACSImpl.Enum (version $Id: Enum.py,v 1.5 2006/06/06 20:38:29 dfugate Exp $)
index
/diska/alma_tmp/ACS/LGPL/CommonSoftware/acspy/src/ACSImpl/Enum.py

This module provides an implementation of the Penum IDL interface:

 
Modules
       
ACS__POA
omniORB.CORBA

 
Classes
       
ACSImpl.GenericProperty.GenericProperty(ACSImpl.GenericProperty.TypelessProperty)
Penum

 
class Penum(ACSImpl.GenericProperty.GenericProperty)
    Properties can be derived from Penum only if their IDL derives from
ACS::Penum.
 
 
Method resolution order:
Penum
ACSImpl.GenericProperty.GenericProperty
ACSImpl.GenericProperty.TypelessProperty
ACSImpl.GenericProperty.Property
ACSImpl.CharacteristicModel.CharacteristicModel

Methods defined here:
__init__(self, name, charCompRef, devIORef)
Constructor
 
Params:
- name is the quite literally the name of the property
- charCompRef is the characteristic component object which contains this
property
- devIORef is a reference to a DevIO to be used with this property
 
Returns: Nothing
 
Raises: Nothing.
coerceToPropertyType(self, value=None)
Overriden.
getConditionSeq(self, attrName)
Helper method which gets a list of ConditionSeq enumerations from the CDB.
 
Parameters: attrName is the name of the ConditionSeq attribute within the
CDB
 
Returns: a ConditionSeq
 
Raises: Nothing
getMonitorObject(self, scheduler, timeoutID)
Helper method.used to return a monitor of the correct type.
get_async(self, cb, desc)
Implementation of the IDL method.
 
void get_async (in CBstringSeq cb, in CBDescIn desc);
monitorRunner(self, cb, desc)
Helper method

Methods inherited from ACSImpl.GenericProperty.GenericProperty:
create_monitor(self, cb, desc)
Implementation of the IDL method.
 
MonitorunknownType create_monitor (in CBunknownType cb, in CBDescIn desc);
create_postponed_monitor(self, start_time, cb, desc)
Implementation of the IDL method.
 
MonitorstringSeq create_postponed_monitor (in Time start_time,
                                           in CBstringSeq cb,
                                           in CBDescIn desc);
decrement(self, cb, desc)
Implementation of the IDL method.
 
void decrement (in CBvoid cb, in CBDescIn desc);
get_history(self, n_last_values)
Implementation of the IDL method.
 
long get_history (in long n_last_values,
                  out stringSeqSeq vs,
                  out TimeSeq ts);
get_sync(self)
Implementation of the IDL method.
 
stringSeq get_sync (out ACSErr::Completion c);
increment(self, cb, desc)
Implementation of the IDL method.
 
void increment (in CBvoid cb, in CBDescIn desc);
new_subscription_Alarm(self, cb, desc)
Implementation of the IDL method.
 
Subscription new_subscription_Alarm(in AlarmunknownType cb,in CBDescIn desc);
set_async(self, newVal, cb, desc)
Implementation of the IDL method.
 
void set_async (in double value, in CBvoid cb, in CBDescIn desc);
set_nonblocking(self, newVal)
Implementation of the IDL method.
 
void set_nonblocking (in double value);
set_sync(self, newVal)
Implementation of the IDL method.
 
ACSErr::Completion set_sync (in double value);

Methods inherited from ACSImpl.GenericProperty.TypelessProperty:
getCDBDict(self)
Helper method returns the CDB dictionary associated with this property.

Methods inherited from ACSImpl.GenericProperty.Property:
getLogger(self)
Helper method returns a reference to the components (this property lives
within) logger.

Methods inherited from ACSImpl.CharacteristicModel.CharacteristicModel:
find_characteristic(self, reg_exp)
Implementation of the descriptor method found in the CharacteristicModel
IDL interface.
 
Params: None.
 
Returns: The name of this component.
 
Raises: Nothing.
 
stringSeq find_characteristic (in string reg_exp);
 
DWF-FIX ME!!!
get_all_characteristics(self)
Implementation of the descriptor method found in the CharacteristicModel
IDL interface.
 
Params: None.
 
Returns: The name of this component.
 
Raises: Nothing.
 
CosPropertyService::PropertySet get_all_characteristics ();
 
DWF-fix me!!!
get_characteristic_by_name(self, name)
Implementation of the descriptor method found in the CharacteristicModel
IDL interface.
 
Params: None.
 
Returns: The name of this component.
 
Raises: Nothing.
 
any get_characteristic_by_name (in string name)                 
raises (NoSuchCharacteristic);
 
DWF-FIX ME!!!

 
Functions
       
getEnumClass(repositoryID)
Function designed to return the CORBA stub enumeration class given the CORBA
enums interface repository ID.
 
Parameters: repositoryID is the interface repository ID of the enum
 
Returns: a Python class
 
Raises: ???

 
Data
        GREEN = GREEN
GREY = GREY
RED = RED
YELLOW = YELLOW
__version__ = '$Id: Enum.py,v 1.5 2006/06/06 20:38:29 dfugate Exp $'