ModuleBase Class

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

class ModuleBase;

Remarks

Represents the base class of the Module classes.

Members

Public Constructors

Name Description
ModuleBase::ModuleBase Initializes an instance of the Module class.
ModuleBase::~ModuleBase Deinitializes the current instance of the Module class.

Public Methods

Name Description
ModuleBase::DecrementObjectCount When implemented, decrements the number of objects tracked by the module.
ModuleBase::IncrementObjectCount When implemented, increments the number of objects tracked by the module.

Inheritance Hierarchy

ModuleBase

Requirements

Header: implements.h

Namespace: Microsoft::WRL::Details

ModuleBase::~ModuleBase

Supports the WRL infrastructure and is not intended to be used directly from your code.

virtual ~ModuleBase();

Remarks

Deinitializes the current instance of the ModuleBase class.

ModuleBase::DecrementObjectCount

Supports the WRL infrastructure and is not intended to be used directly from your code.

virtual long DecrementObjectCount() = 0;

Return Value

The count before the decrement operation.

Remarks

When implemented, decrements the number of objects tracked by the module.

ModuleBase::IncrementObjectCount

Supports the WRL infrastructure and is not intended to be used directly from your code.

virtual long IncrementObjectCount() = 0;

Return Value

The count before the increment operation.

Remarks

When implemented, increments the number of objects tracked by the module.

ModuleBase::ModuleBase

Supports the WRL infrastructure and is not intended to be used directly from your code.

ModuleBase();

Remarks

Initializes an instance of the Module class.