Commit Graph

64 Commits

Author SHA1 Message Date
Marty Kraimer
33183d3dd1 add virtual destructors 2011-08-24 15:44:29 -04:00
Marty Kraimer
0a744984ca moved POINTER_DEFS from pvAccess.h to sharedPtr.h 2011-07-01 07:37:18 -04:00
Marty Kraimer
619534b984 include files put into include/pv 2011-06-07 08:30:15 -04:00
Matej Sekoranja
fb2691c2a3 fromString for structure 2011-06-02 10:11:02 +02:00
Marty Kraimer
bea5beefcc minor changes to monitor.h 2011-05-12 09:15:15 -04:00
Marty Kraimer
d13284da7f PVField no longer extends Requester. 2011-05-10 07:38:04 -04:00
Marty Kraimer
95ae684d3d add == for introspection; == of PVField is done in base class via convert.
Make monitorQueue compatible with monitor, i.e. shared_pointer
2011-04-27 08:27:10 -04:00
Matej Sekoranja
b45b965f14 added shared_pointer typedefs, monitor.h IF changed to used shared_pointers 2011-04-24 23:56:58 +02:00
Marty Kraimer
fc74317993 use Michael Davidsaver version of introspection 2011-04-21 15:21:18 -04:00
Marty Kraimer
b1ffcf37d7 In PVField make extend Request virtual 2011-04-19 05:17:45 -04:00
Marty Kraimer
3a00b879ee Added a new method to PVDataCreate that allows a PVStructure to be created from a PVField array where the elements have a null parent.
PVField::message was changed to pass the message to the top level field adding the field name at each level.
2011-04-15 14:21:55 -04:00
Michael Davidsaver
14c1fdc8c1 minor cleanup in TypeFunc
Switch TypeFunc and ScalarTypeFunc from completely static
classes to namespaces.  They functions share no private data
between them (and it seems unlikely that they ever will) so
there is no benefit to being class functions.

Also misc. cleanup of static string defs, and comparisons.
2011-03-07 12:23:51 -05:00
Matej Sekoranja
6357722bb1 PVString now extends Serializable array, serialization/deserialization template of all scalars fixed 2011-03-03 09:39:43 +01:00
Matej Sekoranja
b0c04eea53 Status changes 2011-02-17 01:21:16 +01:00
Michael Davidsaver
bb6cf7c00b avoid method resolution problem from diamond inheritance
Serializable -> SerializableArray
Serializable -> PVField
SerializableArray -> PVArray
PVField -> PVArray

Thus for PVArray the members of SerializeSerializable are reachable
by two paths.  This means that The vtable for PVArray has two seperate
entries for serialize.

Correct resolution is to use virtual inheritance to avoid the
ambiguity.
2011-02-15 11:39:38 -05:00
Michael Davidsaver
67ae45521b PVStructure: implements method of SerializableArray without inheriting
And the implementation is a noop...
2011-02-15 11:11:48 -05:00
Michael Davidsaver
6eabee97fe remove redundant pure virtual definitions
These only need to be given once in the hierarchy as pure virtual,
and then once for each concrete implementation.
2011-02-14 11:26:23 -05:00
Marty Kraimer
54782139c7 simplified definition and implementation of PVAuxInfo. 2011-02-10 07:46:38 -05:00
Michael Davidsaver
294684636d pvData.h: apply templates to PV* and PV*Array classes
The scalar and array value interface classes are largely
copy+paste so can easily be made templates PVScalarValue<>
and PVValueArray<>.  Currently parametrized only by value
type.

Also the *ArrayData helpers become PVArrayData<>
2011-02-04 16:22:15 -05:00
Marty Kraimer
52ee919845 Massive name changes to factory.
The changes make it clear what is a default implementation and
what implements base classes defined in pvData.h.
2011-02-01 05:31:55 -05:00
Marty Kraimer
ca3e22fd81 add methods append and remove to PVStructureArray 2011-01-31 09:38:12 -05:00
Marty Kraimer
ad9633c8f6 moved pvType.h from misc to pv.
Made changes to make it clear that is defining the pvData primitive types for pvData.
2011-01-28 08:22:46 -05:00
Marty Kraimer
f4a1173e7a More work on introspection memory management.
Required changes to pvIntrospect.h and pvData.h
2011-01-20 09:16:33 -05:00
Marty Kraimer
608d74c400 Fix many memory leaks 2011-01-12 10:28:00 -05:00
Matej Sekoranja
b5cc749a94 Field equality test 2010-12-28 11:01:03 +01:00
Matej Sekoranja
990bb6316e make ref. counting public 2010-12-27 11:33:53 +01:00
Marty Kraimer
531a63f913 fix append problem
still may have memory leak problem
2010-12-26 15:34:26 -05:00
Marty Kraimer
fdf2342157 minor changes 2010-12-20 06:30:48 -05:00
Marty Kraimer
188c256dda documentation more complete 2010-12-13 13:12:43 -05:00
Marty Kraimer
381c6de7e9 change build so that only one library pvData gets built 2010-12-08 07:08:42 -05:00
Marty Kraimer
3b90f6b719 property and propertyTest now ready. doc not updated 2010-12-07 14:21:15 -05:00
Marty Kraimer
e82101b9c6 Implemented Queue. 2010-12-03 15:40:02 -05:00
Marty Kraimer
358923d064 started on documentation and changes to misc as a result 2010-12-02 15:28:09 -05:00
Marty Kraimer
9db054cc54 timer and timeStamp added to misc. copyright and license info added 2010-11-23 07:30:13 -05:00
Marty Kraimer
6e90ae7f12 added event thread executor timeFunction showConstructDestruct timeStamp 2010-11-17 11:14:38 -05:00
Marty Kraimer
5b4c642b5b fix dependencies between include files 2010-11-09 14:38:34 -05:00
Marty Kraimer
5a7438e028 added linkedList and test for linkedList 2010-11-09 14:23:30 -05:00
Marty Kraimer
2502b381d3 added a test for auxInfo and field offsets 2010-11-04 15:48:06 -04:00
Marty Kraimer
4f871aae05 a complete set of tests for PVData now exists 2010-11-04 09:38:53 -04:00
Marty Kraimer
7f03a52200 Merged conflicts with matej's push 2010-11-02 08:54:15 -04:00
Marty Kraimer
f259c4451d refactor introspection interfaces. replace epicsTypes by pvData types. 2010-11-02 07:53:03 -04:00
Matej Sekoranja
f751d075c5 serialization added 2010-11-01 23:28:03 +01:00
Marty Kraimer
59c2d447c1 testIntrospection now complete 2010-10-28 10:08:20 -04:00
Marty Kraimer
55b44e953d standardPVField now complete 2010-10-27 13:26:29 -04:00
Marty Kraimer
4e5e4ea782 added StandardPVField
StandardField, which creates standard introspection interfaces, is complele
2010-10-27 08:18:31 -04:00
Marty Kraimer
d2a4a6da8f Except for serialization all pv classes are implemented 2010-10-26 09:11:38 -04:00
Marty Kraimer
59eeadcd10 BasePVStructure now complete 2010-10-26 06:12:44 -04:00
Marty Kraimer
a2b35d1e82 AbstractPVField now finished 2010-10-22 10:41:17 -04:00
Marty Kraimer
fce7b9914b PVDataCreateFactory.cpp now complete 2010-10-21 16:23:28 -04:00
Marty Kraimer
ebbb1191bd ConvertFactory.cpp is now complete 2010-10-21 10:19:42 -04:00