Project

General

Profile

Actions

Bug #5513

closed

Redundant code in each driver - Part 2

Added by Legay Eric over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assigned To:
Category:
ENX Core
Target version:
Start date:
11/13/2013
Due date:
% Done:

0%

Estimated time:

Description

In Driver Generator in the generated driver file Driver_Name_Register.ads there is this:

   type T_Couple is record
      Register_Name : Unbounded_String := Null_Unbounded_String;
      Address : T_Address := Null_T_Address;
   end record;

We found this type in each new driver. We can move this type in libenxplugin.

Same comment for :

  function Get_Address (Val : String) return T_Address;


Related issues

Copied from ENX - Bug #5502: Redundant code in each driver - Part 1ClosedDosme Nicolas11/13/2013

Actions
Actions #1

Updated by Legay Eric over 10 years ago

  • Subject changed from Redundant code in each driver to Redundant code in each driver - Part 2
Actions #2

Updated by Legay Eric over 10 years ago

Work already done for the type !

Eric Legay wrote:

In Driver Generator in the generated driver file Driver_Name_Register.ads there is this:
[...]

We found this function in each new driver. We can move this in libenxplugin.

function Get_Address (Val : String) return T_Address;

Actions #3

Updated by Legay Eric over 10 years ago

  • Status changed from New to Feedback
  • Assigned To changed from Legay Eric to Dosme Nicolas

Solved in ENX 2.7.01

Actions #4

Updated by Dosme Nicolas over 10 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF