Package yagdoc :: Module inspector :: Class Signal
[show private | hide private]
[frames | no frames]

Type Signal

object --+
         |
        Signal


Representation of the inspected information about one GSignal.
Method Summary
  __init__(self, name, flags, return_type, argument_types)
Create a new Signal.
  parse(self, record)
Parse one Signals section record.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variable Summary
list of str argument_types: Argument type names.
int flags: Signal flags (combination of RUN_FIRST, RUN_LAST, RUN_CLEANUP, NO_RECURSE, DETAILED, ACTION, NO_HOOKS flag bits).
str name: Signal name (with underscores, not dashes).
str or None return_type: Return type name (void type is represented as None)

Class Variable Summary
int RUN_FIRST = 1                                                                     
int RUN_LAST = 2                                                                     
int RUN_CLEANUP = 4                                                                     
int NO_RECURSE = 8                                                                     
int DETAILED = 16                                                                    
int ACTION = 32                                                                    
int NO_HOOKS = 64                                                                    
dict flag_values = {'a': 32, 'c': 4, 'd': 16, 'f': 1, 'h': 64...

Method Details

__init__(self, name='', flags=0, return_type=None, argument_types=None)
(Constructor)

Create a new Signal.
Overrides:
__builtin__.object.__init__

parse(self, record)

Parse one Signals section record.

Sets instance variables, including name to values obtained from the record.
Parameters:
record - Record to parse (without the type name).
           (type=str)

Instance Variable Details

argument_types

Argument type names.
Type:
list of str

flags

Signal flags (combination of RUN_FIRST, RUN_LAST, RUN_CLEANUP, NO_RECURSE, DETAILED, ACTION, NO_HOOKS flag bits).
Type:
int

name

Signal name (with underscores, not dashes).
Type:
str

return_type

Return type name (void type is represented as None)
Type:
str or None

Class Variable Details

RUN_FIRST

Type:
int
Value:
1                                                                     

RUN_LAST

Type:
int
Value:
2                                                                     

RUN_CLEANUP

Type:
int
Value:
4                                                                     

NO_RECURSE

Type:
int
Value:
8                                                                     

DETAILED

Type:
int
Value:
16                                                                    

ACTION

Type:
int
Value:
32                                                                    

NO_HOOKS

Type:
int
Value:
64                                                                    

flag_values

Type:
dict
Value:
{'a': 32, 'c': 4, 'd': 16, 'f': 1, 'h': 64, 'l': 2, 'r': 8}            

Generated by Epydoc 2.1 on Fri Oct 5 00:36:53 2007 http://epydoc.sf.net