From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- ...ight.behaviors.TimeSwitch.TimeSwitch-class.html | 336 +++++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 html/SmootLight.behaviors.TimeSwitch.TimeSwitch-class.html (limited to 'html/SmootLight.behaviors.TimeSwitch.TimeSwitch-class.html') diff --git a/html/SmootLight.behaviors.TimeSwitch.TimeSwitch-class.html b/html/SmootLight.behaviors.TimeSwitch.TimeSwitch-class.html new file mode 100644 index 0000000..bb5fcfc --- /dev/null +++ b/html/SmootLight.behaviors.TimeSwitch.TimeSwitch-class.html @@ -0,0 +1,336 @@ + + + + + SmootLight.behaviors.TimeSwitch.TimeSwitch + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package behaviors :: + Module TimeSwitch :: + Class TimeSwitch + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class TimeSwitch

source code

+
+                                    object --+        
+                                             |        
+operationscore.SmootCoreObject.SmootCoreObject --+    
+                                                 |    
+                  operationscore.Behavior.Behavior --+
+                                                     |
+                                                    TimeSwitch
+
+ +
+
+TimeSwitch is a behavior that alternates between different behaviors for a set amount of time
+(specify time in seconds.  Specify in a python-style dict:
+    <Behaviors>{'behaviorId1':60, 'behaviorId2':120}</Behaviors>
+Would alternate between the 2 behaviors, spending 1 minute on b1 and 2 minutes on b2.
+
+
+ + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
behaviorInit(self) + source code + +
+ +
+   + + + + + + +
processResponse(self, + sensors, + recurs) + source code + +
+ +
+

Inherited from operationscore.Behavior.Behavior: + addInput, + addInputs, + addMapper, + addMapperToResponse, + getLastOutput, + immediateProcessInput, + init, + setLastOutput, + timeStep +

+

Inherited from operationscore.SmootCoreObject.SmootCoreObject: + __contains__, + __getitem__, + __getiter__, + __init__, + __setitem__, + acquireLock, + addDieListener, + className, + die, + releaseLock, + removeDieListener, + validateArgDict, + validateArgs +

+

Inherited from object: + __delattr__, + __format__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __sizeof__, + __str__, + __subclasshook__ +

+
+ + + + + + + + + +
+ + + + + +
Static Methods[hide private]
+
+

Inherited from operationscore.Behavior.Behavior: + deepCopyPacket +

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

behaviorInit(self) +

+
source code  +
+ + +
+
Overrides: + operationscore.Behavior.Behavior.behaviorInit +
+
+
+
+ +
+ +
+ + +
+

processResponse(self, + sensors, + recurs) +

+
source code  +
+ + +
+
Overrides: + operationscore.Behavior.Behavior.processResponse +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3