BscDEHDrwEvtSrvc Registers this plug-in with the application as providing a draw event handling service.
BscDEHDrwEvtSrvc implements IK2ServiceProvider based on the partial implementation CServiceProvider.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * BscDEHDrwEvtSrvc::BscDEHDrwEvtSrvc | ( | IPMUnknown * | boss | ) | |
Constructor initializes a list of service IDs, one for each file action signal that DocWchResponder will handle.
- Parameters
| boss | interface ptr from boss object on which this interface is aggregated. |
| BscDEHDrwEvtSrvc::~BscDEHDrwEvtSrvc | ( | | ) | |
| virtual |
GetInstantiationPolicy returns a InstancePerX value to indicate that only one instance per session is needed.
Reimplemented from CServiceProvider.
| void BscDEHDrwEvtSrvc::GetName | ( | PMString * | pName | ) | |
| virtual |
GetName initializes the name of the service.
- Parameters
| pName | Ptr to PMString to receive the name. |
Reimplemented from CServiceProvider.
| ServiceID BscDEHDrwEvtSrvc::GetServiceID | ( | void | | ) | |
| virtual |
GetServiceID returns a single service ID. This is required, even though GetServiceIDs() will return the complete list initialized in the constructor. This method just returns the first service ID in the list.
Implements IK2ServiceProvider.
By default the base class will return the threading policy of the plugin where the service provider is defined. Service providers can override this if they reside in a model plugin but want to operate only in the main thread.
Reimplemented from CServiceProvider.
| bool16 BscDEHDrwEvtSrvc::IsDefaultServiceProvider | ( | void | | ) | |
| virtual |
IsDefaultServiceProvider tells the application this service is not the default service.
Reimplemented from CServiceProvider.