Commit Graph

86 Commits

Author SHA1 Message Date
Unknown a7bd52bd48 minimize preprocessor branching for vxWorks 2012-09-06 17:12:53 +02:00
Unknown 55df2e06e2 compatibility with vxWorks 2012-09-05 14:11:07 +02:00
Matej Sekoranja cfc9ebefb0 merge 2012-09-03 23:46:06 +02:00
Matej Sekoranja 516518529c VxWorks ports from Dirk 2012-09-03 23:43:26 +02:00
Marty Kraimer 5e3311a024 LICENSE, COPYRIGHT, file header 2012-08-22 14:39:19 -04:00
Matej Sekoranja 4b26e1c442 dumpValue methods 2012-08-21 23:34:59 +02:00
Marty Kraimer 8f3a1dde34 Use "String const &" in many more places 2012-08-20 09:16:43 -04:00
Marty Kraimer 66fb300873 documentation updated; changes for Field::ID 2012-08-17 06:45:20 -04:00
Matej Sekoranja ac10b73e69 Field::getID() added 2012-07-31 10:30:50 +02:00
Marty Kraimer 1db56f4b29 fix bug in unsigned standardField; missing const in pvIntrospect.h 2012-07-19 16:08:11 -04:00
Marty Kraimer 5d6205cb44 changes to PVStructureArray 2012-07-08 08:38:57 -04:00
Marty Kraimer 126fe9c711 use const where appropriate 2012-05-22 11:51:53 -04:00
Marty Kraimer e9b0dcd9f4 lots of work on Scalar Arrays 2012-05-21 10:06:28 -04:00
Matej Sekoranja 8040ad5fc7 serialization test, shared-ptr const 2012-05-18 11:42:57 +02:00
Matej Sekoranja 9ab2262e86 serialization/deserialization of Field-s 2012-05-16 22:11:17 +02:00
Marty Kraimer 29593a6eda get rid of unnecessary method in class StructureArray 2012-05-16 06:46:23 -04:00
Marty Kraimer ca195b44cf more debuging 2012-05-15 11:58:24 -04:00
Marty Kraimer a396d8e6ac change the way PVField::getFieldName is implemented 2012-05-15 09:40:44 -04:00
Marty Kraimer 87bff33c30 support unsigned; move fieldName; pvData use shared_pointer everywhere 2012-05-08 09:29:30 -04:00
Matej Sekoranja 2dba4aab2b Dirk's VxWorks porting 2012-03-28 20:40:49 +02:00
Matej Sekoranja 6caa725f5a Field serialization moved to pvData 2012-03-27 10:32:37 +02:00
Marty Kraimer d1a773bcbd revise location od documentation 2011-12-12 09:38:40 -05:00
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