All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cpp_server_internal.model_SerializerExpander_cpp.ftl Maven / Gradle / Ivy

Go to download

Tool that generates code for RPC between the Kurento Media Server and remote libraries.

There is a newer version: 7.1.0
Show newest version
SerializerExpander${module.name?cap_first}.cpp
/* Autogenerated with kurento-module-creator */

<#list module.remoteClasses as remoteClass>
#include "${remoteClass.name}Impl.hpp"

<#list module.events as event>
#include "${event.name}.hpp"

<#list module.complexTypes as complexType>
#include "${complexType.name}.hpp"


#include 

<#list module.code.implementation["cppNamespace"]?split("::") as namespace>
namespace ${namespace}
{


void dummy${module.name?cap_first} ()
{
<#list module.remoteClasses as remoteClass>
  {
    JsonSerializer s (true);
    std::shared_ptr<${remoteClass.name}> object;

    s.SerializeNVP (object);
  }

<#list module.events as event>
  {
    JsonSerializer s (true);
    std::shared_ptr<${event.name}> object;

    s.SerializeNVP (object);
  }

<#list module.complexTypes as complexType>
  {
    JsonSerializer s (true);
    std::shared_ptr<${complexType.name}> object;

    s.SerializeNVP (object);
  }

}

<#list module.code.implementation["cppNamespace"]?split("::")?reverse as namespace>
} /* ${namespace} */





© 2015 - 2024 Weber Informatics LLC | Privacy Policy