Add some info about shared_ptr to weak_ptr future refactor

This commit is contained in:
Gioacchino Mazzurco 2019-04-15 10:37:21 +02:00
parent a5cdee6078
commit 5554f799c0
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
3 changed files with 13 additions and 2 deletions

View file

@ -37,6 +37,9 @@ class RsBroadcastDiscovery;
/**
* Pointer to global instance of RsBroadcastDiscovery service implementation
* @jsonapi{development}
*
* TODO: this should become std::weak_ptr once we have a reasonable services
* management.
*/
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;

View file

@ -33,6 +33,9 @@ class RsEvents;
/**
* Pointer to global instance of RsEvents service implementation
* @jsonapi{development}
*
* TODO: this should become std::weak_ptr once we have a reasonable services
* management.
*/
extern std::shared_ptr<RsEvents> rsEvents;