discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Messages, queues, and tags


From: Eugene Grayver
Subject: [Discuss-gnuradio] Messages, queues, and tags
Date: Wed, 23 Nov 2011 18:11:26 -0800

Hello,

I've been following the changes Josh is making to the GR messaging system.  I am not sure that a gr_tag is a good fit for a generic message.  For example, the 'offset' may not be relevant to many messages.

We've been using tags very extensively in our designs and they are great but serve a very different purpose than messages should.  Perhaps a better idea is to define a standard message header?  

How about something like this:

A pmt_t tuple with

1. First entry is a string indicating the packet type
2. A sequence of zero or more pairs with (key, value), where key is a string, and value is any pmt_t


Eugene
________________________
Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________

reply via email to

[Prev in Thread] Current Thread [Next in Thread]