コード例 #1
0
ファイル: SerialCppVisitor.py プロジェクト: zeroping/fprime
 def __init__(self):
     """
     Constructor.
     """
     self.__config       = ConfigManager.ConfigManager.getInstance()
     self.__form         = formatters.Formatters()
     self.__form_comment = formatters.CommentFormatters()
     DEBUG.info("SerialCppVisitor: Instanced.")
     self.bodytext       = ""
     self.prototypetext  = ""
コード例 #2
0
 def __init__(self):
     """
     Constructor.
     """
     self.__config = ConfigManager.ConfigManager.getInstance()
     self.__form = formatters.Formatters()
     self.__form_comment = formatters.CommentFormatters()
     self.__model_parser = ModelParser.ModelParser.getInstance()
     DEBUG.info("TopologyHVisitor: Instanced.")
     self.bodytext = ""
     self.prototypetext = ""
コード例 #3
0
 def __init__(self):
     """
     Constructor.
     """
     self.__config       = ConfigManager.ConfigManager.getInstance()
     self.__form         = formatters.Formatters()
     self.__form_comment = formatters.CommentFormatters()
     self.__model_parser = ModelParser.ModelParser.getInstance()
     self.__cmd_dir = "channels"
     DEBUG.info("InstanceTopologyChannelHTMLVisitor: Instanced.")
     self.bodytext       = ""
     self.prototypetext  = ""
     self.__fp_dict      = dict() # dictionary of instance name keyword to file handle pointer