#ifndef _Test_H__ #define _Test_H__ #include "BaseObject.h" #include "../core/CoreIncludes.h" namespace orxonox { class Interface1 : virtual public OrxonoxClass { protected: Interface1() { RegisterRootObject(Interface1); } }; class Interface2 : virtual public OrxonoxClass { protected: Interface2() { RegisterRootObject(Interface2); } }; class A1 : public BaseObject { public: A1() { RegisterObject(A1); } }; class A2 : public BaseObject { public: A2() { RegisterObject(A2); } }; class A3: public BaseObject, public Interface1 { public: A3() { RegisterObject(A3); } }; class A1B1 : public A1 { public: A1B1() { RegisterObject(A1B1); } }; class A1B2 : public A1 { public: A1B2() { RegisterObject(A1B2); } }; class A2B1 : public A2 { public: A2B1() { RegisterObject(A2B1); } }; class A2B2 : public A2, Interface1 { public: A2B2() { RegisterObject(A2B2); } }; class A3B1 : public A3 { public: A3B1() { RegisterObject(A3B1); } }; class A3B2 : public A3, Interface2 { public: A3B2() { RegisterObject(A3B2); } }; class A1B1C1 : public A1B1 { public: A1B1C1() { RegisterObject(A1B1C1); } }; class A1B1C2 : public A1B1 { public: A1B1C2() { RegisterObject(A1B1C2); } }; class A1B2C1 : public A1B2 { public: A1B2C1() { RegisterObject(A1B2C1); } }; class A2B1C1 : public A2B1, Interface2 { public: A2B1C1() { RegisterObject(A2B1C1); } }; class A2B2C1 : public A2B2 { public: A2B2C1() { RegisterObject(A2B2C1); } }; class A3B1C1 : public A3B1 { public: A3B1C1() { RegisterObject(A3B1C1); } }; class A3B1C2 : public A3B1, Interface2 { public: A3B1C2() { RegisterObject(A3B1C2); } }; class A3B2C1 : public A3B2 { public: A3B2C1() { RegisterObject(A3B2C1); } }; class A3B2C2 : public A3B2 { public: A3B2C2() { RegisterObject(A3B2C2); } }; CreateFactory(A1); CreateFactory(A2); CreateFactory(A3); CreateFactory(A1B1); CreateFactory(A1B2); CreateFactory(A2B1); CreateFactory(A2B2); CreateFactory(A3B1); CreateFactory(A3B2); CreateFactory(A1B1C1); CreateFactory(A1B1C2); CreateFactory(A1B2C1); CreateFactory(A2B1C1); CreateFactory(A2B2C1); CreateFactory(A3B1C1); CreateFactory(A3B1C2); CreateFactory(A3B2C1); CreateFactory(A3B2C2); } #endif