Class BindingMonitor

Class Documentation

class BindingMonitor

Tracks binding durations.

Note

When BindingMonitor goes out of scope the duration of its associated binding will be registered

Public Functions

BindingMonitor() = default

Constructs an instance of BindingMonitor.

BindingMonitor(BindingMonitor &&other)

Moves an instance of BindingMonitor.

Parameters

other -- [in] The BindingMonitor to move from

BindingMonitor &operator=(BindingMonitor &&other)

Moves an instance of BindingMonitor.

Parameters

other -- [in] The BindingMonitor to move from

Returns

This BindingMonitor after being moved tos

~BindingMonitor()

Destroys this BindingMonitor.

Note

The associated binding, if any, will have its duration registered

ResourceInfo const *GetResourceInfo() const

Gets a pointer to this BindingMonitor's ResourceInfo.

Returns

A pointer to this BindingMonitor's ResourceInfo

ResourceInfo::Ex const *GetResourceInfoEx() const

Gets a pointer to this BindingMonitor's ResourceInfo::Ex.

Returns

A pointer to this BindingMonitor's ResourceInfoEx

void Reset()

Registers the duration of the associated binding, if any, and resets this BindingMonitor to the default state.