Class Registry

Synopsis

#include <include/Registry.h>

template<class C>
class Registry

Description

No description yet.

Methods

createBeanPtr
get
has
notifyRBDies

Source

Lines 25-39 in include/Registry.h.

template<class C>
class Registry{
    protected:
        friend class rb_pair<C>;

        static std::map<bean_key,rb_pair<C>* > rbpairs;

        static void notifyRBDies(rb_pair<C>* r);

    public:
        static bean_ptr<C> get(const bean_key key);
        static bool has(const bean_key key);

        static bean_ptr<C> createBeanPtr(bean_key key, C* obj);
};





Add Discussion as Guest

Log in