plugins/README.plugins
changeset 12 a1f9e514f708
equal deleted inserted replaced
11:75ae893d5eed 12:a1f9e514f708
       
     1 	BlockTypesFactory(beremiz_inst)
       
     2 		return list similar to plcopeneditor/plcopen/structure.py BlockTypes
       
     3 	[ST_LibraryFactory(beremiz_inst)]
       
     4 		
       
     5 	[C_Library -- "C Code"]
       
     6 	Build -- {"CC":"gcc" , "C_FLAGS" : "..." , "LD_FLAGS" : "..." , ... ,}
       
     7 	Plugin_Params_XSD -- Defini les paramertres optionels du plugin
       
     8 	Plugin_Controller_Factory -- Sert a instancier chaque controler de bus
       
     9 		+ GenerateC(bus_controler_list) -> C_file
       
    10 			[canfestival : InitNodes(){0_post_init(); 1_post_init();}]
       
    11 			plugname_pre_init(){...}
       
    12 			plugname_post_init(){[canfestival : StarTimerLoop(&InitNodes)]}
       
    13 		+ Save/Load XML
       
    14 	Bus_Params_XSD -- Defini les paramertres optionels du bus
       
    15 	Bus_Controller_Factory -- Sert a instancier chaque controler de bus
       
    16 		() -> controller	
       
    17 			+ GenerateC -> C_file
       
    18 				/*declarations*/
       
    19 				...
       
    20 				busnb_pre_init(){...}
       
    21 				busnb_init(){...}
       
    22 				busnb_post_init(){...}
       
    23 				busnb_IN(){...}
       
    24 				busnb_OUT(){...}
       
    25 			+ Save/Load XML
       
    26 			+ Save/Load model
       
    27 	[Bus_View_Factory -- ]
       
    28 	MasterCapable -- Bool, true si peut etre le maitre de synchro