Ticket #144 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

OWD generates something strange in PRF file

Reported by: balister Owned by: cdietric
Priority: major Milestone:
Component: component Version: 0.6.2
Keywords: Cc:

Description

This fragment comes from a PRF file generated by OWD. Can anyone provide an explanation of what it is for. If you are trying to work out what interfaces a component supports, that information is already contained in the SCD File. There is nothing else in the auto-generated code to explain what this property is for.

<simplesequence id="port_list" mode="readonly" name="port_list" type="string">

<description>Returns a sequence of strings with the names of the available Provides ports</description> <kind kindtype="configure"/> <values>

<value>dataIn::standardInterfaces.complexShort</value>

</values>

</simplesequence>

Change History

Changed 5 years ago by balister

As a side note the kind tag crashes the trunk parser. If added an assert to crash with explanation. I can't see the problem by reading the xml. Since I can't find anything that needs this entry, I removed it from the components I am working on.

Changed 5 years ago by DrewCormier

There was another ticket for this somewhere... I think we decided to keep it in.

Changed 5 years ago by balister

Can you reference that ticket here? We certainly should develop a plan to remove this. I do not want every component that starts up to process this code in a limited resource situation.

If we need it, there needs to be a very good explanation.

Changed 5 years ago by DrewCormier

As far as which ticket it was, your guess is as good as mine. This issue was already addressed in one of the OSSIE meetings, at which we decided to keep it.

Changed 5 years ago by balister

Originally reported as ticket #90.

Drew had action to ask his sponsors why this code exists.

Changed 5 years ago by cdietric

  • milestone changed from 0.6.2 Components to 0.6.3

Word from the sponsor is this is used by ALF to get information on ports. Same information is available in the SCD file but ALF isn't using it yet.

Changed 5 years ago by balister

ALF runs fine without these properties in the prf file. Well, at least the plot tool works.

Changed 5 years ago by balister

Also, running grep -r port_list * in /sdr/tools shows the string "port_list" only appears in OWD. It looks like ALF no longer uses the port_list property. At least in 0.6.2.

Changed 5 years ago by bhilburn

So are we leaving the code in there?

Changed 5 years ago by DrewCormier

  • status changed from new to closed
  • resolution set to duplicate

see ticket 90

Changed 5 years ago by anonymous

  • milestone 0.7.0 deleted

Milestone 0.7.0 deleted

Note: See TracTickets for help on using tickets.