text: /*************************************************************************
   * Copyright (c) 2012 eProsima. All rights reserved.
   *
   * This copy of FASTRPC is licensed to you under the terms described in the
   * FASTRPC_LICENSE file included in this distribution.
   *
   *************************************************************************
   * 
   * @file StructTestServerImplExample.cxx
   * This source file contains the definition of the skeleton for all interfaces.
   *
   * This file was generated by the tool fastrpcgen.
   */
  
  #include "StructTestServerImplExample.h"
  
  Recepcion StructTestServerImplExample::duplicate(/*in*/ const Envio& ev)
  {
      Recepcion duplicate_ret;
          
  	duplicate_ret.devolucion(ev.dato());
  	duplicate_ret.message(ev.message());
     
      return duplicate_ret;
  } 
  
  Recepcion StructTestServerImplExample::suma(/*in*/ const Envio& ev1, /*in*/ const Envio& ev2)
  {
      Recepcion suma_ret;
          
  	suma_ret.devolucion(ev1.dato() + ev2.dato());
      suma_ret.message(ev1.message() + ev2.message());
     
      return suma_ret;
  } 
  
  StructTest::InnerStruct StructTestServerImplExample::inner(/*in*/ const StructTest::InnerStruct& inn)
  {
      StructTest::InnerStruct inner_ret;
  
      inner_ret.count(inn.count());
      inner_ret.message(inn.message());
     
      return inner_ret;
  } 
  