Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5769


Ignore:
Timestamp:
Sep 23, 2009, 8:53:33 PM (15 years ago)
Author:
landauf
Message:

moved BaseFactory from Factory.h to ClassFactory.h

Location:
code/branches/core5/src/libraries/core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/ClassFactory.h

    r5738 r5769  
    4747namespace orxonox
    4848{
     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
    4960    // ###############################
    5061    // ###      ClassFactory       ###
  • code/branches/core5/src/libraries/core/Factory.h

    r5738 r5769  
    8686            std::map<uint32_t, Identifier*> identifierNetworkIDMap_;        //!< The map, mapping the network ID with the Identifier
    8787    };
    88 
    89     // ###############################
    90     // ###       BaseFactory       ###
    91     // ###############################
    92     //! Base-class of ClassFactory. Has to be defined separate because of circular dependencies.
    93     class _CoreExport BaseFactory
    94     {
    95         public:
    96             virtual BaseObject* fabricate(BaseObject* creator) = 0;
    97             virtual ~BaseFactory() {};
    98     };
    9988}
    10089
  • code/branches/core5/src/libraries/core/Identifier.cc

    r5738 r5769  
    3939#include "ConfigValueContainer.h"
    4040#include "ConsoleCommand.h"
    41 #include "Factory.h"
     41#include "ClassFactory.h"
    4242#include "XMLPort.h"
    4343
Note: See TracChangeset for help on using the changeset viewer.