Recently, we implmented a manager class which is responsible for loading/reloading graphics resources automatically and managing the graphics object. This means, no other user of the graphics object can change the state of that object. it can only use it.
For example. an msl object is used multiple times by 100 users. non of the 100 users can do a release or init a reconfigure.
For that reason, a msl object requires a flag that can be set so any other object is does not do mentioned actions.
May a single flag suffice, but can not handle multiple managers.
Recently, we implmented a manager class which is responsible for loading/reloading graphics resources automatically and managing the graphics object. This means, no other user of the graphics object can change the state of that object. it can only use it.
For example. an msl object is used multiple times by 100 users. non of the 100 users can do a release or init a reconfigure.
For that reason, a msl object requires a flag that can be set so any other object is does not do mentioned actions.
May a single flag suffice, but can not handle multiple managers.