Module SCA_PropertyActuator
[hide private]
[frames] | no frames]

Source Code for Module SCA_PropertyActuator

 1  # $Id: SCA_PropertyActuator.py 15444 2008-07-05 17:05:05Z lukep $ 
 2  # Documentation for SCA_PropertyActuator 
 3  from SCA_IActuator import * 
 4   
5 -class SCA_PropertyActuator(SCA_IActuator):
6 """ 7 Property Actuator 8 """
9 - def setProperty(prop):
10 """ 11 Set the property on which to operate. 12 13 If there is no property of this name, the call is ignored. 14 15 @type prop: string 16 @param prop: The name of the property to set. 17 """
18 - def getProperty():
19 """ 20 Returns the name of the property on which to operate. 21 22 @rtype: string 23 """
24 - def setValue(value):
25 """ 26 Set the value with which the actuator operates. 27 28 If the value is not compatible with the type of the 29 property, the subsequent action is ignored. 30 31 @type value: string 32 """
33 - def getValue():
34 """ 35 Gets the value with which this actuator operates. 36 37 @rtype: string 38 """
39