![]() | InDesign SDK 20.5 |

Public Member Functions | |
| HypPerformanceMetric (IPMUnknown *boss) | |
| virtual void | GetMetricInfo (PerformanceMetricIDList &metricIDs) |
| virtual PMString | GetMetricShortName (PerformanceMetricID metricID) |
| virtual PMString | GetMetricLongName (PerformanceMetricID metricID) |
| virtual void | DeRegisterMetric (PerformanceMetricID metricID) |
| virtual uint64 | GetMetricValue (PerformanceMetricID metricID) |
| virtual void | ResetMetric (PerformanceMetricID metricID) |
Additional Inherited Members | |
Public Types inherited from IPerformanceMetric | |
| enum | { kDefaultIID = IID_IPERFORMANCEMETRIC } |
| typedef K2Vector < PerformanceMetricID > | PerformanceMetricIDList |
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * HypPerformanceMetric::HypPerformanceMetric | ( | IPMUnknown * | boss | ) |
constructor.
| virtual |
Called when the specified performance metric is about to be de-registered.
| metricID | [IN] - the id of the metric being deregistered; will be one of the ids returned from GetMetricInfo. |
DeRegisterMetric Cleans up
Implements IPerformanceMetric.
| virtual |
GetMetricInfo Add this plug-ins metric ids to the end of the id list
Implements IPerformanceMetric.
| virtual |
Return the long name of the specified performance metric id. This is used as the description of the performance counter registered with PerfMon on Windows.
| metricID | [IN] - the id of the metric being queried for; will be one of the ids returned from GetMetricInfo. |
GetMetricLongName returns the description of the metric
Implements IPerformanceMetric.
| virtual |
Return the short name of the specified performance metric id. This is used as the name of the performance counter registered with PerfMon on Windows.
| metricID | [IN] - the id of the metric being queried for; will be one of the ids returned from GetMetricInfo. |
GetMetricShortName returns the short name for the metric
Implements IPerformanceMetric.
| virtual |
Called to get the current value of the specified metric.
| metricID | [IN] - the id of the metric being queried for; will be one of the ids returned from GetMetricInfo. |
GetMetricValue returns the value of the metric
Implements IPerformanceMetric.
| virtual |
Reset the current value of the specified performance metric.
| metricID | [IN] - the id of the metric being reset; will be one of the ids returned from GetMetricInfo. |
ResetMetric resets the metrics to zero
Implements IPerformanceMetric.