text: // This file has been automatically generated by goFB and should not be edited by hand
  // Compiler written by Hammond Pearce and available at github.com/kiwih/goFB
  
  // This file represents the interface of Function Block _CBCore2
  #ifndef _CBCORE2_H_
  #define _CBCORE2_H_
  
  #include "fbtypes.h"
  #include "util.h"
  
  
  
  //This is a CFB, so we need the #includes for the child blocks embedded here
  #include "FB_SifbTimer.h"
  #include "FB_ArgoTx.h"
  #include "FB_SifbManagementControls.h"
  #include "FB_SifbIntLed.h"
  #include "FB_CfbBreakerController.h"
  #include "FB_SifbAmmeter.h"
  #include "FB_SawmillMessageHandler.h"
  
  
  
  
  //this block had no input events
  
  
  //this block had no output events
  
  
  typedef struct {
      //input events
  	
  
      //output events
  	
  
      //input vars
  	
      //output vars
  	
  	//any internal vars (BFBs only)
      
  	//any child FBs (CFBs only)
  	SifbTimer_t timer;
  	ArgoTx_t tx;
  	SifbManagementControls_t hmi;
  	SifbIntLed_t led;
  	CfbBreakerController_t cb;
  	SifbAmmeter_t amm;
  	SawmillMessageHandler_t msgh;
  	
  	//resource vars
  	
  	//resources (Devices only)
  	
  	//state and trigger (BFBs only)
  	
  	
  
  	
  
  } _CBCore2_t;
  
  //all FBs get a preinit function
  int _CBCore2_preinit(_CBCore2_t _SPM  *me);
  
  //all FBs get an init function
  int _CBCore2_init(_CBCore2_t _SPM  *me);
  
  //all FBs get a run function
  void _CBCore2_run(_CBCore2_t _SPM  *me);
  
  //composite/resource/device FBs get sync functions
  void _CBCore2_syncOutputEvents(_CBCore2_t  _SPM *me);
  void _CBCore2_syncInputEvents(_CBCore2_t _SPM  *me);
  
  void _CBCore2_syncOutputData(_CBCore2_t _SPM  *me);
  void _CBCore2_syncInputData(_CBCore2_t _SPM  *me);
  
  
  
  #endif
  