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.
21 lines
447 B
Makefile
21 lines
447 B
Makefile
TOP=../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
PROD_HOST += testIntrospect
|
|
testIntrospect_SRCS += testIntrospect.cpp
|
|
testIntrospect_LIBS += pvFactory
|
|
|
|
PROD_HOST += testPVAuxInfo
|
|
testPVAuxInfo_SRCS += testPVAuxInfo.cpp
|
|
testPVAuxInfo_LIBS += pvFactory
|
|
|
|
PROD_HOST += testPVScalar
|
|
testPVScalar_SRCS += testPVScalar.cpp
|
|
testPVScalar_LIBS += pvFactory
|
|
|
|
include $(TOP)/configure/RULES
|
|
#----------------------------------------
|
|
# ADD RULES AFTER THIS LINE
|
|
|