Classes | Functions | Variables
genlisp.generate Namespace Reference

Classes

class  Indent
 
class  IndentedWriter
 Indented writer. More...
 

Functions

def field_initform (f)
 
def field_type (f)
 
def generate_msg (pkg, files, out_dir, search_path)
 
def generate_msg_from_spec (msg_context, spec, search_path, output_dir, package)
 
def generate_srv (pkg, files, out_dir, search_path)
 
def generate_srv_from_spec (msg_context, spec, search_path, output_dir, package, path)
 
def is_bool (t)
 
def is_fixnum (t)
 Built in types. More...
 
def is_float (t)
 
def is_integer (t)
 
def is_signed_int (t)
 
def is_string (t)
 
def is_time (t)
 
def is_unsigned_int (t)
 
def lisp_initform (t)
 
def lisp_type (t)
 
def message_class (spec)
 
def msg_list (pkg, search_path, ext)
 
def msg_type (f)
 
def new_message_class (spec)
 
def parse_msg_type (f)
 
def write_accessor_exports (s, spec)
 
def write_asd (s, pkg, msgs, context)
 
def write_asd_deps (s, deps, msgs)
 
def write_begin (s, spec, is_service=False)
 
def write_builtin_length (s, f, var='msg')
 
def write_class_exports (s, msgs, pkg)
 
def write_constants (s, spec)
 
def write_defclass (s, spec)
 
def write_deprecated_readers (s, spec)
 
def write_deserialize (s, spec)
 
def write_deserialize_bits (s, v, num_bytes)
 
def write_deserialize_bits_signed (s, v, num_bytes)
 
def write_deserialize_builtin (s, f, v)
 
def write_deserialize_field (s, f, pkg)
 
def write_deserialize_length (s, is_array=False)
 
def write_html_include (s, spec, is_srv=False)
 
def write_list_converter (s, spec)
 
def write_md5sum (s, msg_context, spec, parent=None)
 
def write_message_definition (s, msg_context, spec)
 
def write_ros_datatype (s, spec)
 
def write_serialization_length (s, spec)
 
def write_serialize (s, spec)
 
def write_serialize_bits (s, v, num_bytes)
 
def write_serialize_bits_signed (s, v, num_bytes)
 
def write_serialize_builtin (s, f, var='msg', lookup_slot=True)
 
def write_serialize_field (s, f)
 
def write_serialize_length (s, v, is_array=False)
 
def write_service_specific_methods (s, spec)
 
def write_slot_definition (s, field)
 
def write_srv_asd (s, pkg, srvs, context)
 
def write_srv_component (s, spec, context, parent)
 
def write_srv_exports (s, srvs, pkg)
 

Variables

dictionary NUM_BYTES
 

Function Documentation

def genlisp.generate.field_initform (   f)

Definition at line 125 of file generate.py.

def genlisp.generate.field_type (   f)

Definition at line 88 of file generate.py.

def genlisp.generate.generate_msg (   pkg,
  files,
  out_dir,
  search_path 
)
Generate lisp code for all messages in a package

Definition at line 720 of file generate.py.

def genlisp.generate.generate_msg_from_spec (   msg_context,
  spec,
  search_path,
  output_dir,
  package 
)
Generate a message

@param msg_path: The path to the .msg file
@type msg_path: str

Definition at line 752 of file generate.py.

def genlisp.generate.generate_srv (   pkg,
  files,
  out_dir,
  search_path 
)
Generate lisp code for all services in a package

Definition at line 732 of file generate.py.

def genlisp.generate.generate_srv_from_spec (   msg_context,
  spec,
  search_path,
  output_dir,
  package,
  path 
)

Definition at line 837 of file generate.py.

def genlisp.generate.is_bool (   t)

Definition at line 76 of file generate.py.

def genlisp.generate.is_fixnum (   t)

Built in types.

Definition at line 64 of file generate.py.

def genlisp.generate.is_float (   t)

Definition at line 82 of file generate.py.

def genlisp.generate.is_integer (   t)

Definition at line 67 of file generate.py.

def genlisp.generate.is_signed_int (   t)

Definition at line 70 of file generate.py.

def genlisp.generate.is_string (   t)

Definition at line 79 of file generate.py.

def genlisp.generate.is_time (   t)

Definition at line 85 of file generate.py.

def genlisp.generate.is_unsigned_int (   t)

Definition at line 73 of file generate.py.

def genlisp.generate.lisp_initform (   t)

Definition at line 138 of file generate.py.

def genlisp.generate.lisp_type (   t)

Definition at line 109 of file generate.py.

def genlisp.generate.message_class (   spec)
Return the CLOS class name for this message type

Definition at line 275 of file generate.py.

def genlisp.generate.msg_list (   pkg,
  search_path,
  ext 
)

Definition at line 744 of file generate.py.

def genlisp.generate.msg_type (   f)

Definition at line 105 of file generate.py.

def genlisp.generate.new_message_class (   spec)

Definition at line 281 of file generate.py.

def genlisp.generate.parse_msg_type (   f)

Definition at line 98 of file generate.py.

def genlisp.generate.write_accessor_exports (   s,
  spec 
)

Definition at line 563 of file generate.py.

def genlisp.generate.write_asd (   s,
  pkg,
  msgs,
  context 
)

Definition at line 546 of file generate.py.

def genlisp.generate.write_asd_deps (   s,
  deps,
  msgs 
)

Definition at line 507 of file generate.py.

def genlisp.generate.write_begin (   s,
  spec,
  is_service = False 
)

Definition at line 213 of file generate.py.

def genlisp.generate.write_builtin_length (   s,
  f,
  var = 'msg' 
)

Definition at line 615 of file generate.py.

def genlisp.generate.write_class_exports (   s,
  msgs,
  pkg 
)

Definition at line 478 of file generate.py.

def genlisp.generate.write_constants (   s,
  spec 
)

Definition at line 668 of file generate.py.

def genlisp.generate.write_defclass (   s,
  spec 
)

Definition at line 248 of file generate.py.

def genlisp.generate.write_deprecated_readers (   s,
  spec 
)

Definition at line 236 of file generate.py.

def genlisp.generate.write_deserialize (   s,
  spec 
)
Write the deserialize method

Definition at line 466 of file generate.py.

def genlisp.generate.write_deserialize_bits (   s,
  v,
  num_bytes 
)

Definition at line 386 of file generate.py.

def genlisp.generate.write_deserialize_bits_signed (   s,
  v,
  num_bytes 
)

Definition at line 390 of file generate.py.

def genlisp.generate.write_deserialize_builtin (   s,
  f,
  v 
)

Definition at line 399 of file generate.py.

def genlisp.generate.write_deserialize_field (   s,
  f,
  pkg 
)

Definition at line 435 of file generate.py.

def genlisp.generate.write_deserialize_length (   s,
  is_array = False 
)

Definition at line 379 of file generate.py.

def genlisp.generate.write_html_include (   s,
  spec,
  is_srv = False 
)

Definition at line 220 of file generate.py.

def genlisp.generate.write_list_converter (   s,
  spec 
)

Definition at line 657 of file generate.py.

def genlisp.generate.write_md5sum (   s,
  msg_context,
  spec,
  parent = None 
)

Definition at line 590 of file generate.py.

def genlisp.generate.write_message_definition (   s,
  msg_context,
  spec 
)

Definition at line 599 of file generate.py.

def genlisp.generate.write_ros_datatype (   s,
  spec 
)

Definition at line 583 of file generate.py.

def genlisp.generate.write_serialization_length (   s,
  spec 
)

Definition at line 631 of file generate.py.

def genlisp.generate.write_serialize (   s,
  spec 
)
Write the serialize method

Definition at line 366 of file generate.py.

def genlisp.generate.write_serialize_bits (   s,
  v,
  num_bytes 
)

Definition at line 296 of file generate.py.

def genlisp.generate.write_serialize_bits_signed (   s,
  v,
  num_bytes 
)

Definition at line 300 of file generate.py.

def genlisp.generate.write_serialize_builtin (   s,
  f,
  var = 'msg',
  lookup_slot = True 
)

Definition at line 310 of file generate.py.

def genlisp.generate.write_serialize_field (   s,
  f 
)

Definition at line 343 of file generate.py.

def genlisp.generate.write_serialize_length (   s,
  v,
  is_array = False 
)

Definition at line 285 of file generate.py.

def genlisp.generate.write_service_specific_methods (   s,
  spec 
)

Definition at line 706 of file generate.py.

def genlisp.generate.write_slot_definition (   s,
  field 
)

Definition at line 224 of file generate.py.

def genlisp.generate.write_srv_asd (   s,
  pkg,
  srvs,
  context 
)

Definition at line 524 of file generate.py.

def genlisp.generate.write_srv_component (   s,
  spec,
  context,
  parent 
)

Definition at line 691 of file generate.py.

def genlisp.generate.write_srv_exports (   s,
  srvs,
  pkg 
)

Definition at line 491 of file generate.py.

Variable Documentation

dictionary genlisp.generate.NUM_BYTES
Initial value:
1 = {'int8': 1, 'int16': 2, 'int32': 4, 'int64': 8,
2  'uint8': 1, 'uint16': 2, 'uint32': 4, 'uint64': 8}

Definition at line 152 of file generate.py.



genlisp
Author(s): Bhaskara Marti
autogenerated on Mon Jan 27 2020 03:15:33