nn::nex::DuplicatedObject::IsADuplica Member Function

Syntax

qBool IsADuplica() const;

Parameters

None.

Return Values



Value Description
true This duplicated object is a duplica.
false This Duplication Object is a duplication master or has an unknown status.

Description

Gets whether this duplicated object is a duplica.

A duplica is a duplicated object that is an exact copy of a duplication master. Any changes to the values of the duplication master (the copy source) are propagated over the network and update the values of all duplicas existing in the session, so duplicas retain their status as copies. If this function returns true, this duplicated object instance is a duplica.

If a role has been initialized for a duplicated object, then the object is neither a duplication master nor a duplica. Typically, this occurs when this function is called by the constructor. Which role the object will take is determined by the InitDO callback.

Revision History

2011/01/27
Initial version.

CONFIDENTIAL