nn::nex::ChangeMasterStationOperation::IsAPromotion Member Function

Syntax

qBool IsAPromotion() const;

Parameters

None.

Return Values



Value Description
true Returned when a Duplicated Object gets an authority promotion from duplica to duplication master on the station on which this operation is executed.
false Returned when a Duplicated Object gets an authority demotion from duplication master to duplica, or remains as a duplica, on the station on which this operation is executed.

Description

Gets whether this operation results in authority promotion of a Duplicated Object.

In an authority promotion, a duplica (which has no control authority and is just an object copy) becomes a duplication master (which has control authority and is the original for the copies). Duplicated Object migration, in which control authority is moved from one station to another, involves various role changes for the Duplicated Object: an authority promotion, an authority demotion, and no change in role for the rest of its duplicas (their control simply migrates from one station to another).

See Also

IsADemotion, IsARoleChange, DuplicatedObject::IsADuplicationMaster, DuplicatedObject::IsADuplica

Revision History

2011/01/27
Initial version.

CONFIDENTIAL