SubscribeObjectChildAdded

virtual PSubscription ISystem::SubscribeObjectChildAdded(ObjectChildAddedHandler handler) = 0

Subscribes a callback to be executed when an object is added as child to a descendant object of this system.

Parameters

handler – Function to be called when an object is added.

Returns

PSubscription – An ISubscription for the callback.

Throws

CInvalidArgumentException – Empty callback handler specified.