Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pimpl'ize ogre2 classes #137

Merged
merged 2 commits into from
Sep 14, 2020
Merged

Pimpl'ize ogre2 classes #137

merged 2 commits into from
Sep 14, 2020

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Sep 8, 2020

Updated several ogre2 classes to use pimpl. Most of the private classes are currently empty.

Signed-off-by: Ian Chen [email protected]

Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🔮 dome Ignition Dome label Sep 8, 2020
@iche033 iche033 added the ogre2.x label Sep 8, 2020
@iche033 iche033 changed the title Pimplize ogre2 classes Pimpl'ize ogre2 classes Sep 8, 2020
@codecov
Copy link

codecov bot commented Sep 8, 2020

Codecov Report

Merging #137 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
+ Coverage   52.03%   52.04%   +0.01%     
==========================================
  Files         143      143              
  Lines       13095    13100       +5     
==========================================
+ Hits         6814     6818       +4     
- Misses       6281     6282       +1     
Impacted Files Coverage Δ
ogre2/src/Ogre2Camera.cc 87.80% <100.00%> (+0.09%) ⬆️
ogre2/src/Ogre2GaussianNoisePass.cc 83.78% <100.00%> (+0.45%) ⬆️
ogre2/src/Ogre2Light.cc 98.23% <100.00%> (ø)
ogre2/src/Ogre2Material.cc 95.43% <100.00%> (+0.01%) ⬆️
ogre2/src/Ogre2MeshFactory.cc 83.33% <100.00%> (ø)
ogre2/src/Ogre2RenderPass.cc 81.81% <100.00%> (+1.81%) ⬆️
ogre2/src/Ogre2Scene.cc 90.43% <100.00%> (ø)
ogre2/src/Ogre2Visual.cc 84.84% <100.00%> (+0.15%) ⬆️
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 96.66% <0.00%> (-3.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46bf318...d2b2979. Read the comment docs.

@chapulina chapulina added the beta Targeting beta release of upcoming collection label Sep 8, 2020
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I just have some smaller comments that I'll leave up to you.

/// brief Pointer to the Gaussian noise ogre material
private: Ogre::Material *gaussianNoiseMat = nullptr;
/// \brief Pointer to private data class
private: std::unique_ptr<Ogre2GaussianNoisePassPrivate> dataPtr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see a warning, but there's no include memory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added. d2b2979

@chapulina chapulina merged commit df19d14 into master Sep 14, 2020
@chapulina chapulina deleted the pimpl_ogre2 branch September 14, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection 🔮 dome Ignition Dome ogre2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants