cpp_server_internal.model_SerializerExpander_cpp.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurento-module-creator Show documentation
Show all versions of kurento-module-creator Show documentation
Tool that generates code for RPC between the Kurento Media Server
and remote libraries.
SerializerExpander${module.name?cap_first}.cpp
/* Autogenerated with kurento-module-creator */
<#list module.remoteClasses as remoteClass>
#include "${remoteClass.name}Impl.hpp"
#list>
<#list module.events as event>
#include "${event.name}.hpp"
#list>
<#list module.complexTypes as complexType>
#include "${complexType.name}.hpp"
#list>
#include
<#list module.code.implementation["cppNamespace"]?split("::") as namespace>
namespace ${namespace}
{
#list>
void dummy${module.name?cap_first} ()
{
<#list module.remoteClasses as remoteClass>
{
JsonSerializer s (true);
std::shared_ptr<${remoteClass.name}> object;
s.SerializeNVP (object);
}
#list>
<#list module.events as event>
{
JsonSerializer s (true);
std::shared_ptr<${event.name}> object;
s.SerializeNVP (object);
}
#list>
<#list module.complexTypes as complexType>
{
JsonSerializer s (true);
std::shared_ptr<${complexType.name}> object;
s.SerializeNVP (object);
}
#list>
}
<#list module.code.implementation["cppNamespace"]?split("::")?reverse as namespace>
} /* ${namespace} */
#list>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy