Commit 985b0d3d authored by Aleksandr Bakhshiev's avatar Aleksandr Bakhshiev
Browse files

Debug. It doesn't work.

--HG--
branch : MockBuilderDebug
parent 73e15b92c16f
......@@ -259,6 +259,9 @@
<DependentOn>..\..\..\Core\Engine\UController.h</DependentOn>
<BuildOrder>69</BuildOrder>
</CppCompile>
<None Include="..\..\..\Core\Engine\UCreatorPropImplBase.h">
<BuildOrder>128</BuildOrder>
</None>
<CppCompile Include="..\..\..\Core\Engine\UELockPtr.cpp">
<DependentOn>..\..\..\Core\Engine\UELockPtr.h</DependentOn>
<BuildOrder>70</BuildOrder>
......@@ -1019,8 +1022,8 @@
<ProjectRoot Platform="Android" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="Win32" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="iOSDevice64" Name="$(PROJECTNAME).app"/>
<ProjectRoot Platform="OSX32" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="Win64" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="OSX32" Name="$(PROJECTNAME)"/>
<ProjectRoot Platform="iOSDevice32" Name="$(PROJECTNAME).app"/>
</Deployment>
</BorlandProject>
......
#ifndef UBASEPROPCREATOR_CPP
#define UBASEPROPCREATOR_CPP
#include "UBasePropCreator.h"
#include "UComponent.h"
#include "UMockUNet.h"
#include "UCreatorPropImplBase.hpp"
#include "UCreatorPropImpl.hpp"
namespace RDK {
UBasePropCreator::UBasePropCreator()
{
......@@ -44,6 +51,7 @@ const std::vector<std::string>& UBasePropCreator::GetForbiddenOutputs()
// ( Storage)
bool UBasePropCreator::BaseCrPropMock(RDK::USerStorageXML* serstorage, RDK::UMockUNet* mock_unet)
{
// : Paramenters -> State -> Input -> Output
for(int i =0, params = serstorage->GetNumNodes(); i <params; i++)
{
......@@ -99,8 +107,10 @@ bool UBasePropCreator::BaseCrPropMock(RDK::USerStorageXML* serstorage, RDK::UMoc
serstorage->SelectUp();
}
serstorage->SelectUp();
}
return true;
}
return true;
}
}
#endif
This diff is collapsed.
#ifndef UCREATORPROPTEMPLATE_H
#define UCREATORPROPTEMPLATE_H
#include "UStorage.h"
#include "UMockUNet.h"
//#include "UMockUNet.h"
namespace RDK {
class UMockUNet;
class USerStorageXML;
// CreatePropertyByType.
// , -
template <template<typename, typename, unsigned int> class PropType, unsigned int TypeInt, typename T>
class CreatorProperty
{
public:
static void CreatePropertyByType(RDK::USerStorageXML* serstorage, RDK::UMockUNet* mock_unet)
{
std::string prop_name = serstorage->GetNodeName();
PropType<T, UMockUNet, TypeInt>* p = new PropType<T, UMockUNet, TypeInt>(prop_name, mock_unet);
p->Load(serstorage);
}
static void CreatePropertyByType(RDK::USerStorageXML* serstorage, RDK::UMockUNet* mock_unet);
};
}
......
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