Commit 077ac124 authored by vlad_burin's avatar vlad_burin
Browse files

UMockUNet first version created.

Added basic types proccessing in creating Property with properly type

--HG--
branch : MockCompsTest
parent 64a117163b33
......@@ -46,6 +46,7 @@ SOURCES += \
../../../Core/Engine/ULogger.cpp \
../../../Core/Engine/UModule.cpp \
../../../Core/Engine/UNet.cpp \
../../../Core/Engine/UMockUNet.cpp \
../../../Core/Engine/UPointer.cpp \
../../../Core/Engine/UProperty.cpp \
../../../Core/Engine/UPropertyInput.cpp \
......@@ -176,6 +177,7 @@ HEADERS +=\
../../../Core/Engine/ULogger.h \
../../../Core/Engine/UModule.h \
../../../Core/Engine/UNet.h \
../../../Core/Engine/UMockUNet.h \
../../../Core/Engine/UPointer.h \
../../../Core/Engine/UProperty.h \
../../../Core/Engine/UPropertyInput.h \
......
This diff is collapsed.
#ifndef UMOCKUNET_H
#define UMOCKUNET_H
#include "UNet.h"
namespace RDK {
class RDK_LIB_TYPE UMockUNet: public UNet
{
protected: //
public: //
// --------------------------
//
// --------------------------
UMockUNet(RDK::USerStorageXML *serstorage);
virtual ~UMockUNet(void);
//
virtual UMockUNet* New(void);
private:
static std::string ForbiddenInputs;
static std::string ForbiddenOutputs;
USerStorageXML ClassDesriptionXML;
// ()
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt>
void CreateProperty(RDK::USerStorageXML* serstorage);
// ,
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt>
bool CreateSimpleTypeProperty(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet);
//
//
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt>
bool CreatePropertyByType(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet);
};
// CreatePropertyByType. CreateProperty
//
// (std::vector<typename>), int -
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt, typename T>
class CreatorProperty
{
public:
static bool CreatePropertyByType(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet);
};
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment