Commit Graph

46 Commits

Author SHA1 Message Date
Michael Davidsaver 57804494ef Misc fixes and error checking
fix argument type for getScalarType
mark getFieldName as const
Argument checking for Field construction
2013-05-24 18:28:54 -04:00
Matej Sekoranja cd95b75563 gcc 4.7+ compiler warnings removed 2013-02-27 11:44:00 +01:00
Matej Sekoranja 675243061d -Wextra compiler warnings fixed 2013-02-16 12:50:36 +01:00
Matej Sekoranja 04db13d00e default Structure id serialization opt. 2012-10-09 08:43:43 +02:00
Matej Sekoranja f88f0b4a76 localStaticLock - static local thread-safety 2012-10-08 12:19:21 +02:00
Marty Kraimer 5ba0209f39 get rid of all static global objects 2012-10-03 08:59:23 -04:00
Marty Kraimer 5e3311a024 LICENSE, COPYRIGHT, file header 2012-08-22 14:39:19 -04:00
Marty Kraimer 8f3a1dde34 Use "String const &" in many more places 2012-08-20 09:16:43 -04:00
Matej Sekoranja 05be6e6729 append/remove fields now preserves ID 2012-08-20 09:22:27 +02: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 12d13bc2c0 fix bug in renameField; Add check for zero length fieldNames in Structure. 2012-06-22 14:04:05 -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 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 619534b984 include files put into include/pv 2011-06-07 08:30:15 -04:00
Matej Sekoranja 8a34a9e52a memory leak fixed in case od duplicate fields 2011-05-18 10:45:54 +02:00
Marty Kraimer fc74317993 use Michael Davidsaver version of introspection 2011-04-21 15:21:18 -04:00
Marty Kraimer 6d3ef2f5b6 use & instead of * in misc.
Simplify lock.h
2011-02-18 08:17:17 -05:00
Michael Davidsaver 7d3e58fcc9 CDRMonitor: lazy node creation 2011-02-08 13:28:02 -05:00
Michael Davidsaver 8adb8b7766 rename showConstructDestruct.h to CDRMonitor.h 2011-02-02 10:11:07 -05:00
Michael Davidsaver 3dd943d3b3 undercounting field
The reference count is 1 on construction
2011-02-02 10:11:07 -05:00
Michael Davidsaver 4a65bf9342 switch remaining to use REFCOUNT macros 2011-02-02 10:11:07 -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
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 3b90f6b719 property and propertyTest now ready. doc not updated 2010-12-07 14:21:15 -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 28aad96b34 redid showConstructDestruct 2010-11-17 15:28:18 -05:00
Marty Kraimer 6e90ae7f12 added event thread executor timeFunction showConstructDestruct timeStamp 2010-11-17 11:14:38 -05:00
Marty Kraimer f259c4451d refactor introspection interfaces. replace epicsTypes by pvData types. 2010-11-02 07:53:03 -04: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 4b912a3c30 scalars and arrays implemented 2010-10-01 10:01:27 -04:00
Marty Kraimer 419f340aaa All PVScalar interfaces now implemented 2010-09-30 07:49:29 -04:00
Marty Kraimer 355ac3aa1d Fixed const mess 2010-09-29 09:24:17 -04:00
Marty Kraimer f6c9b0eea3 1) implemented noDefaultMethods. See effective C++ Item 6. There it is called Uncopyable
2) implemented Lock. See effective C++ item 14.
     This is as easy to use as Java synchronize.
3) wrapper on top of std::string. All usage of string in pvData is one of:
      String - Just a std::string
     StringBuilder - Used where StringBuilder is used in Java
     StringConst - Just a "std::string const". This is used wherever String is used in Java
     StringConstArray - Just like a String[] in Java.
4) The reference counting (incReferenceCount and decReferenceCount) are now private. It is completely handled by the implenentaion.
    NO code that uses pvData needs even know about reference counting.
2010-09-27 08:33:10 -04:00
Marty Kraimer dd6ecf9bec all pvData interfaces and implementration stubs now defined
Most methods are not implemented and throw an exception
2010-09-24 09:52:08 -04:00
Marty Kraimer 10c2be9a3f Still working on initial version 2010-09-17 09:31:44 -04:00
Marty Kraimer ac194e1123 Working on initial version 2010-09-15 06:54:43 -04:00
Marty Kraimer 91f80a59e0 Fuller implementation of introspection.
Have not taken care of destroy or sharing
2010-08-12 05:36:25 -04:00
Marty Kraimer 81f3a1a0b2 Add initial files 2010-08-10 12:43:47 -04:00