Applied PIMPL to sig{Fpe,Int,Quit,Segv} and {cpu,clock}Time classes
commite32c496ce231057c8f87a55901a0309adcfffc2e
authorMichael Wild <themiwi@users.sourceforge.net>
Wed, 22 Oct 2008 05:54:48 +0000 (22 07:54 +0200)
committerMichael Wild <themiwi@users.sourceforge.net>
Wed, 25 Feb 2009 05:39:35 +0000 (25 06:39 +0100)
tree3440a686738d7da5122d03c13ba652a0aaf71802
parentac96a5831472849021e35f4371ffb4822fa379e0
Applied PIMPL to sig{Fpe,Int,Quit,Segv} and {cpu,clock}Time classes

Split the sigFpe, sigInt, sigQuit, sigSegv, cpuTime and clockTime
classes into a public interface which discloses nothing about the
platform specific implementation and a private implementation class
(sigFpeImpl, sigIntImpl, sigQuitImpl, sigSegvImpl, cpuTimeImpl and
clockTimeImpl) which does all the actual work. The public interface
holds an opaque pointer to the implementation class.

This is another step in making OpenFOAM/FreeFOAM installable. All the
platform specific stuff should be hidden away in libOSspecific and
should not show up in the installed headers.

Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
27 files changed:
src/OSspecific/OSspecific/clockTime.C [copied from src/OSspecific/Unix/clockTime/clockTime.C with 71% similarity]
src/OSspecific/OSspecific/clockTime.H [copied from src/OSspecific/Unix/clockTime/clockTime.H with 88% similarity]
src/OSspecific/OSspecific/cpuTime.C [copied from src/OSspecific/Unix/cpuTime/cpuTime.C with 71% similarity]
src/OSspecific/OSspecific/cpuTime.H [copied from src/OSspecific/Unix/cpuTime/cpuTime.H with 87% similarity]
src/OSspecific/OSspecific/sigFpe.C [copied from src/OSspecific/Unix/clockTime/clockTime.C with 59% similarity]
src/OSspecific/OSspecific/sigFpe.H [copied from src/OSspecific/Unix/signals/sigFpe.H with 77% similarity]
src/OSspecific/OSspecific/sigInt.C [copied from src/OSspecific/Unix/clockTime/clockTime.C with 59% similarity]
src/OSspecific/OSspecific/sigInt.H [copied from src/OSspecific/Unix/signals/sigInt.H with 88% similarity]
src/OSspecific/OSspecific/sigQuit.C [copied from src/OSspecific/Unix/clockTime/clockTime.C with 59% similarity]
src/OSspecific/OSspecific/sigQuit.H [copied from src/OSspecific/Unix/signals/sigQuit.H with 88% similarity]
src/OSspecific/OSspecific/sigSegv.C [copied from src/OSspecific/Unix/clockTime/clockTime.C with 59% similarity]
src/OSspecific/OSspecific/sigSegv.H [copied from src/OSspecific/Unix/signals/sigSegv.H with 88% similarity]
src/OSspecific/Unix/Make/files
src/OSspecific/Unix/Make/options
src/OSspecific/Unix/clockTime/clockTimeImpl.C [moved from src/OSspecific/Unix/clockTime/clockTime.C with 91% similarity]
src/OSspecific/Unix/clockTime/clockTimeImpl.H [moved from src/OSspecific/Unix/clockTime/clockTime.H with 92% similarity]
src/OSspecific/Unix/cpuTime/cpuTimeImpl.C [moved from src/OSspecific/Unix/cpuTime/cpuTime.C with 90% similarity]
src/OSspecific/Unix/cpuTime/cpuTimeImpl.H [moved from src/OSspecific/Unix/cpuTime/cpuTime.H with 90% similarity]
src/OSspecific/Unix/signals/sigFpeImpl.C [moved from src/OSspecific/Unix/signals/sigFpe.C with 88% similarity]
src/OSspecific/Unix/signals/sigFpeImpl.H [moved from src/OSspecific/Unix/signals/sigFpe.H with 91% similarity]
src/OSspecific/Unix/signals/sigIntImpl.C [moved from src/OSspecific/Unix/signals/sigInt.C with 86% similarity]
src/OSspecific/Unix/signals/sigIntImpl.H [moved from src/OSspecific/Unix/signals/sigInt.H with 85% similarity]
src/OSspecific/Unix/signals/sigQuitImpl.C [moved from src/OSspecific/Unix/signals/sigQuit.C with 86% similarity]
src/OSspecific/Unix/signals/sigQuitImpl.H [moved from src/OSspecific/Unix/signals/sigQuit.H with 85% similarity]
src/OSspecific/Unix/signals/sigSegvImpl.C [moved from src/OSspecific/Unix/signals/sigSegv.C with 86% similarity]
src/OSspecific/Unix/signals/sigSegvImpl.H [moved from src/OSspecific/Unix/signals/sigSegv.H with 85% similarity]
wmake/Makefile