Comments (10)
You could just call Encode and Decode using the PDU_Factory although it's more work than a straight copy.
from kdis.
@karljj1 Can we try to implement this
What do you think?
from kdis.
@karljj1 Can we try to implement this
What do you think?
This would involve adding a clone
method to every PDU and DataType? It should be fine, just quite a bit of work ;)
from kdis.
See https://github.com/CppCodeReviewers/Covariant-Return-Types-and-Smart-Pointers
This is mind blowing
from kdis.
Looks interesting. I did avoid using some of the newer c++ features because I know some of the users of kdis were running it on a 20 year old toaster, but it may be time to embrace them 😄
from kdis.
With the refactor we've set the minimum C++ standard as 11.
Therefore, we should be good with this one
from kdis.
We should probably get rid of my old smart pointer then, if you haven't already 😄
from kdis.
Done in the previous PR
from kdis.
@karljj1 It's correct that Reliability_Header
does not extend Header
? Am I missing somethig? Thanks
from kdis.
Yes Reliability header is only for PDU that support it, the PDU tend to be in a special reliable category. So instead we use multiple inheritance to add it in when needed.
from kdis.
Related Issues (14)
- Dead Reckoning Other Parameters HOT 4
- chore: move sources to root HOT 2
- feat: Change from KDIS_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR HOT 2
- chore: add .clang-format HOT 7
- chore: add clang-tidy HOT 1
- Connection builder pattern HOT 2
- Convert changelog into markdown.
- Remove KDIS_Change_Log.htm file HOT 1
- Update GitHub description HOT 3
- Disable include CPM.cmale
- std::unordered_map instead of std::map
- enum class instead of enum
- Code coverage HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kdis.