ITopologyExecutionResource Structure

 

An interface to an execution resource as defined by the Resource Manager.

struct ITopologyExecutionResource;

Public Methods

NameDescription
ITopologyExecutionResource::GetId MethodReturns the Resource Manager's unique identifier for this execution resource.
ITopologyExecutionResource::GetNext MethodReturns an interface to the next execution resource in enumeration order.

This interface is typically utilized to walk the topology of the system as observed by the Resource Manager.

ITopologyExecutionResource

Header: concrtrm.h

Namespace: concurrency

Returns the Resource Manager's unique identifier for this execution resource.

virtual unsigned int GetId() const = 0;

Return Value

The Resource Manager's unique identifier for this execution resource.

Returns an interface to the next execution resource in enumeration order.

virtual ITopologyExecutionResource *GetNext() const = 0;

Return Value

An interface to the next execution resource in enumeration order. If there are no more nodes in enumeration order of the node to which this execution resource belongs, this method will return the value NULL.

concurrency Namespace

Show: