fb10ed768b
An object based on 'weston_timeline_subscription' will be created for each subscription created. It contains the next object ID and list of 'weston_timeline_subscription_object'. It will automatically be cleaned by the logging framework when the subscription gets destroyed, or use the object destroy signal to trigger the destruction of the timeline subscription (@pq), when the object itself is being destroyed. This class will hanged-off the subscription, such that we can retrieve it when going over all the subscriptions. An object based on 'weston_timeline_subscription_object' will help maintain the state of the objects seen and will be created when a new object will be emitted for a particular 'weston_timeline_subscription'. Adds wrappers for ensuring the timeline subscription object is created or has to be searched in order to be found, as to avoid duplicated code. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Daniel Stone <daniel.stone@collabora.com>