Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated xml serialization model and data structures from CRTProtocol (
#66) This PR aims to make it easier to replace the xml serialization currently in place. In order to avoid a circular dependencies we move structures previously defined in RTProtocol.h into Settings.h behind a new namespace qualisys_cpp_sdk. We declare a new serialization and deserialization interface in Settings.h and move the current xml serialization to MarkupSerializer.cpp A side effect of moving the structures outside CRTProtocol is that enum constants are no longer reachable directly through the CRTProtocol namespace, instead they must be reached through their respective enum name. Example: CRTProtocol::RateAllFrames -> CRTProtocol::EStreamRate::RateAllFrames alt CRTProtocol::RateAllFrames -> qualisys_cpp_sdk::EStreamRate::RateAllFrames Added two new interfaces to be implemented by a future serialization solution. ISettingsSerializer ISettingsDeserializer We can consider removing the interfaces after the transition is done to a new serializer.
- Loading branch information