|
Portability through abstraction
|
|
|
Generic-Home
Product Infos Download & Test |
Generic++ encapsulates important system interfaces in system-independent classes. Therefore you can easily write lets say a multithreaded server and let it run on Windows and Unix platforms without any changes in the source code. Thread classesGeneric++ is not only thread-safe by itself - it also provides you with many useful classes for the creation and synchronization of threads. All those classes are completely system independent. They are using a abstract system layer, which maps the functionality to the operating system used. By using special macros you can create your programs in a way, that you can compile them for single-threaded and/or multi-threaded environments. In single-threaded environments there won't be any synchronization overhead. Path and directory classesGeneric++ completely encapsulates the access to the file system. Class G_Path is used to model file ad directory names. Using class G_Dir you can read or sort directories. Flexible memory managementGeneric++ provides an own very efficient memory manager for small sized objects. This memory manager can be switched off without recompilation via an environment variable. This is especially useful when looking for memory leaks with tools like Purify or BoundsChecker. Light weight persistenceGeneric++ supports serializing arbitrary networks of objects in a morphologic correct way. Serialization is done in a compact, system-independent binary format, so that serialized objects can be moved from one platform to another. So you can move objects via files, sockets, internet connections or anything that can be used to transport binary data. Integrated object schema versioning allows you to change the structure of your object without sacrifying downward compatibility of your application. Feature overview: next page |