self.objects = []
self.TBEType = None
self.EntryType = None
- self.message_buffer_names = []
-
def __repr__(self):
return "[StateMachine: %s]" % self.ident
ident = self.ident
c_ident = "%s_Controller" % self.ident
- self.message_buffer_names = []
-
code('''
/** \\file $c_ident.hh
*
th = var.get("template", "")
code('${{var.type.c_ident}}$th* m_${{var.c_ident}}_ptr;')
- if var.type.ident == "MessageBuffer":
- self.message_buffer_names.append("m_%s_ptr" % var.c_ident)
-
code.dedent()
code('};')
code('#endif // __${ident}_CONTROLLER_H__')