1SharedObject class 2################### 3 4Member Functions 5---------------- 6 7SharedObject(void) 8 91) Sets dependent count to 0 10 11virtual ~SharedObject(void) 12 131) Does nothing 14 15virtual void AddDependent(void) 16 171) Increments dependent count 18 19virtual void RemoveDependent(void) 20 211) Decrements dependent count if greater than 0 22 23virtual bool HasDependents(void) 24 251) if dependent count > 0, return true. Otherwise, return false. 26 27