Sets a requester to be called when message or getRequesterName are
- called.
+ called. This is only legal for the top level PVField.
getFieldOffset
Get offset of the PVField field within top level structure. Every field
within the PVStructure has a unique offset. The top level structure has
@@ -1797,6 +1799,7 @@ public:
DeserializableControl*pflusher,BitSet *pbitSet);
protected:
PVStructure(PVStructure *parent,StructureConstPtr structure);
+ PVStructure(PVStructure *parent,StructureConstPtr structure,PVFieldPtrArray pvFields);
private:
class PVStructurePvt * pImpl;
};
@@ -1968,6 +1971,8 @@ public:
StructureConstPtr structure);
PVStructure *createPVStructure(PVStructure *parent,
String fieldName,int numberFields,FieldConstPtrArray fields);
+ PVStructure *createPVStructure(PVStructure *parent,
+ String fieldName,int numberFields,PVFieldPtrArray pvFields);
PVStructure *createPVStructure(PVStructure *parent,
String fieldName,PVStructure *structToClone);
protected:
@@ -2013,8 +2018,10 @@ extern PVDataCreate * getPVDataCreate();
createPVStructure
Create an instance of a PVStructure. Four methods are provided. The
first method uses a previously created structure introspection interface.
- The second uses a Field array to initialize the sub-fields. The third
- initializes the subfields by cloning the fields contained in
+ The second uses a Field array to initialize the sub-fields. For the third
+ the PVField array is the subfields for the PVStructure. The parent of
+ each PVField array element is set to the PVStructure being created. The
+ forth initializes the subfields by cloning the fields contained in
structToClone. The newly created sub-fields will have the same values and
auxInfos as the original. If structToClone is null then the new structure
is initialized to have 0 sub-fields. WARNING If theStructureConstPtr
@@ -3399,8 +3406,7 @@ public:
LinkedListNode<T> *getNext(LinkedListNode<T> &listNode);
LinkedListNode<T> *getPrev(LinkedListNode<T> &listNode);
bool isEmpty();
-};
-
+};