The class does not need to be shared. This can cause "locally defined symbol" linker warnings - at least in a debug build. epicsShareClass can be removed.