123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef REQUESTHEADER_HPP
- #define REQUESTHEADER_HPP
- #include <fastrtps/rtps/common/SampleIdentity.h>
- #include <fastdds/dds/builtin/common/Types.hpp>
- namespace eprosima {
- namespace fastcdr {
- class Cdr;
- }
- namespace fastdds {
- namespace dds {
- namespace rpc {
- struct RequestHeader
- {
- eprosima::fastrtps::rtps::SampleIdentity requestId;
- InstanceName instanceName;
- RTPS_DllAPI static size_t getCdrSerializedSize(
- const RequestHeader& data,
- size_t current_alignment = 0);
- RTPS_DllAPI void serialize(
- eprosima::fastcdr::Cdr &cdr) const;
- RTPS_DllAPI void deserialize(
- eprosima::fastcdr::Cdr &cdr);
- RTPS_DllAPI static bool isKeyDefined()
- {
- return false;
- }
- };
- }
- }
- }
- }
- #endif
|