Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
comet::module_t Struct Reference
[Server implementation details.]
COM module.
More...
#include <module.h>
Collaboration diagram for comet::module_t:

Public Member Functions | |
Attributes | |
| long | rc () |
| Return current reference count. | |
| HINSTANCE | instance () const |
| Retun the HINSTANCE of the module. | |
| void | instance (HINSTANCE h) |
| Set the hinstance of the module. | |
| const critical_section & | cs () const |
| Return the module's critical_section. | |
Operations | |
| void | lock () |
| Add to the module locks. | |
| void | unlock () |
| Decrement the module lock. | |
| void | shutdown () |
| Shutdown the server. | |
| void | set_shutdown_event (event &shutdown_event) |
| Set an event for shutdown. | |
| void | clear_shutdown_event () |
| Remove the event for on shutdown. | |
| bool | has_activity () const |
| Returns if there has been activity on the module since last reset. | |
| void | reset_activity_flag () |
| Reset the activity marker. | |
| void | add_object_to_dispose (impl::cmd_t *p) |
| Add an objet to be disposed on shutdown. | |
Friends | |
| module_t & | module () |
| global module object | |
Detailed Description
COM module.
Member Function Documentation
|
|
Return the module's critical_section.
|
The documentation for this struct was generated from the following file: