00001 #ifndef TESTPASSES__TEST_OBJECT_FACTORY_H 00002 #define TESTPASSES__TEST_OBJECT_FACTORY_H 00003 00004 #include "suifkernel/suifkernel_forwarders.h" 00005 #include "suifkernel/real_object_factory.h" 00006 00007 class TestX; 00008 class TestY; 00009 00010 class TestObjectFactory : public RealObjectFactory { 00011 public: 00012 TestObjectFactory(); 00013 00014 virtual void init( SuifEnv* suif ); 00015 00016 virtual TestX* createTestX( int i, TestX* x1=0, TestX* x2=0 ); 00017 virtual TestY* createTestY( int i, TestX* x1=0, TestX* x2=0, TestX* x3=0 ); 00018 00019 virtual const LString& getName(); 00020 00021 }; 00022 00023 00024 00025 #endif 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038