From: Matej S. <mat...@co...> - 2014-02-18 13:09:23
|
Some reading to be prepared for the meeting. To match pvData naming convention we would get: variable size array aka sequence, e.g. int[] bounded size array, e.g. int<1024> fixed size array, e.g. int[16] bounded size string, e.g. string<40> (== EPICS string) This would imply the following changes in pvIntrospect.h (only introspection interface API is affected): // new interface public class Array : public Field { // 0 not valid value, means undefined std::size_t getMaximumCapacity(); // 0 not valid value, means undefined std::size_t getFixedLength(); } // extends Array and not Field as now public class ScalarArray : public Array { . . . } // extends Array and not Field as now public class StructureArray : public Array { . . . } // extends Array and not Field as now public class UnionArray : public Array { . . . } // String needs to extend Scalar to get getMaximumCapacity() method public class StringScalar : public Scalar { // 0 not valid value, means undefined std::size_t getMaximumCapacity() } FieldCreate class method: ScalarArrayConstPtr createScalarArray(ScalarType elementType) const; becomes ScalarArrayConstPtr createScalarArray(ScalarType elementType, std::size_t capacity_bound = 0, std::size_t fixed_length = 0) const; (same for createStructureArray and createUnionArray) FieldBuilder method should get some minor changes too. Matej On Tue, Feb 18, 2014 at 11:35 AM, Matej Sekoranja <mat...@gm... > wrote: > Here is what I want to do with the arrays. > > Matej > > > On Mon, Feb 17, 2014 at 10:45 PM, White, Greg <gr...@sl...>wrote: > >> Colleagues, please find below the Agenda for our regularly scheduled >> meeting. >> >> (Note changes from the nominally forecast agenda [3]). >> >> 1. Preliminaries >> 2. Status review [1] >> 3. Review agenda for meeting in Ljubljana [2] >> 4. Fixed size arrays (MS) >> Brief, to see if all in agreement to moving this to an action item. >> Make >> sure Marty is happy with what it entails. >> 5. pvMS review (if time) >> >> Cheers >> Greg for Andrew and Greg >> >> [1] >> https://docs.google.com/spreadsheet/pub?key=0AiY7lwlw4Y4XdDNBVzRUN0FOMGw1Ty1pZk9MeGtPVnc&output=html >> [2] http://sourceforge.net/mailarchive/message.php?msg_id=31944559 >> [3] https://plus.google.com/u/0/114828842338418222242/posts >> >> >> >> ------------------------------------------------------------------------------ >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> > > |