Changeset 447 for code/branches/objecthierarchy/src/orxonox/core/Factory.h
- Timestamp:
- Dec 9, 2007, 11:21:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/core/Factory.h
r383 r447 3 3 @brief Definition of the Factory and the BaseFactory class. 4 4 5 The Factory is a singleton, containing two maps to map either the name or the network ID5 The Factory is a singleton, containing two maps to map either the name or the network ID 6 6 of a class with the corresponding Identifier. 7 7 … … 28 28 // ### Factory ### 29 29 // ############################### 30 //! The Factory is used to map name or networkID of a class with its Identifier.30 //! The Factory is used to map the name or the network ID of a class with its Identifier. 31 31 class Factory 32 32 { … … 43 43 44 44 static Factory* pointer_s; //!< The pointer to the singleton 45 std::map<std::string, Identifier*> identifierStringMap_; //!< The map mapping string withIdentifier46 std::map<unsigned int, Identifier*> identifierNetworkIDMap_; //!< The map mapping networkID withIdentifier45 std::map<std::string, Identifier*> identifierStringMap_; //!< The map, mapping the name with the Identifier 46 std::map<unsigned int, Identifier*> identifierNetworkIDMap_; //!< The map, mapping the network ID with the Identifier 47 47 }; 48 48
Note: See TracChangeset
for help on using the changeset viewer.