virtual bool operator ==(const ObjectImpl &other) const;
static void check(CSSM_RETURN status);
+ bool isIdle() const { return mChildCount == 0; }
protected:
bool mActive; // loaded, attached, etc.
+ RecursiveMutex mActivateMutex;
mutable Allocator *mAllocator; // allocator hierarchy (NULL => TBD)
template <class Obj> Obj parent() const
void addChild();
void removeChild();
- bool isIdle() const { return mChildCount == 0; }
// {de,}activate() assume you have locked *this
virtual void activate() = 0;
bool operator ==(const Object &other) const
{ return mImpl && other.mImpl ? *mImpl == *other.mImpl : mImpl == other.mImpl; }
+ Impl* get() {return mImpl;}
+
private:
RefPointer<Impl> mImpl;
};