Ticket #50 (closed feature: implemented)

Opened 4 years ago

Last modified 14 months ago

Interface changed flag and timestamp

Reported by: tim Owned by: tim
Priority: major Milestone: 0.5
Component: Fawkes Version:
Keywords: BlackBoard Cc:
Git Branch:

Description

Currently for a BB interface you cannot tell easily if it has been modified since last reading and when the data was recorded. Up to now this does not pose a problem since we had one strict main loop and everything was executed linear but in two situations you really need that data:

  • A long running concurrent task breaks the linearity and thus there are likely cycles where no new data is available
  • If data is accessed with a remote BB connection (for example from within RCSoftX) the timing constraints do not hold any longer and no association between the in-Fawkes runtime and the external process runtime can be made.

To avoid working on old data (or working at all because if no data has changed you are likely to get the same results anyway) a flag is necessary if new data is available and a time stamp helps weighting the data properly (for example if there are additional data sources with fresher data).

This should be implemented at base interface level to provide global flags. I can't see a specific need for per-data-field flags and time stamps as we had in RCSoftX.

Change History

Changed 4 years ago by tim

  • milestone set to Basic Platform

Changed 2 years ago by tim

  • milestone changed from 0.3 to 0.5

Reassigning to milestone 0.5, more realistic time frame.

Changed 14 months ago by tim

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

Implemented in 0.4 and merged in c46c1394668fb792fee0dc2a04d4927221a4fd53.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Reporter, Owner, Participant)