Need to call a function (referenced by static pointer) from a static member
<p>everyone.
Recently I face the challenge. Cannot say that it was a critical problem, but just an interesting thing.
There is src code:</p>

<pre><code>class Data {
typedef void (Object::*CallBack)(void);

public:
Data() : m_callBack(NULL) {}
void setCallBack(CallBack ptr)
{
    m_callBack = ptr;
}
void start()
{
    Aux::someAction();
}

private:
static CallBack m_callBack;

class Aux{
    public:
    static someAction()
    {
        if(m_callBack)
        {
            // How to call function for this reference ? - m_callBack
        }
    }
}; // End of 'Aux' class
}; // End of 'Data' class
</code></pre>

<p>So, I know that we can call functions from pointers like that: (this->*m_callBack)(). But static class members do not have an access to ‘this’ pointer. Of course, I can store a pointer of a parent with m_callBack pointer and call (parent->*m_callBack)(). In same cases it may be not so good.
So, my question: Is there any other methods to call m_callBack function from a static class member. Also, I’m interesting about – if m_callBack references to class member of static OR non static function.</p>
