I have c++ library that need communicate with Python plugged in modules. Communication supposes implementing by Python some callback c++ interface.
I have read already about writing extensions, but no idea how to develop inheritance.
So something about: C++:
class Broadcast
{
void set(Listener *){...
}
class Listener
{
void notify(Broadcast* owner) = 0;
}
I need something like in Python:
class ListenerImpl(Listener):
...
def notify(self, owner):
...
Note, I don't want use Boost.