Package toon :: Module puredata :: Class PureDataController
[hide private]
[frames] | no frames]

Class PureDataController

source code

object --+
         |
        PureDataController

Toonloop API for Pure Data FUDI network messages.

/frame/add /frame/remove /clip/select <int> /ping /pong

Restricted / dangerous ones :

/config/set <string> <any> /call <string> ... /quit

Instance Methods [hide private]
 
__init__(self, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_init_receiver(self) source code
 
_init_sender(self) source code
 
_on_connected(self, sender) source code
 
_on_error(self, failure) source code
 
_send_message(self, selector, *args) source code
 
ping(self, receiver, *args)
Answers /pong to /ping /ping
source code
 
pong(self, receiver, *args)
Receives Pong.
source code
 
config_set(self, receiver, *args)
Sets an configuration option.
source code
 
frame_add(self, receiver, *args)
Grabs a frame.
source code
 
set_option_in_group(self, receiver, *args) source code
 
frame_remove(self, receiver, *args)
removes a frame.
source code
 
clip_select(self, receiver, *args)
Select a clip by number.
source code
 
call(self, receiver, *args)
Wraps any method from the APP.
source code
 
quit(self, receiver, *args)
Quits the application.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

pong(self, receiver, *args)

source code 

Receives Pong. /pong

config_set(self, receiver, *args)

source code 

Sets an configuration option. /options/set <name> <value>

frame_add(self, receiver, *args)

source code 

Grabs a frame. /frame/add

frame_remove(self, receiver, *args)

source code 

removes a frame. /frame/remove

clip_select(self, receiver, *args)

source code 

Select a clip by number.

/clip select <index> index=0

call(self, receiver, *args)

source code 

Wraps any method from the APP.

Warning : protect this port ! Do not use this FUDI protocol when network is not secure.

The pound sign (#) is replaced by commas

call <method> <args...>

quit(self, receiver, *args)

source code 

Quits the application.

Warning : protect this port ! Do not use this FUDI protocol when network is not secure.

/quit