Changeset 5769
- Timestamp:
- Sep 23, 2009, 8:53:33 PM (15 years ago)
- Location:
- code/branches/core5/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/ClassFactory.h
r5738 r5769 47 47 namespace orxonox 48 48 { 49 // ############################### 50 // ### BaseFactory ### 51 // ############################### 52 //! Base-class of ClassFactory. 53 class _CoreExport BaseFactory 54 { 55 public: 56 virtual BaseObject* fabricate(BaseObject* creator) = 0; 57 virtual ~BaseFactory() {}; 58 }; 59 49 60 // ############################### 50 61 // ### ClassFactory ### -
code/branches/core5/src/libraries/core/Factory.h
r5738 r5769 86 86 std::map<uint32_t, Identifier*> identifierNetworkIDMap_; //!< The map, mapping the network ID with the Identifier 87 87 }; 88 89 // ###############################90 // ### BaseFactory ###91 // ###############################92 //! Base-class of ClassFactory. Has to be defined separate because of circular dependencies.93 class _CoreExport BaseFactory94 {95 public:96 virtual BaseObject* fabricate(BaseObject* creator) = 0;97 virtual ~BaseFactory() {};98 };99 88 } 100 89 -
code/branches/core5/src/libraries/core/Identifier.cc
r5738 r5769 39 39 #include "ConfigValueContainer.h" 40 40 #include "ConsoleCommand.h" 41 #include " Factory.h"41 #include "ClassFactory.h" 42 42 #include "XMLPort.h" 43 43
Note: See TracChangeset
for help on using the changeset viewer.