-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Description
Currently, you cannot implement an OOP server without utilizing a hybrid approach with WRL or COM APIs.
It would be helpful if C++/WinRT provided a mechanism similar to WRL::Module that all implemented WinRT objects in the module would integrate with.
Like WRL, covers:
- Simple object registration
- Automatic outstanding object ref counting
- Synchronized COM shutdown and event when all objects have disconnected.
Not supported by WRL (I don't think), but nice to have:
- A delayed shutdown based on requested "de-bounce" time delay. i.e. trigger shutdown 5min after no objects are connected. Without this, a server can't easily create a shutdown delay. They must take a self-reference and have a way to monitor the module ref count to start the timer when ref hits 1 and reset timer when ref hits 2 or more.
eklipse2k8, DrusTheAxe, sylveon, haydenmc, roxk and 1 more
Metadata
Metadata
Assignees
Labels
No labels