TAO::Null_RefCount_Policy Class ReferenceNo-op reference counting policy. More...
Detailed DescriptionNo-op reference counting policy.This class is intended to be used as a "policy" argument to a host class template that implements no-op reference counting. That class would then inherit privately from it like so:
template <class RefCountPolicy> class MyHostClass : private RefCountPolicy { public: void my_add_ref (void) { this->RefCountPolicy::add_ref (); } void my_remove_ref (void) { this->RefCountPolicy::remove_ref (); } }; and use it like so:
typedef MyHostClass<TAO::Null_RefCount_Policy> MyNonRefCountedClass;
MyNonRefCountedClass m;
...
Member Function Documentation
No-op reference increment.
No-op reference decrement.
The documentation for this class was generated from the following file: Generated on Mon Sep 15 07:48:03 2008 for TAO_AnyTypeCode by 1.5.5 |