Ticket #74 (closed feature: implemented)

Opened 12 years ago

Last modified 11 years ago

Add string type for interfaces

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

Description

Currently to store a string in the BlackBoard via an interface you create a char type array field with a certain length. The code in the interface generator is unpleasant to read because often specific checks are done for stuff related to char, especially char arrays.

A new type string should be added, which allows to more clearly separate 8-bit data fields (char) and strings. This needs modification to the interface generator and to all interfaces, but ideally not to the interface users.

Change History

comment:1 Changed 11 years ago by tim

  • Status changed from new to assigned

Actually I want a byte type to get rid of the (ambiguous) char type, to squash it once and for all I'm going to add the string type as well.

comment:2 Changed 11 years ago by tim

  • Status changed from assigned to closed
  • Resolution set to implemented

Implemented in r2510.

comment:3 Changed 11 years ago by tim

Actually requires r2511, libfawkesinterface required modifications.

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)