diff --git a/doc/core.graphml b/doc/core.graphml index 90f7d8d..b6056ec 100644 --- a/doc/core.graphml +++ b/doc/core.graphml @@ -34,10 +34,10 @@ - + - + @@ -52,10 +52,10 @@ - + - + @@ -70,10 +70,10 @@ - + - + @@ -131,7 +131,7 @@ - + ABinaryUtilisationFactory @@ -152,7 +152,7 @@ - + ABinaryUtilisation @@ -176,7 +176,7 @@ - + AFieldFactory @@ -201,7 +201,7 @@ - + AStructureFactory @@ -222,7 +222,7 @@ - + AModelFactory @@ -243,7 +243,7 @@ - + AModel @@ -264,7 +264,7 @@ - + AStructure @@ -285,7 +285,7 @@ - + AField @@ -306,7 +306,7 @@ - + ARepository @@ -327,7 +327,7 @@ - + ARepositoryFactory @@ -369,7 +369,7 @@ - + AStructureReader @@ -390,7 +390,7 @@ - + AStructureReaderFactory @@ -411,7 +411,7 @@ - + AStructureWriter @@ -432,7 +432,7 @@ - + AStructureWriterFactory @@ -453,7 +453,7 @@ - + APluginManager @@ -537,7 +537,7 @@ - + BinaryPacketComposer diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 66648cb..3f90f00 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,5 +10,5 @@ add_subdirectory(parser) add_subdirectory(core) add_library(src ${HEADERS} ${SOURCES}) -target_link_libraries(src model editor protocol core ) +target_link_libraries(src model editor parser core ) qt5_use_modules(src Widgets) diff --git a/src/core/APluginManager.cpp b/src/core/APluginManager.cpp new file mode 100644 index 0000000..48a3c8b --- /dev/null +++ b/src/core/APluginManager.cpp @@ -0,0 +1,6 @@ +#include "APluginManager.h" + +APluginManager::APluginManager() +{ + +} diff --git a/src/core/APluginManager.h b/src/core/APluginManager.h new file mode 100644 index 0000000..dd8c8f1 --- /dev/null +++ b/src/core/APluginManager.h @@ -0,0 +1,11 @@ +#ifndef APLUGINMANAGER_H +#define APLUGINMANAGER_H + + +class APluginManager +{ +public: + APluginManager(); +}; + +#endif // APLUGINMANAGER_H \ No newline at end of file diff --git a/src/core/BinaryPacketComposer.cpp b/src/core/BinaryPacketComposer.cpp new file mode 100644 index 0000000..474e8ec --- /dev/null +++ b/src/core/BinaryPacketComposer.cpp @@ -0,0 +1,6 @@ +#include "BinaryPacketComposer.h" + +BinaryPacketComposer::BinaryPacketComposer() +{ + +} diff --git a/src/core/BinaryPacketComposer.h b/src/core/BinaryPacketComposer.h new file mode 100644 index 0000000..2f8e8ff --- /dev/null +++ b/src/core/BinaryPacketComposer.h @@ -0,0 +1,11 @@ +#ifndef BINARYPACKETCOMPOSER_H +#define BINARYPACKETCOMPOSER_H + + +class BinaryPacketComposer +{ +public: + BinaryPacketComposer(); +}; + +#endif // BINARYPACKETCOMPOSER_H \ No newline at end of file diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 4eb5148..b94dca1 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,10 +1,44 @@ set(HEADERS - Tree.h - TreeNode.h + Tree.h + TreeNode.h + BinaryPacketComposer.h + APluginManager.h + model/ARepositoryFactory.h + model/ARepository.h + model/AModelFactory.h + model/AModel.h + model/AStructureFactory.h + model/AStructure.h + model/AFieldFactory.h + model/AField.h + model/IModelPlugin.h + model/ModelPluginManager.h + + schemaio/AStructureReaderFactory.h + schemaio/AStructureWriterFactory.h + schemaio/AStructureReader.h + schemaio/AStructureWriter.h ) set(SOURCES + BinaryPacketComposer.cpp + APluginManager.cpp + model/ARepositoryFactory.cpp + model/ARepository.cpp + model/AModelFactory.cpp + model/AModel.cpp + model/AStructureFactory.cpp + model/AStructure.cpp + model/AFieldFactory.cpp + model/AField.cpp + model/IModelPlugin.cpp + model/ModelPluginManager.cpp + + schemaio/AStructureReaderFactory.cpp + schemaio/AStructureWriterFactory.cpp + schemaio/AStructureReader.cpp + schemaio/AStructureWriter.cpp ) add_library(core ${HEADERS} ${SOURCES}) diff --git a/src/core/model/AField.cpp b/src/core/model/AField.cpp new file mode 100644 index 0000000..8190a9f --- /dev/null +++ b/src/core/model/AField.cpp @@ -0,0 +1,6 @@ +#include "AField.h" + +AField::AField() +{ + +} diff --git a/src/core/model/AField.h b/src/core/model/AField.h new file mode 100644 index 0000000..624ede8 --- /dev/null +++ b/src/core/model/AField.h @@ -0,0 +1,11 @@ +#ifndef AFIELD_H +#define AFIELD_H + + +class AField +{ +public: + AField(); +}; + +#endif // AFIELD_H \ No newline at end of file diff --git a/src/core/model/AFieldFactory.cpp b/src/core/model/AFieldFactory.cpp new file mode 100644 index 0000000..df7215b --- /dev/null +++ b/src/core/model/AFieldFactory.cpp @@ -0,0 +1,6 @@ +#include "AFieldFactory.h" + +AFieldFactory::AFieldFactory() +{ + +} diff --git a/src/core/model/AFieldFactory.h b/src/core/model/AFieldFactory.h new file mode 100644 index 0000000..34744bc --- /dev/null +++ b/src/core/model/AFieldFactory.h @@ -0,0 +1,11 @@ +#ifndef AFIELDFACTORY_H +#define AFIELDFACTORY_H + + +class AFieldFactory +{ +public: + AFieldFactory(); +}; + +#endif // AFIELDFACTORY_H \ No newline at end of file diff --git a/src/core/model/AModel.cpp b/src/core/model/AModel.cpp new file mode 100644 index 0000000..e657208 --- /dev/null +++ b/src/core/model/AModel.cpp @@ -0,0 +1,6 @@ +#include "AModel.h" + +AModel::AModel() +{ + +} diff --git a/src/core/model/AModel.h b/src/core/model/AModel.h new file mode 100644 index 0000000..7562135 --- /dev/null +++ b/src/core/model/AModel.h @@ -0,0 +1,11 @@ +#ifndef AMODEL_H +#define AMODEL_H + + +class AModel +{ +public: + AModel(); +}; + +#endif // AMODEL_H \ No newline at end of file diff --git a/src/core/model/AModelFactory.cpp b/src/core/model/AModelFactory.cpp new file mode 100644 index 0000000..1ec947b --- /dev/null +++ b/src/core/model/AModelFactory.cpp @@ -0,0 +1,6 @@ +#include "AModelFactory.h" + +AModelFactory::AModelFactory() +{ + +} diff --git a/src/core/model/AModelFactory.h b/src/core/model/AModelFactory.h new file mode 100644 index 0000000..eda556c --- /dev/null +++ b/src/core/model/AModelFactory.h @@ -0,0 +1,11 @@ +#ifndef AMODELFACTORY_H +#define AMODELFACTORY_H + + +class AModelFactory +{ +public: + AModelFactory(); +}; + +#endif // AMODELFACTORY_H \ No newline at end of file diff --git a/src/core/model/ARepository.cpp b/src/core/model/ARepository.cpp new file mode 100644 index 0000000..1617b0e --- /dev/null +++ b/src/core/model/ARepository.cpp @@ -0,0 +1,6 @@ +#include "ARepository.h" + +ARepository::ARepository() +{ + +} diff --git a/src/core/model/ARepository.h b/src/core/model/ARepository.h new file mode 100644 index 0000000..6b0695e --- /dev/null +++ b/src/core/model/ARepository.h @@ -0,0 +1,11 @@ +#ifndef AREPOSITORY_H +#define AREPOSITORY_H + + +class ARepository +{ +public: + ARepository(); +}; + +#endif // AREPOSITORY_H \ No newline at end of file diff --git a/src/core/model/ARepositoryFactory.cpp b/src/core/model/ARepositoryFactory.cpp new file mode 100644 index 0000000..dca6deb --- /dev/null +++ b/src/core/model/ARepositoryFactory.cpp @@ -0,0 +1,6 @@ +#include "ARepositoryFactory.h" + +ARepositoryFactory::ARepositoryFactory() +{ + +} diff --git a/src/core/model/ARepositoryFactory.h b/src/core/model/ARepositoryFactory.h new file mode 100644 index 0000000..854c07c --- /dev/null +++ b/src/core/model/ARepositoryFactory.h @@ -0,0 +1,11 @@ +#ifndef AREPOSITORYFACTORY_H +#define AREPOSITORYFACTORY_H + + +class ARepositoryFactory +{ +public: + ARepositoryFactory(); +}; + +#endif // AREPOSITORYFACTORY_H \ No newline at end of file diff --git a/src/core/model/AStructure.cpp b/src/core/model/AStructure.cpp new file mode 100644 index 0000000..e58e328 --- /dev/null +++ b/src/core/model/AStructure.cpp @@ -0,0 +1,6 @@ +#include "AStructure.h" + +AStructure::AStructure() +{ + +} diff --git a/src/core/model/AStructure.h b/src/core/model/AStructure.h new file mode 100644 index 0000000..598f74d --- /dev/null +++ b/src/core/model/AStructure.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTURE_H +#define ASTRUCTURE_H + + +class AStructure +{ +public: + AStructure(); +}; + +#endif // ASTRUCTURE_H \ No newline at end of file diff --git a/src/core/model/AStructureFactory.cpp b/src/core/model/AStructureFactory.cpp new file mode 100644 index 0000000..6990242 --- /dev/null +++ b/src/core/model/AStructureFactory.cpp @@ -0,0 +1,6 @@ +#include "AStructureFactory.h" + +AStructureFactory::AStructureFactory() +{ + +} diff --git a/src/core/model/AStructureFactory.h b/src/core/model/AStructureFactory.h new file mode 100644 index 0000000..9bb4e63 --- /dev/null +++ b/src/core/model/AStructureFactory.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTUREFACTORY_H +#define ASTRUCTUREFACTORY_H + + +class AStructureFactory +{ +public: + AStructureFactory(); +}; + +#endif // ASTRUCTUREFACTORY_H \ No newline at end of file diff --git a/src/core/model/IModelPlugin.cpp b/src/core/model/IModelPlugin.cpp new file mode 100644 index 0000000..c897494 --- /dev/null +++ b/src/core/model/IModelPlugin.cpp @@ -0,0 +1,6 @@ +#include "IModelPlugin.h" + +IModelPlugin::IModelPlugin() +{ + +} diff --git a/src/core/model/IModelPlugin.h b/src/core/model/IModelPlugin.h new file mode 100644 index 0000000..fc4ea7f --- /dev/null +++ b/src/core/model/IModelPlugin.h @@ -0,0 +1,11 @@ +#ifndef IMODELPLUGIN_H +#define IMODELPLUGIN_H + + +class IModelPlugin +{ +public: + IModelPlugin(); +}; + +#endif // IMODELPLUGIN_H \ No newline at end of file diff --git a/src/core/model/ModelPluginManager.cpp b/src/core/model/ModelPluginManager.cpp new file mode 100644 index 0000000..0b167ca --- /dev/null +++ b/src/core/model/ModelPluginManager.cpp @@ -0,0 +1,6 @@ +#include "ModelPluginManager.h" + +ModelPluginManager::ModelPluginManager() +{ + +} diff --git a/src/core/model/ModelPluginManager.h b/src/core/model/ModelPluginManager.h new file mode 100644 index 0000000..744d809 --- /dev/null +++ b/src/core/model/ModelPluginManager.h @@ -0,0 +1,12 @@ +#ifndef MODELPLUGINMANAGER_H +#define MODELPLUGINMANAGER_H + +#include "../APluginManager.h" + +class ModelPluginManager : public APluginManager +{ +public: + ModelPluginManager(); +}; + +#endif // MODELPLUGINMANAGER_H diff --git a/src/core/schemaio/AStructureReader.cpp b/src/core/schemaio/AStructureReader.cpp new file mode 100644 index 0000000..ec43368 --- /dev/null +++ b/src/core/schemaio/AStructureReader.cpp @@ -0,0 +1,6 @@ +#include "AStructureReader.h" + +AStructureReader::AStructureReader() +{ + +} diff --git a/src/core/schemaio/AStructureReader.h b/src/core/schemaio/AStructureReader.h new file mode 100644 index 0000000..98fcad9 --- /dev/null +++ b/src/core/schemaio/AStructureReader.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTUREREADER_H +#define ASTRUCTUREREADER_H + + +class AStructureReader +{ +public: + AStructureReader(); +}; + +#endif // ASTRUCTUREREADER_H \ No newline at end of file diff --git a/src/core/schemaio/AStructureReaderFactory.cpp b/src/core/schemaio/AStructureReaderFactory.cpp new file mode 100644 index 0000000..7aa83a1 --- /dev/null +++ b/src/core/schemaio/AStructureReaderFactory.cpp @@ -0,0 +1,6 @@ +#include "AStructureReaderFactory.h" + +AStructureReaderFactory::AStructureReaderFactory() +{ + +} diff --git a/src/core/schemaio/AStructureReaderFactory.h b/src/core/schemaio/AStructureReaderFactory.h new file mode 100644 index 0000000..6c4bbff --- /dev/null +++ b/src/core/schemaio/AStructureReaderFactory.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTUREREADERFACTORY_H +#define ASTRUCTUREREADERFACTORY_H + + +class AStructureReaderFactory +{ +public: + AStructureReaderFactory(); +}; + +#endif // ASTRUCTUREREADERFACTORY_H \ No newline at end of file diff --git a/src/core/schemaio/AStructureWriter.cpp b/src/core/schemaio/AStructureWriter.cpp new file mode 100644 index 0000000..523962e --- /dev/null +++ b/src/core/schemaio/AStructureWriter.cpp @@ -0,0 +1,6 @@ +#include "AStructureWriter.h" + +AStructureWriter::AStructureWriter() +{ + +} diff --git a/src/core/schemaio/AStructureWriter.h b/src/core/schemaio/AStructureWriter.h new file mode 100644 index 0000000..fc9ecb5 --- /dev/null +++ b/src/core/schemaio/AStructureWriter.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTUREWRITER_H +#define ASTRUCTUREWRITER_H + + +class AStructureWriter +{ +public: + AStructureWriter(); +}; + +#endif // ASTRUCTUREWRITER_H \ No newline at end of file diff --git a/src/core/schemaio/AStructureWriterFactory.cpp b/src/core/schemaio/AStructureWriterFactory.cpp new file mode 100644 index 0000000..977ade7 --- /dev/null +++ b/src/core/schemaio/AStructureWriterFactory.cpp @@ -0,0 +1,6 @@ +#include "AStructureWriterFactory.h" + +AStructureWriterFactory::AStructureWriterFactory() +{ + +} diff --git a/src/core/schemaio/AStructureWriterFactory.h b/src/core/schemaio/AStructureWriterFactory.h new file mode 100644 index 0000000..ca74d1e --- /dev/null +++ b/src/core/schemaio/AStructureWriterFactory.h @@ -0,0 +1,11 @@ +#ifndef ASTRUCTUREWRITERFACTORY_H +#define ASTRUCTUREWRITERFACTORY_H + + +class AStructureWriterFactory +{ +public: + AStructureWriterFactory(); +}; + +#endif // ASTRUCTUREWRITERFACTORY_H \ No newline at end of file diff --git a/src/parser/CMakeLists.txt b/src/parser/CMakeLists.txt index f6bea84..84f3582 100644 --- a/src/parser/CMakeLists.txt +++ b/src/parser/CMakeLists.txt @@ -5,6 +5,6 @@ set(SOURCES DataLoader.cpp ) -add_library(protocol ${HEADERS} ${SOURCES}) +add_library(parser ${HEADERS} ${SOURCES}) -qt5_use_modules(protocol Core) +qt5_use_modules(parser Core)