奥特QT DDS 插件库
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

71 lines
2.2KB

  1. // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. /*!
  15. * @file DDSSampleMachineCdrAux.hpp
  16. * This source file contains some definitions of CDR related functions.
  17. *
  18. * This file was generated by the tool fastddsgen.
  19. */
  20. #ifndef FAST_DDS_GENERATED__SAMPLEMODULE_DDSSAMPLEMACHINECDRAUX_HPP
  21. #define FAST_DDS_GENERATED__SAMPLEMODULE_DDSSAMPLEMACHINECDRAUX_HPP
  22. #include "DDSSampleMachine.hpp"
  23. constexpr uint32_t SampleModule_SampleMachineInfo_max_cdr_typesize {51UL};
  24. constexpr uint32_t SampleModule_SampleMachineInfo_max_key_cdr_typesize {0UL};
  25. constexpr uint32_t SampleModule_SamplePoints_max_cdr_typesize {76UL};
  26. constexpr uint32_t SampleModule_SamplePoints_max_key_cdr_typesize {0UL};
  27. constexpr uint32_t SampleModule_SampleConfig_max_cdr_typesize {7UL};
  28. constexpr uint32_t SampleModule_SampleConfig_max_key_cdr_typesize {0UL};
  29. constexpr uint32_t SampleModule_SampleCommand_max_cdr_typesize {63UL};
  30. constexpr uint32_t SampleModule_SampleCommand_max_key_cdr_typesize {0UL};
  31. namespace eprosima {
  32. namespace fastcdr {
  33. class Cdr;
  34. class CdrSizeCalculator;
  35. eProsima_user_DllExport void serialize_key(
  36. eprosima::fastcdr::Cdr& scdr,
  37. const SampleModule::SampleConfig& data);
  38. eProsima_user_DllExport void serialize_key(
  39. eprosima::fastcdr::Cdr& scdr,
  40. const SampleModule::SampleCommand& data);
  41. eProsima_user_DllExport void serialize_key(
  42. eprosima::fastcdr::Cdr& scdr,
  43. const SampleModule::SampleMachineInfo& data);
  44. eProsima_user_DllExport void serialize_key(
  45. eprosima::fastcdr::Cdr& scdr,
  46. const SampleModule::SamplePoints& data);
  47. } // namespace fastcdr
  48. } // namespace eprosima
  49. #endif // FAST_DDS_GENERATED__SAMPLEMODULE_DDSSAMPLEMACHINECDRAUX_HPP