MyActorAImpl : public MyActorA, public RccObject { virtual void initialize(); virtual void terminate(); virtual void* getInterface(InterfaceId id) { if (id == MY_ACTOR_ID) { return static_cast<MyActorA*>(this);} return nullptr; } virtual serialize(Serializer* serializer); // MyActorA virtual void act(); };