Classes | Functions | Variables
geneus.generate Namespace Reference

Classes

class  Indent
 
class  IndentedWriter
 Indented writer. More...
 

Functions

def field_initform (f)
 
def field_initvalue (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_float (t)
 
def is_integer (t)
 Built in types. More...
 
def is_signed_int (t)
 
def is_string (t)
 
def is_time (t)
 
def is_unsigned_int (t)
 
def lisp_initform (t)
 
def lisp_initvalue (t)
 
def lisp_type (t, array)
 
def msg_list (pkg, search_path, ext)
 
def msg_type (f)
 
def parse_msg_type (f)
 
def write_accessors (s, spec)
 
def write_begin (s, spec, is_service=False)
 
def write_builtin_length (s, f, var='msg')
 
def write_constants (s, spec)
 
def write_defclass (s, spec)
 
def write_defmethod (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, f, v, is_array=False)
 
def write_include (s, spec, is_srv=False)
 
def write_md5sum (s, msg_context, spec, parent=None)
 
def write_message_definition (s, msg_context, spec)
 
def write_provide (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, v)
 
def write_serialize_field (s, f)
 
def write_serialize_length (s, v, is_array=False)
 
def write_service_definition (s, msg_context, spec, parent)
 
def write_service_specific_methods (s, context, spec)
 
def write_slot_argument (s, field)
 
def write_slot_definition (s, field)
 
def write_slot_initialize (s, field)
 
def write_srv_component (s, spec, context, parent)
 

Variables

dictionary NUM_BYTES
 

Function Documentation

def geneus.generate.field_initform (   f)

Definition at line 112 of file generate.py.

def geneus.generate.field_initvalue (   f)

Definition at line 123 of file generate.py.

def geneus.generate.field_type (   f)

Definition at line 77 of file generate.py.

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

Definition at line 715 of file generate.py.

def geneus.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 746 of file generate.py.

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

Definition at line 727 of file generate.py.

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

Definition at line 795 of file generate.py.

def geneus.generate.is_bool (   t)

Definition at line 65 of file generate.py.

def geneus.generate.is_float (   t)

Definition at line 71 of file generate.py.

def geneus.generate.is_integer (   t)

Built in types.

Definition at line 56 of file generate.py.

def geneus.generate.is_signed_int (   t)

Definition at line 59 of file generate.py.

def geneus.generate.is_string (   t)

Definition at line 68 of file generate.py.

def geneus.generate.is_time (   t)

Definition at line 74 of file generate.py.

def geneus.generate.is_unsigned_int (   t)

Definition at line 62 of file generate.py.

def geneus.generate.lisp_initform (   t)

Definition at line 151 of file generate.py.

def geneus.generate.lisp_initvalue (   t)

Definition at line 137 of file generate.py.

def geneus.generate.lisp_type (   t,
  array 
)

Definition at line 96 of file generate.py.

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

Definition at line 739 of file generate.py.

def geneus.generate.msg_type (   f)

Definition at line 91 of file generate.py.

def geneus.generate.parse_msg_type (   f)

Definition at line 84 of file generate.py.

def geneus.generate.write_accessors (   s,
  spec 
)

Definition at line 304 of file generate.py.

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

Definition at line 224 of file generate.py.

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

Definition at line 606 of file generate.py.

def geneus.generate.write_constants (   s,
  spec 
)

Definition at line 669 of file generate.py.

def geneus.generate.write_defclass (   s,
  spec 
)

Definition at line 276 of file generate.py.

def geneus.generate.write_defmethod (   s,
  spec 
)

Definition at line 288 of file generate.py.

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

Definition at line 556 of file generate.py.

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

Definition at line 443 of file generate.py.

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

Definition at line 460 of file generate.py.

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

Definition at line 477 of file generate.py.

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

Definition at line 498 of file generate.py.

def geneus.generate.write_deserialize_length (   s,
  f,
  v,
  is_array = False 
)

Definition at line 433 of file generate.py.

def geneus.generate.write_include (   s,
  spec,
  is_srv = False 
)

Definition at line 246 of file generate.py.

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

Definition at line 571 of file generate.py.

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

Definition at line 578 of file generate.py.

def geneus.generate.write_provide (   s,
  msg_context,
  spec 
)

Definition at line 664 of file generate.py.

def geneus.generate.write_ros_datatype (   s,
  spec 
)

Definition at line 575 of file generate.py.

def geneus.generate.write_serialization_length (   s,
  spec 
)

Definition at line 622 of file generate.py.

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

Definition at line 417 of file generate.py.

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

Definition at line 333 of file generate.py.

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

Definition at line 356 of file generate.py.

def geneus.generate.write_serialize_builtin (   s,
  f,
  v 
)

Definition at line 359 of file generate.py.

def geneus.generate.write_serialize_field (   s,
  f 
)

Definition at line 379 of file generate.py.

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

Definition at line 326 of file generate.py.

def geneus.generate.write_service_definition (   s,
  msg_context,
  spec,
  parent 
)

Definition at line 591 of file generate.py.

def geneus.generate.write_service_specific_methods (   s,
  context,
  spec 
)

Definition at line 691 of file generate.py.

def geneus.generate.write_slot_argument (   s,
  field 
)

Definition at line 260 of file generate.py.

def geneus.generate.write_slot_definition (   s,
  field 
)

Definition at line 255 of file generate.py.

def geneus.generate.write_slot_initialize (   s,
  field 
)

Definition at line 272 of file generate.py.

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

Definition at line 681 of file generate.py.

Variable Documentation

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

Definition at line 165 of file generate.py.



geneus
Author(s): Kei Okada
autogenerated on Wed Jun 5 2019 19:32:31