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