Ejemplo n.º 1
0
 /** C-style function, to get access to the unique TracAux_c singleton instance
   * if more than one CAN BUS is used for IsoAgLib, an m_index must be given to select the wanted BUS
   */
 TracAux_c &getTracAuxInstance( uint8_t aui8_instance )
 { // if > 1 singleton instance is used, no static reference can be used
   MACRO_MULTITON_GET_INSTANCE_BODY(TracAux_c, PRT_INSTANCE_CNT, aui8_instance);
 }
Ejemplo n.º 2
0
/** C-style function, to get access to the unique FsManager_c singleton instance
 * if more than one CAN BUS is used for IsoAgLib, an index must be given to select the wanted BUS
 */
FsManager_c &getFsManagerInstance(uint8_t instance)
{ // if > 1 singleton instance is used, no static reference can be used
  MACRO_MULTITON_GET_INSTANCE_BODY(FsManager_c, PRT_INSTANCE_CNT, instance);
}
Ejemplo n.º 3
0
 TractorFrontPto_c &getTractorFrontPtoInstance( unsigned instance )
 { // if > 1 singleton instance is used, no static reference can be used
   MACRO_MULTITON_GET_INSTANCE_BODY(TractorFrontPto_c, PRT_INSTANCE_CNT, instance);
 }