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.
16 lines
262 B
Makefile
16 lines
262 B
Makefile
TOP=../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
INC += noDefaultMethods.h
|
|
INC += lock.h
|
|
INC += requester.h
|
|
INC += serialize.h
|
|
INC += bitSet.h
|
|
INC += byteBuffer.h
|
|
|
|
include $(TOP)/configure/RULES
|
|
#----------------------------------------
|
|
# ADD RULES AFTER THIS LINE
|
|
|