comet::module_t Struct Reference
[Server implementation details.]

COM module. More...

#include <module.h>

Collaboration diagram for comet::module_t:

Collaboration graph
[legend]
List of all members.

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_sectioncs () 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_tmodule ()
 global module object

Detailed Description

COM module.


Member Function Documentation

const critical_section& comet::module_t::cs  )  const [inline]
 

Return the module's critical_section.

                         auto_cs lock( module().cs() );


The documentation for this struct was generated from the following file: