Changeset 71 in pacpusframework
- Timestamp:
- Jan 10, 2013, 3:07:34 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/doxyfile.in
r64 r71 267 267 # diagrams that involve STL classes more complete and accurate. 268 268 269 BUILTIN_STL_SUPPORT = NO269 BUILTIN_STL_SUPPORT = YES 270 270 271 271 # If you use Microsoft's C++/CLI language, you should set this option to YES to -
trunk/include/Pacpus/PacpusTools/geodesie.h
r70 r71 1 // %pacpus:license{ 1 2 // This file is part of the PACPUS framework distributed under the 2 3 // CECILL-C License, Version 1.0. 3 // 4 // %} 4 5 /// @file 5 6 /// @author Firstname Surname <firstname.surname@utc.fr> … … 30 31 #endif 31 32 32 ////////////////////////////////////////////////////////////////////////33 33 /// 9x9 matrix ??? 34 34 /// -
trunk/include/Pacpus/kernel/ComponentFactory.h
r66 r71 25 25 #include <QString> 26 26 27 /** Register a component to the factory. 28 * @className Name of the class, without the quotes. 29 * @factoryName Name of the class in the factory. 30 */ 27 /// @def REGISTER_COMPONENT(className, factoryName) 28 /// Registers a component to the factory. 29 /// 30 /// @param className Name of the class, without the quotes. 31 /// @param factoryName Name of the class in the factory. 32 /// @example 33 /// REGISTER_COMPONENT("DummyComponent", DummyComponent); 34 /// @see pacpus::ComponentFactory 31 35 #define REGISTER_COMPONENT(className, factoryName) \ 32 36 static pacpus::ComponentFactory<className> sFactory(factoryName) … … 34 38 namespace pacpus { 35 39 36 /** ComponentFactory 37 * @brief Use it to interface your components with the application. 38 * 39 * @example 40 * REGISTER_COMPONENT("DummyComponent", DummyComponent); 41 */ 40 /// Use it to interface your components with the application. 41 /// 42 /// @tparam T Component class 43 /// @see #REGISTER_COMPONENT(className, factoryName) 42 44 template <typename T> 43 45 class ComponentFactory -
trunk/include/Pacpus/kernel/ComponentManager.h
r67 r71 31 31 class ComponentBase; 32 32 33 /// @todo Documentation 33 34 typedef QMap<QString, ComponentBase *> ComponentMap; 35 /// @todo Documentation 34 36 typedef QMap<QString, ComponentFactoryBase *> FactoryMap; 35 37 36 /** ComponentManager 37 * @brief Singleton recording the components and managing them. 38 */ 38 /// Singleton recording the components and managing them. 39 39 class ComponentManager 40 40 { … … 43 43 public: 44 44 /// @returns a pointer to the ComponentManager object 45 /// @deprecated use getInstance()45 /// @deprecated Use getInstance() 46 46 PACPUS_DEPRECATED_MSG( static PACPUSLIB_API ComponentManager * create(), "use 'getInstance()'" ); 47 47 48 /** Get the singleton of the ComponentManager class. 49 * @return Pointer to the ComponentManager singleton. 50 */ 48 /// Returns an instance of the singleton ComponentManager class. 49 /// @returns Pointer to the ComponentManager singleton. 51 50 static PACPUSLIB_API ComponentManager* getInstance(); 52 51 53 / ** Destroythe ComponentManager singleton.54 * After this call, every pointer to the ComponentManager becomes invalid.55 */52 /// Destroys the ComponentManager singleton. 53 /// 54 /// After this call, every pointer to the ComponentManager becomes invalid. 56 55 static PACPUSLIB_API void destroy(); 57 56 -
trunk/include/Pacpus/kernel/DbiteFile.h
r67 r71 27 27 /// @todo Documentation 28 28 struct FILELIB_API VariableDataSizeTag {}; 29 /// @todo Documentation 29 30 FILELIB_API extern VariableDataSizeTag VariableDataSize; 30 31 31 32 /// @todo Documentation 32 33 struct FILELIB_API ReadModeTag {}; 34 /// @todo Documentation 33 35 FILELIB_API extern ReadModeTag ReadMode; 34 36 35 37 /// @todo Documentation 36 38 struct FILELIB_API WriteModeTag {}; 39 /// @todo Documentation 37 40 FILELIB_API extern WriteModeTag WriteMode; 38 41 39 42 /// @todo Documentation 40 43 struct FILELIB_API DiagnoseModeTag {}; 44 /// @todo Documentation 41 45 FILELIB_API extern DiagnoseModeTag DiagnoseMode; 42 46 -
trunk/include/Pacpus/kernel/FileLibConfig.h
r66 r71 10 10 /// 11 11 /// DLL import/export macro definitions file. 12 /// Declares <library name>_API macro as __declspec(dllexport) or __declspec(dllimport)12 /// Declares \<library name\>_API macro as __declspec(dllexport) or __declspec(dllimport) 13 13 /// on Windows system and as an empty macro on other systems. 14 /// DLL exporting is performed when <library name>_EXPORTS is defined.14 /// DLL exporting is performed when \<library name\>_EXPORTS is defined. 15 15 16 16 #ifndef DEF_PACPUS_FILELIBCONFIG_H -
trunk/include/Pacpus/kernel/Log.h
r66 r71 19 19 namespace pacpus { 20 20 21 /// Static log facility initializer 22 /// 23 /// Uses Schwarz counter (nifty counter) idiom to initialize the log before 24 /// other static objects that could use the log. 21 25 static class PACPUSLIB_API LogConfigurator 22 26 { … … 31 35 32 36 #ifdef PACPUS_USE_LOG 33 // Includes, log4cxx.34 37 #include <log4cxx/logger.h> 35 38 36 39 class QString; 37 38 /** Declare a log4cxx logger 39 * @param name Name of the logger, displayed when logging a message. 40 */ 40 41 41 #define DECLARE_STATIC_LOGGER(name) \ 42 42 static log4cxx::LoggerPtr logger(log4cxx::Logger::getLogger(name)) 43 43 44 // Macros making logging user friendly.45 44 #define LOG_TRACE(message) LOG4CXX_TRACE(logger, message) 46 45 #define LOG_DEBUG(message) LOG4CXX_DEBUG(logger, message) … … 50 49 #define LOG_FATAL(message) LOG4CXX_FATAL(logger, message) 51 50 52 // Provides helpers to log a QString.51 /// Output stream ::log4cxx::helpers::CharMessageBuffer operator for QString 53 52 PACPUSLIB_API ::log4cxx::helpers::CharMessageBuffer & operator<<(::log4cxx::helpers::CharMessageBuffer & os, const QString & s); 53 /// Output stream ::log4cxx::helpers::MessageBuffer operator for QString 54 54 PACPUSLIB_API ::log4cxx::helpers::CharMessageBuffer & operator<<(::log4cxx::helpers::MessageBuffer & os, const QString & s); 55 55 56 #else 57 /// Declares a log4cxx logger 58 /// 59 /// @param name Name of the logger, displayed when logging a message. 56 60 #define DECLARE_STATIC_LOGGER(name) 61 /// Logs a message at TRACE level using default logger 57 62 #define LOG_TRACE(message) 63 /// Logs a message at DEBUG level using default logger 58 64 #define LOG_DEBUG(message) 65 /// Logs a message at INFO level using default logger 59 66 #define LOG_INFO(message) 67 /// Logs a message at WARN level using default logger 60 68 #define LOG_WARN(message) 69 /// Logs a message at ERROR level using default logger 61 70 #define LOG_ERROR(message) 71 /// Logs a message at FATAL level using default logger 62 72 #define LOG_FATAL(message) 63 73 #endif // PACPUS_USE_LOG -
trunk/include/Pacpus/kernel/pacpus.h
r70 r71 19 19 /// Pi math constant 20 20 /// 21 /// @deprecated ,use M_PI from cmath.21 /// @deprecated Use M_PI from \<cmath\>. 22 22 #ifndef PACPUS_PI 23 23 # define PACPUS_PI 3.1415926
Note:
See TracChangeset
for help on using the changeset viewer.