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

Use managed pointers for services, modules and the framework #38

Closed
saschazelzer opened this Issue Sep 23, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@saschazelzer
Member

saschazelzer commented Sep 23, 2015

With the newly introduced life-cycle of the framework itself and its associated modules, a Module* could outlive its association with the framework.

A Framework* instance could be shared between different parties.

Service instances currently need to be managed by the registering party. Using shared pointer semantics could ease memory management and keep track of used "handles" from modules within other modules and make ungetService calls superfluous.

@karthikreddy09

This comment has been minimized.

Show comment
Hide comment
@karthikreddy09

karthikreddy09 Nov 18, 2015

Contributor

The services part has been merged to development from 38-smart-pointers-for-services branch. Jeff is working on merging the part related to Bundle objects.

Contributor

karthikreddy09 commented Nov 18, 2015

The services part has been merged to development from 38-smart-pointers-for-services branch. Jeff is working on merging the part related to Bundle objects.

jeffdiclemente added a commit that referenced this issue Nov 18, 2015

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

jeffdiclemente added a commit that referenced this issue Nov 23, 2015

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

jeffdiclemente added a commit that referenced this issue Jan 13, 2016

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

jeffdiclemente added a commit that referenced this issue Jan 13, 2016

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

karthikreddy09 added a commit that referenced this issue Jan 29, 2016

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

karthikreddy09 added a commit that referenced this issue Jan 29, 2016

Convert to shared_ptr<Bundle>
Convert all instances of Bundle raw pointers to shared_ptr<Bundle>.

Closes #38

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com

mckaygerhard added a commit to MoonLightDE/mlde.l.cppmicroservices that referenced this issue Sep 3, 2017

started the #38 cmake changes for packagin needs.. do not trak the or…
…iginal mcpps

* do not backported the CppMicroServices/CppMicroServices@afdf3f2 its very unclear
* start to made all the paths lowercase to proper packagin in debian and VenenuX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment