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. --- html/SmootLight.inputs.OSCInput-pysrc.html | 179 +++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 html/SmootLight.inputs.OSCInput-pysrc.html (limited to 'html/SmootLight.inputs.OSCInput-pysrc.html') diff --git a/html/SmootLight.inputs.OSCInput-pysrc.html b/html/SmootLight.inputs.OSCInput-pysrc.html new file mode 100644 index 0000000..2350415 --- /dev/null +++ b/html/SmootLight.inputs.OSCInput-pysrc.html @@ -0,0 +1,179 @@ + + + + + SmootLight.inputs.OSCInput + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package inputs :: + Module OSCInput + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module SmootLight.inputs.OSCInput

+
+ 1  from operationscore.Input import * 
+ 2  import liblo 
+ 3  from logger import main_log 
+ 4   
+ 5   
+
6 -class OSCInput(Input): +
7 - def inputInit(self): +
8 HOST = '' # Symbolic name meaning all available interfaces + 9 PORT = self['Port'] # Arbitrary non-privileged port +10 self.server = liblo.Server(PORT) +11 self.server.add_method(None,None, self.fallback) +
12 # except liblo.ServerError, err: +13 # main_log.error(str(err)) +14 +
15 - def fallback(self,path,args,types, src): +
16 self.respond({'Path':path,'Type':types,'Value':args}) +
17 - def sensingLoop(self): +
18 self.server.recv(100) +19 pass#(data,address) = self.sock.recvfrom(1024) +
20 #dataDict = {'data':data, 'address':address} +21 #self.respond(dataDict) +22 +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3