Package VisionEgg :: Module TCPController :: Class TCPController
[frames | no frames]

Class TCPController

        object --+        
                 |        
        Controller --+    
                     |    
EncapsulatedController --+
                         |
                        TCPController


Control a parameter from a network (TCP) connection.

Subclass of Controller to allow control of Parameters via the
network.

This class is analagous to VisionEgg.PyroHelpers.PyroEncapsulatedController.

Method Summary
  __init__(self, tcp_name, initial_controller)
Instantiated by SocketListenController.
  __str__(self)
    Inherited from EncapsulatedController
  between_go_eval(self)
Called by Presentation.
  during_go_eval(self)
Called by Presentation.
  set_new_controller(self, new_controller)
Call this to encapsulate a (new) controller.
    Inherited from Controller
  evaluate_now(self)
Call this after updating the values of a controller if it's not evaluated EVERY_FRAME.
  returns_type(self)
Called by Presentation.
  set_eval_frequency(self, eval_frequency)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Class Variable Summary
    Inherited from Controller
int EVERY_FRAME = 1                                                                     
dict flag_dictionary = {'EVERY_FRAME': 1, 'NOT_BETWEEN_GO': 1...
int FRAMES_ABSOLUTE = 4                                                                     
int FRAMES_SINCE_GO = 8                                                                     
int NEVER = 0                                                                     
int NOT_BETWEEN_GO = 16                                                                    
int NOT_DURING_GO = 8                                                                     
int ONCE = 4                                                                     
int TIME_INDEPENDENT = 0                                                                     
int TIME_SEC_ABSOLUTE = 1                                                                     
int TIME_SEC_SINCE_GO = 2                                                                     
int TRANSITIONS = 2                                                                     

Method Details

__init__(self, tcp_name, initial_controller)
(Constructor)

Instantiated by SocketListenController.

Users should create instance by using method
create_tcp_controller of class SocketListenController.
Overrides:
VisionEgg.FlowControl.EncapsulatedController.__init__

Generated by Epydoc 2.0 on Fri Sep 19 18:29:35 2003 http://epydoc.sf.net