Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
File diff suppressed because it is too large.
Load diff
+2958
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,925 @@
|
||||
|
||||
|
||||
/*
|
||||
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
|
||||
|
||||
This file was generated from RecordingServiceTypes.idl
|
||||
using RTI Code Generator (rtiddsgen) version 4.7.0.
|
||||
The rtiddsgen tool is part of the RTI Connext DDS distribution.
|
||||
For more information, type 'rtiddsgen -help' at a command shell
|
||||
or consult the Code Generator User's Manual.
|
||||
*/
|
||||
|
||||
#ifndef RecordingServiceTypes_164879555_hpp
|
||||
#define RecordingServiceTypes_164879555_hpp
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_RECORDER_SERVICE_ADMINISTRATION) && defined(RTI_WIN32)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#include "dds/core/SafeEnumeration.hpp"
|
||||
#include "dds/core/String.hpp"
|
||||
#include "dds/core/array.hpp"
|
||||
#include "dds/core/vector.hpp"
|
||||
#include "dds/core/External.hpp"
|
||||
#include "rti/core/LongDouble.hpp"
|
||||
#include "rti/core/Pointer.hpp"
|
||||
#include "rti/core/array.hpp"
|
||||
#include "rti/topic/TopicTraits.hpp"
|
||||
|
||||
#include "omg/types/string_view.hpp"
|
||||
|
||||
#include "rti/core/BoundedSequence.hpp"
|
||||
#include "dds/core/Optional.hpp"
|
||||
|
||||
#ifndef NDDS_STANDALONE_TYPE
|
||||
#include "cdr/cdr_typeCode.h"
|
||||
#include "dds/domain/DomainParticipant.hpp"
|
||||
#include "dds/topic/TopicTraits.hpp"
|
||||
#include "dds/core/xtypes/DynamicType.hpp"
|
||||
#include "dds/core/xtypes/StructType.hpp"
|
||||
#include "dds/core/xtypes/UnionType.hpp"
|
||||
#include "dds/core/xtypes/EnumType.hpp"
|
||||
#include "dds/core/xtypes/AliasType.hpp"
|
||||
#include "rti/util/StreamFlagSaver.hpp"
|
||||
#include "rti/domain/PluginSupport.hpp"
|
||||
#endif
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_RECORDER_SERVICE_ADMINISTRATION) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport
|
||||
#endif
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_RECORDER_SERVICE_ADMINISTRATION) && defined(RTI_WIN32)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
namespace RTI {
|
||||
namespace RecordingService {
|
||||
|
||||
static const int32_t DATA_TAG_MAX_STRING_SIZE = 256L;
|
||||
|
||||
class NDDSUSERDllExport DataTagParams {
|
||||
public:
|
||||
|
||||
DataTagParams();
|
||||
|
||||
DataTagParams(float m_timestamp_offset__,const std::string& m_tag_name__,const std::string& m_tag_description__);
|
||||
|
||||
float& timestamp_offset() noexcept {
|
||||
return m_timestamp_offset_;
|
||||
}
|
||||
|
||||
const float& timestamp_offset() const noexcept {
|
||||
return m_timestamp_offset_;
|
||||
}
|
||||
|
||||
void timestamp_offset(float value) {
|
||||
|
||||
m_timestamp_offset_ = value;
|
||||
}
|
||||
|
||||
std::string& tag_name() noexcept {
|
||||
return m_tag_name_;
|
||||
}
|
||||
|
||||
const std::string& tag_name() const noexcept {
|
||||
return m_tag_name_;
|
||||
}
|
||||
|
||||
void tag_name(const std::string& value) {
|
||||
|
||||
m_tag_name_ = value;
|
||||
}
|
||||
|
||||
void tag_name(std::string&& value) {
|
||||
m_tag_name_ = std::move(value);
|
||||
}
|
||||
std::string& tag_description() noexcept {
|
||||
return m_tag_description_;
|
||||
}
|
||||
|
||||
const std::string& tag_description() const noexcept {
|
||||
return m_tag_description_;
|
||||
}
|
||||
|
||||
void tag_description(const std::string& value) {
|
||||
|
||||
m_tag_description_ = value;
|
||||
}
|
||||
|
||||
void tag_description(std::string&& value) {
|
||||
m_tag_description_ = std::move(value);
|
||||
}
|
||||
bool operator == (const DataTagParams& other_) const;
|
||||
bool operator != (const DataTagParams& other_) const;
|
||||
|
||||
void swap(DataTagParams& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
float m_timestamp_offset_;
|
||||
std::string m_tag_name_;
|
||||
std::string m_tag_description_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(DataTagParams& a, DataTagParams& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const DataTagParams& sample);
|
||||
|
||||
enum class BreakpointFormat {
|
||||
TIMESTAMP = 0,
|
||||
TAG_NAME
|
||||
};
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator << (std::ostream& o,const BreakpointFormat& sample);
|
||||
|
||||
class NDDSUSERDllExport BreakpointUnion {
|
||||
public:
|
||||
|
||||
BreakpointUnion();
|
||||
|
||||
::RTI::RecordingService::BreakpointFormat& _d() {
|
||||
return m_d_;
|
||||
}
|
||||
|
||||
const ::RTI::RecordingService::BreakpointFormat& _d() const {
|
||||
return m_d_;
|
||||
}
|
||||
|
||||
void _d(::RTI::RecordingService::BreakpointFormat value) {
|
||||
|
||||
m_d_ = value;
|
||||
}
|
||||
|
||||
int64_t& timestamp_nanos() {
|
||||
|
||||
if (_d() != (RTI::RecordingService::BreakpointFormat::TIMESTAMP) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::BreakpointUnion::timestamp_nanos not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_timestamp_nanos_;
|
||||
}
|
||||
|
||||
const int64_t& timestamp_nanos() const {
|
||||
|
||||
if (_d() != (RTI::RecordingService::BreakpointFormat::TIMESTAMP) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::BreakpointUnion::timestamp_nanos not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_timestamp_nanos_;
|
||||
}
|
||||
|
||||
void timestamp_nanos(int64_t value) {
|
||||
m_u_.m_timestamp_nanos_ = value;
|
||||
m_d_= (RTI::RecordingService::BreakpointFormat::TIMESTAMP);
|
||||
}
|
||||
|
||||
std::string& tag_name() {
|
||||
|
||||
if (_d() != (RTI::RecordingService::BreakpointFormat::TAG_NAME) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::BreakpointUnion::tag_name not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_tag_name_;
|
||||
}
|
||||
|
||||
const std::string& tag_name() const {
|
||||
|
||||
if (_d() != (RTI::RecordingService::BreakpointFormat::TAG_NAME) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::BreakpointUnion::tag_name not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_tag_name_;
|
||||
}
|
||||
|
||||
void tag_name(const std::string& value) {
|
||||
m_u_.m_tag_name_ = value;
|
||||
m_d_= (RTI::RecordingService::BreakpointFormat::TAG_NAME);
|
||||
}
|
||||
|
||||
void tag_name(std::string&& value) {
|
||||
m_u_.m_tag_name_ = std::move(value);
|
||||
m_d_= (RTI::RecordingService::BreakpointFormat::TAG_NAME);
|
||||
}
|
||||
bool operator == (const BreakpointUnion& other_) const;
|
||||
bool operator != (const BreakpointUnion& other_) const;
|
||||
static ::RTI::RecordingService::BreakpointFormat default_discriminator();
|
||||
|
||||
void swap(BreakpointUnion& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::RTI::RecordingService::BreakpointFormat m_d_;
|
||||
struct NDDSUSERDllExport Union_ {
|
||||
int64_t m_timestamp_nanos_;
|
||||
std::string m_tag_name_;
|
||||
Union_();
|
||||
Union_(int64_t m_timestamp_nanos__,const std::string& m_tag_name__);
|
||||
};
|
||||
Union_ m_u_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(BreakpointUnion& a, BreakpointUnion& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const BreakpointUnion& sample);
|
||||
|
||||
class NDDSUSERDllExport BreakpointParams {
|
||||
public:
|
||||
|
||||
BreakpointParams();
|
||||
|
||||
BreakpointParams(const ::dds::core::optional< std::string >& m_label__,const ::RTI::RecordingService::BreakpointUnion& m_value__);
|
||||
|
||||
::dds::core::optional< std::string >& label() noexcept {
|
||||
return m_label_;
|
||||
}
|
||||
|
||||
const ::dds::core::optional< std::string >& label() const noexcept {
|
||||
return m_label_;
|
||||
}
|
||||
|
||||
void label(const ::dds::core::optional< std::string >& value) {
|
||||
|
||||
m_label_ = value;
|
||||
}
|
||||
|
||||
void label(::dds::core::optional< std::string >&& value) {
|
||||
m_label_ = std::move(value);
|
||||
}
|
||||
::RTI::RecordingService::BreakpointUnion& value() noexcept {
|
||||
return m_value_;
|
||||
}
|
||||
|
||||
const ::RTI::RecordingService::BreakpointUnion& value() const noexcept {
|
||||
return m_value_;
|
||||
}
|
||||
|
||||
void value(const ::RTI::RecordingService::BreakpointUnion& value) {
|
||||
|
||||
m_value_ = value;
|
||||
}
|
||||
|
||||
void value(::RTI::RecordingService::BreakpointUnion&& value) {
|
||||
m_value_ = std::move(value);
|
||||
}
|
||||
bool operator == (const BreakpointParams& other_) const;
|
||||
bool operator != (const BreakpointParams& other_) const;
|
||||
|
||||
void swap(BreakpointParams& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::dds::core::optional< std::string > m_label_;
|
||||
::RTI::RecordingService::BreakpointUnion m_value_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(BreakpointParams& a, BreakpointParams& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const BreakpointParams& sample);
|
||||
|
||||
enum class ContinueFormat {
|
||||
OFFSET = 0,
|
||||
SLICE
|
||||
};
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator << (std::ostream& o,const ContinueFormat& sample);
|
||||
|
||||
class NDDSUSERDllExport ContinueUnion {
|
||||
public:
|
||||
|
||||
ContinueUnion();
|
||||
|
||||
::RTI::RecordingService::ContinueFormat& _d() {
|
||||
return m_d_;
|
||||
}
|
||||
|
||||
const ::RTI::RecordingService::ContinueFormat& _d() const {
|
||||
return m_d_;
|
||||
}
|
||||
|
||||
void _d(::RTI::RecordingService::ContinueFormat value) {
|
||||
|
||||
m_d_ = value;
|
||||
}
|
||||
|
||||
int64_t& offset() {
|
||||
|
||||
if (_d() != (RTI::RecordingService::ContinueFormat::OFFSET) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::ContinueUnion::offset not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_offset_;
|
||||
}
|
||||
|
||||
const int64_t& offset() const {
|
||||
|
||||
if (_d() != (RTI::RecordingService::ContinueFormat::OFFSET) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::ContinueUnion::offset not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_offset_;
|
||||
}
|
||||
|
||||
void offset(int64_t value) {
|
||||
m_u_.m_offset_ = value;
|
||||
m_d_= (RTI::RecordingService::ContinueFormat::OFFSET);
|
||||
}
|
||||
|
||||
int64_t& slices() {
|
||||
|
||||
if (_d() != (RTI::RecordingService::ContinueFormat::SLICE) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::ContinueUnion::slices not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_slices_;
|
||||
}
|
||||
|
||||
const int64_t& slices() const {
|
||||
|
||||
if (_d() != (RTI::RecordingService::ContinueFormat::SLICE) ) {
|
||||
|
||||
throw ::dds::core::PreconditionNotMetError(
|
||||
"::RTI::RecordingService::ContinueUnion::slices not selected by the discriminator" );
|
||||
}
|
||||
return m_u_.m_slices_;
|
||||
}
|
||||
|
||||
void slices(int64_t value) {
|
||||
m_u_.m_slices_ = value;
|
||||
m_d_= (RTI::RecordingService::ContinueFormat::SLICE);
|
||||
}
|
||||
|
||||
bool operator == (const ContinueUnion& other_) const;
|
||||
bool operator != (const ContinueUnion& other_) const;
|
||||
static ::RTI::RecordingService::ContinueFormat default_discriminator();
|
||||
|
||||
void swap(ContinueUnion& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::RTI::RecordingService::ContinueFormat m_d_;
|
||||
struct NDDSUSERDllExport Union_ {
|
||||
int64_t m_offset_;
|
||||
int64_t m_slices_;
|
||||
Union_();
|
||||
Union_(int64_t m_offset__,int64_t m_slices__);
|
||||
};
|
||||
Union_ m_u_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(ContinueUnion& a, ContinueUnion& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const ContinueUnion& sample);
|
||||
|
||||
class NDDSUSERDllExport ContinueParams {
|
||||
public:
|
||||
|
||||
ContinueParams();
|
||||
|
||||
explicit ContinueParams(const ::RTI::RecordingService::ContinueUnion& m_value__);
|
||||
|
||||
::RTI::RecordingService::ContinueUnion& value() noexcept {
|
||||
return m_value_;
|
||||
}
|
||||
|
||||
const ::RTI::RecordingService::ContinueUnion& value() const noexcept {
|
||||
return m_value_;
|
||||
}
|
||||
|
||||
void value(const ::RTI::RecordingService::ContinueUnion& value) {
|
||||
|
||||
m_value_ = value;
|
||||
}
|
||||
|
||||
void value(::RTI::RecordingService::ContinueUnion&& value) {
|
||||
m_value_ = std::move(value);
|
||||
}
|
||||
bool operator == (const ContinueParams& other_) const;
|
||||
bool operator != (const ContinueParams& other_) const;
|
||||
|
||||
void swap(ContinueParams& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::RTI::RecordingService::ContinueUnion m_value_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(ContinueParams& a, ContinueParams& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const ContinueParams& sample);
|
||||
|
||||
enum class TimerState {
|
||||
WORKING = 0,
|
||||
PAUSED,
|
||||
BREAKPOINT
|
||||
};
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator << (std::ostream& o,const TimerState& sample);
|
||||
|
||||
class NDDSUSERDllExport DebugStatus {
|
||||
public:
|
||||
|
||||
DebugStatus();
|
||||
|
||||
explicit DebugStatus(const ::RTI::RecordingService::TimerState& m_status__);
|
||||
|
||||
::RTI::RecordingService::TimerState& status() noexcept {
|
||||
return m_status_;
|
||||
}
|
||||
|
||||
const ::RTI::RecordingService::TimerState& status() const noexcept {
|
||||
return m_status_;
|
||||
}
|
||||
|
||||
void status(const ::RTI::RecordingService::TimerState& value) {
|
||||
|
||||
m_status_ = value;
|
||||
}
|
||||
|
||||
void status(::RTI::RecordingService::TimerState&& value) {
|
||||
m_status_ = std::move(value);
|
||||
}
|
||||
bool operator == (const DebugStatus& other_) const;
|
||||
bool operator != (const DebugStatus& other_) const;
|
||||
|
||||
void swap(DebugStatus& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::RTI::RecordingService::TimerState m_status_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(DebugStatus& a, DebugStatus& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const DebugStatus& sample);
|
||||
|
||||
class NDDSUSERDllExport TimestampHolder {
|
||||
public:
|
||||
|
||||
TimestampHolder();
|
||||
|
||||
explicit TimestampHolder(int64_t m_timestamp_nanos__);
|
||||
|
||||
int64_t& timestamp_nanos() noexcept {
|
||||
return m_timestamp_nanos_;
|
||||
}
|
||||
|
||||
const int64_t& timestamp_nanos() const noexcept {
|
||||
return m_timestamp_nanos_;
|
||||
}
|
||||
|
||||
void timestamp_nanos(int64_t value) {
|
||||
|
||||
m_timestamp_nanos_ = value;
|
||||
}
|
||||
|
||||
bool operator == (const TimestampHolder& other_) const;
|
||||
bool operator != (const TimestampHolder& other_) const;
|
||||
|
||||
void swap(TimestampHolder& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
int64_t m_timestamp_nanos_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(TimestampHolder& a, TimestampHolder& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const TimestampHolder& sample);
|
||||
|
||||
} // namespace RecordingService
|
||||
} // namespace RTI
|
||||
|
||||
#ifdef NDDS_STANDALONE_TYPE
|
||||
namespace rti {
|
||||
namespace topic {
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::BreakpointFormat>
|
||||
{
|
||||
static const ::RTI::RecordingService::BreakpointFormat value;
|
||||
};
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::ContinueFormat>
|
||||
{
|
||||
static const ::RTI::RecordingService::ContinueFormat value;
|
||||
};
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::TimerState>
|
||||
{
|
||||
static const ::RTI::RecordingService::TimerState value;
|
||||
};
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
namespace rti {
|
||||
namespace flat {
|
||||
namespace topic {
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace dds {
|
||||
namespace topic {
|
||||
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::DataTagParams > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::DataTagParams";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::RecordingService::DataTagParams > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::DataTagParams > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::RecordingService::DataTagParams& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::RecordingService::DataTagParams& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::DataTagParams& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::DataTagParams& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::BreakpointUnion > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::BreakpointUnion";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::BreakpointUnion > {
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::BreakpointUnion& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::BreakpointUnion& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::BreakpointParams > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::BreakpointParams";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::RecordingService::BreakpointParams > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::BreakpointParams > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::RecordingService::BreakpointParams& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::RecordingService::BreakpointParams& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::BreakpointParams& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::BreakpointParams& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::ContinueUnion > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::ContinueUnion";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::ContinueUnion > {
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::ContinueUnion& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::ContinueUnion& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::ContinueParams > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::ContinueParams";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::RecordingService::ContinueParams > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::ContinueParams > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::RecordingService::ContinueParams& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::RecordingService::ContinueParams& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::ContinueParams& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::ContinueParams& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::DebugStatus > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::DebugStatus";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::RecordingService::DebugStatus > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::DebugStatus > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::RecordingService::DebugStatus& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::RecordingService::DebugStatus& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::DebugStatus& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::DebugStatus& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::RecordingService::TimestampHolder > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::RecordingService::TimestampHolder";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::RecordingService::TimestampHolder > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::RecordingService::TimestampHolder > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::RecordingService::TimestampHolder& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::RecordingService::TimestampHolder& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::RecordingService::TimestampHolder& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::RecordingService::TimestampHolder& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
namespace rti {
|
||||
namespace topic {
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::DataTagParams > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::DataTagParams > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::BreakpointFormat>
|
||||
{
|
||||
static const ::RTI::RecordingService::BreakpointFormat value;
|
||||
};
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::BreakpointFormat > {
|
||||
typedef ::dds::core::xtypes::EnumType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::EnumType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::BreakpointFormat > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::BreakpointUnion > {
|
||||
typedef ::dds::core::xtypes::UnionType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::UnionType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::BreakpointUnion > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::BreakpointParams > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::BreakpointParams > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::ContinueFormat>
|
||||
{
|
||||
static const ::RTI::RecordingService::ContinueFormat value;
|
||||
};
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::ContinueFormat > {
|
||||
typedef ::dds::core::xtypes::EnumType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::EnumType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::ContinueFormat > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::ContinueUnion > {
|
||||
typedef ::dds::core::xtypes::UnionType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::UnionType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::ContinueUnion > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::ContinueParams > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::ContinueParams > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::RecordingService::TimerState>
|
||||
{
|
||||
static const ::RTI::RecordingService::TimerState value;
|
||||
};
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::TimerState > {
|
||||
typedef ::dds::core::xtypes::EnumType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::EnumType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::TimerState > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::DebugStatus > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::DebugStatus > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::RecordingService::TimestampHolder > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::RecordingService::TimestampHolder > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // NDDS_STANDALONE_TYPE
|
||||
#if defined(NDDS_USER_DLL_EXPORT_RECORDER_SERVICE_ADMINISTRATION) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport
|
||||
#endif
|
||||
|
||||
#endif // RecordingServiceTypes_164879555_hpp
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,534 @@
|
||||
|
||||
|
||||
/*
|
||||
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
|
||||
|
||||
This file was generated from ServiceAdmin.idl
|
||||
using RTI Code Generator (rtiddsgen) version 4.7.0.
|
||||
The rtiddsgen tool is part of the RTI Connext DDS distribution.
|
||||
For more information, type 'rtiddsgen -help' at a command shell
|
||||
or consult the Code Generator User's Manual.
|
||||
*/
|
||||
|
||||
#ifndef ServiceAdmin_1325755560_hpp
|
||||
#define ServiceAdmin_1325755560_hpp
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) && defined(RTI_WIN32)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#include "dds/core/SafeEnumeration.hpp"
|
||||
#include "dds/core/String.hpp"
|
||||
#include "dds/core/array.hpp"
|
||||
#include "dds/core/vector.hpp"
|
||||
#include "dds/core/External.hpp"
|
||||
#include "rti/core/LongDouble.hpp"
|
||||
#include "rti/core/Pointer.hpp"
|
||||
#include "rti/core/array.hpp"
|
||||
#include "rti/topic/TopicTraits.hpp"
|
||||
|
||||
#include "omg/types/string_view.hpp"
|
||||
|
||||
#include "rti/core/BoundedSequence.hpp"
|
||||
#include "dds/core/Optional.hpp"
|
||||
|
||||
#ifndef NDDS_STANDALONE_TYPE
|
||||
#include "cdr/cdr_typeCode.h"
|
||||
#include "dds/domain/DomainParticipant.hpp"
|
||||
#include "dds/topic/TopicTraits.hpp"
|
||||
#include "dds/core/xtypes/DynamicType.hpp"
|
||||
#include "dds/core/xtypes/StructType.hpp"
|
||||
#include "dds/core/xtypes/UnionType.hpp"
|
||||
#include "dds/core/xtypes/EnumType.hpp"
|
||||
#include "dds/core/xtypes/AliasType.hpp"
|
||||
#include "rti/util/StreamFlagSaver.hpp"
|
||||
#include "rti/domain/PluginSupport.hpp"
|
||||
#endif
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef RTIUSERDllExport
|
||||
#define RTIUSERDllExport
|
||||
#endif
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) && defined(RTI_WIN32)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport
|
||||
#endif
|
||||
#include "ServiceCommon.hpp"
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) && defined(RTI_WIN32)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
namespace RTI {
|
||||
namespace Service {
|
||||
namespace Admin {
|
||||
|
||||
static const std::string COMMAND_REQUEST_TOPIC_NAME = "rti/service/admin/command_request";
|
||||
|
||||
static const std::string COMMAND_REPLY_TOPIC_NAME = "rti/service/admin/command_reply";
|
||||
|
||||
static const int32_t NAME_LENGTH_MAX = (RTI::Service::BOUNDED_STRING_LENGTH_MAX);
|
||||
|
||||
typedef std::string EntityName;
|
||||
struct EntityName_AliasTag_t {};
|
||||
|
||||
static const int32_t RESOURCE_IDENTIFIER_LENGTH_MAX = (RTI::Service::RESOURCE_IDENTIFIER_LENGTH_MAX);
|
||||
|
||||
typedef std::string ResourceIdentifier;
|
||||
struct ResourceIdentifier_AliasTag_t {};
|
||||
|
||||
typedef std::string StringBody;
|
||||
struct StringBody_AliasTag_t {};
|
||||
|
||||
#if (defined(RTI_WIN32) || defined (RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN)
|
||||
// On Windows, dll-export template instantiations of standard types used by
|
||||
// other dll-exported types
|
||||
template class NDDSUSERDllExport std::allocator< uint8_t >;
|
||||
template class NDDSUSERDllExport std::vector< uint8_t >;
|
||||
#endif
|
||||
typedef std::vector< uint8_t > OctetBody;
|
||||
struct OctetBody_AliasTag_t {};
|
||||
enum class CommandActionKind {
|
||||
CREATE_ACTION,
|
||||
GET_ACTION,
|
||||
UPDATE_ACTION,
|
||||
DELETE_ACTION
|
||||
};
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator << (std::ostream& o,const CommandActionKind& sample);
|
||||
enum class CommandReplyRetcode {
|
||||
OK_RETCODE,
|
||||
ERROR_RETCODE
|
||||
};
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator << (std::ostream& o,const CommandReplyRetcode& sample);
|
||||
|
||||
class NDDSUSERDllExport CommandRequest {
|
||||
public:
|
||||
|
||||
CommandRequest();
|
||||
|
||||
CommandRequest(int32_t m_instance_id__,const ::dds::core::optional< std::string >& m_application_name__,const ::RTI::Service::Admin::CommandActionKind& m_action__,const std::string& m_resource_identifier__,const std::string& m_string_body__,const ::RTI::Service::Admin::OctetBody& m_octet_body__);
|
||||
|
||||
int32_t& instance_id() noexcept {
|
||||
return m_instance_id_;
|
||||
}
|
||||
|
||||
const int32_t& instance_id() const noexcept {
|
||||
return m_instance_id_;
|
||||
}
|
||||
|
||||
void instance_id(int32_t value) {
|
||||
|
||||
m_instance_id_ = value;
|
||||
}
|
||||
|
||||
::dds::core::optional< std::string >& application_name() noexcept {
|
||||
return m_application_name_;
|
||||
}
|
||||
|
||||
const ::dds::core::optional< std::string >& application_name() const noexcept {
|
||||
return m_application_name_;
|
||||
}
|
||||
|
||||
void application_name(const ::dds::core::optional< std::string >& value) {
|
||||
|
||||
m_application_name_ = value;
|
||||
}
|
||||
|
||||
void application_name(::dds::core::optional< std::string >&& value) {
|
||||
m_application_name_ = std::move(value);
|
||||
}
|
||||
::RTI::Service::Admin::CommandActionKind& action() noexcept {
|
||||
return m_action_;
|
||||
}
|
||||
|
||||
const ::RTI::Service::Admin::CommandActionKind& action() const noexcept {
|
||||
return m_action_;
|
||||
}
|
||||
|
||||
void action(const ::RTI::Service::Admin::CommandActionKind& value) {
|
||||
|
||||
m_action_ = value;
|
||||
}
|
||||
|
||||
void action(::RTI::Service::Admin::CommandActionKind&& value) {
|
||||
m_action_ = std::move(value);
|
||||
}
|
||||
std::string& resource_identifier() noexcept {
|
||||
return m_resource_identifier_;
|
||||
}
|
||||
|
||||
const std::string& resource_identifier() const noexcept {
|
||||
return m_resource_identifier_;
|
||||
}
|
||||
|
||||
void resource_identifier(const std::string& value) {
|
||||
|
||||
m_resource_identifier_ = value;
|
||||
}
|
||||
|
||||
void resource_identifier(std::string&& value) {
|
||||
m_resource_identifier_ = std::move(value);
|
||||
}
|
||||
std::string& string_body() noexcept {
|
||||
return m_string_body_;
|
||||
}
|
||||
|
||||
const std::string& string_body() const noexcept {
|
||||
return m_string_body_;
|
||||
}
|
||||
|
||||
void string_body(const std::string& value) {
|
||||
|
||||
m_string_body_ = value;
|
||||
}
|
||||
|
||||
void string_body(std::string&& value) {
|
||||
m_string_body_ = std::move(value);
|
||||
}
|
||||
::RTI::Service::Admin::OctetBody& octet_body() noexcept {
|
||||
return m_octet_body_;
|
||||
}
|
||||
|
||||
const ::RTI::Service::Admin::OctetBody& octet_body() const noexcept {
|
||||
return m_octet_body_;
|
||||
}
|
||||
|
||||
void octet_body(const ::RTI::Service::Admin::OctetBody& value) {
|
||||
|
||||
m_octet_body_ = value;
|
||||
}
|
||||
|
||||
void octet_body(::RTI::Service::Admin::OctetBody&& value) {
|
||||
m_octet_body_ = std::move(value);
|
||||
}
|
||||
bool operator == (const CommandRequest& other_) const;
|
||||
bool operator != (const CommandRequest& other_) const;
|
||||
|
||||
void swap(CommandRequest& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
int32_t m_instance_id_;
|
||||
::dds::core::optional< std::string > m_application_name_;
|
||||
::RTI::Service::Admin::CommandActionKind m_action_;
|
||||
std::string m_resource_identifier_;
|
||||
std::string m_string_body_;
|
||||
::RTI::Service::Admin::OctetBody m_octet_body_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(CommandRequest& a, CommandRequest& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const CommandRequest& sample);
|
||||
|
||||
class NDDSUSERDllExport CommandReply {
|
||||
public:
|
||||
|
||||
CommandReply();
|
||||
|
||||
CommandReply(const ::RTI::Service::Admin::CommandReplyRetcode& m_retcode__,int32_t m_native_retcode__,const std::string& m_string_body__,const ::RTI::Service::Admin::OctetBody& m_octet_body__);
|
||||
|
||||
::RTI::Service::Admin::CommandReplyRetcode& retcode() noexcept {
|
||||
return m_retcode_;
|
||||
}
|
||||
|
||||
const ::RTI::Service::Admin::CommandReplyRetcode& retcode() const noexcept {
|
||||
return m_retcode_;
|
||||
}
|
||||
|
||||
void retcode(const ::RTI::Service::Admin::CommandReplyRetcode& value) {
|
||||
|
||||
m_retcode_ = value;
|
||||
}
|
||||
|
||||
void retcode(::RTI::Service::Admin::CommandReplyRetcode&& value) {
|
||||
m_retcode_ = std::move(value);
|
||||
}
|
||||
int32_t& native_retcode() noexcept {
|
||||
return m_native_retcode_;
|
||||
}
|
||||
|
||||
const int32_t& native_retcode() const noexcept {
|
||||
return m_native_retcode_;
|
||||
}
|
||||
|
||||
void native_retcode(int32_t value) {
|
||||
|
||||
m_native_retcode_ = value;
|
||||
}
|
||||
|
||||
std::string& string_body() noexcept {
|
||||
return m_string_body_;
|
||||
}
|
||||
|
||||
const std::string& string_body() const noexcept {
|
||||
return m_string_body_;
|
||||
}
|
||||
|
||||
void string_body(const std::string& value) {
|
||||
|
||||
m_string_body_ = value;
|
||||
}
|
||||
|
||||
void string_body(std::string&& value) {
|
||||
m_string_body_ = std::move(value);
|
||||
}
|
||||
::RTI::Service::Admin::OctetBody& octet_body() noexcept {
|
||||
return m_octet_body_;
|
||||
}
|
||||
|
||||
const ::RTI::Service::Admin::OctetBody& octet_body() const noexcept {
|
||||
return m_octet_body_;
|
||||
}
|
||||
|
||||
void octet_body(const ::RTI::Service::Admin::OctetBody& value) {
|
||||
|
||||
m_octet_body_ = value;
|
||||
}
|
||||
|
||||
void octet_body(::RTI::Service::Admin::OctetBody&& value) {
|
||||
m_octet_body_ = std::move(value);
|
||||
}
|
||||
bool operator == (const CommandReply& other_) const;
|
||||
bool operator != (const CommandReply& other_) const;
|
||||
|
||||
void swap(CommandReply& other_) noexcept ;
|
||||
|
||||
private:
|
||||
|
||||
::RTI::Service::Admin::CommandReplyRetcode m_retcode_;
|
||||
int32_t m_native_retcode_;
|
||||
std::string m_string_body_;
|
||||
::RTI::Service::Admin::OctetBody m_octet_body_;
|
||||
|
||||
};
|
||||
|
||||
inline void swap(CommandReply& a, CommandReply& b) noexcept
|
||||
{
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
NDDSUSERDllExport std::ostream& operator<<(std::ostream& o, const CommandReply& sample);
|
||||
|
||||
} // namespace Admin
|
||||
} // namespace Service
|
||||
} // namespace RTI
|
||||
|
||||
#ifdef NDDS_STANDALONE_TYPE
|
||||
namespace rti {
|
||||
namespace topic {
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::Service::Admin::CommandActionKind>
|
||||
{
|
||||
static const ::RTI::Service::Admin::CommandActionKind value;
|
||||
};
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::Service::Admin::CommandReplyRetcode>
|
||||
{
|
||||
static const ::RTI::Service::Admin::CommandReplyRetcode value;
|
||||
};
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
namespace rti {
|
||||
namespace flat {
|
||||
namespace topic {
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace dds {
|
||||
namespace topic {
|
||||
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::Service::Admin::CommandRequest > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::Service::Admin::CommandRequest";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::Service::Admin::CommandRequest > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::Service::Admin::CommandRequest > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::Service::Admin::CommandRequest& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::Service::Admin::CommandRequest& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::Service::Admin::CommandRequest& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::Service::Admin::CommandRequest& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
template<>
|
||||
struct topic_type_name< ::RTI::Service::Admin::CommandReply > {
|
||||
NDDSUSERDllExport static std::string value() {
|
||||
return "RTI::Service::Admin::CommandReply";
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_topic_type< ::RTI::Service::Admin::CommandReply > : public ::dds::core::true_type {};
|
||||
|
||||
template<>
|
||||
struct topic_type_support< ::RTI::Service::Admin::CommandReply > {
|
||||
NDDSUSERDllExport
|
||||
static void register_type(
|
||||
::dds::domain::DomainParticipant& participant,
|
||||
const std::string & type_name);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static std::vector<char>& to_cdr_buffer(
|
||||
std::vector<char>& buffer,
|
||||
const ::RTI::Service::Admin::CommandReply& sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::auto_id());
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void from_cdr_buffer(::RTI::Service::Admin::CommandReply& sample, const std::vector<char>& buffer);
|
||||
NDDSUSERDllExport
|
||||
static void reset_sample(::RTI::Service::Admin::CommandReply& sample);
|
||||
|
||||
NDDSUSERDllExport
|
||||
static void allocate_sample(::RTI::Service::Admin::CommandReply& sample, int, int);
|
||||
|
||||
static const ::rti::topic::TypePluginKind::type type_plugin_kind =
|
||||
::rti::topic::TypePluginKind::STL;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
namespace rti {
|
||||
namespace topic {
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::EntityName_AliasTag_t > {
|
||||
typedef ::dds::core::xtypes::AliasType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::AliasType& get();
|
||||
};
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::ResourceIdentifier_AliasTag_t > {
|
||||
typedef ::dds::core::xtypes::AliasType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::AliasType& get();
|
||||
};
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::StringBody_AliasTag_t > {
|
||||
typedef ::dds::core::xtypes::AliasType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::AliasType& get();
|
||||
};
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::OctetBody_AliasTag_t > {
|
||||
typedef ::dds::core::xtypes::AliasType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::AliasType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::Service::Admin::CommandActionKind>
|
||||
{
|
||||
static const ::RTI::Service::Admin::CommandActionKind value;
|
||||
};
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::CommandActionKind > {
|
||||
typedef ::dds::core::xtypes::EnumType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::EnumType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::Service::Admin::CommandActionKind > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template <>
|
||||
struct default_enumerator< ::RTI::Service::Admin::CommandReplyRetcode>
|
||||
{
|
||||
static const ::RTI::Service::Admin::CommandReplyRetcode value;
|
||||
};
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::CommandReplyRetcode > {
|
||||
typedef ::dds::core::xtypes::EnumType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::EnumType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::Service::Admin::CommandReplyRetcode > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::CommandRequest > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::Service::Admin::CommandRequest > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
template<>
|
||||
struct dynamic_type< ::RTI::Service::Admin::CommandReply > {
|
||||
typedef ::dds::core::xtypes::StructType type;
|
||||
NDDSUSERDllExport static const ::dds::core::xtypes::StructType& get();
|
||||
};
|
||||
|
||||
template <>
|
||||
struct extensibility< ::RTI::Service::Admin::CommandReply > {
|
||||
static const ::dds::core::xtypes::ExtensibilityKind::type kind =
|
||||
::dds::core::xtypes::ExtensibilityKind::EXTENSIBLE; };
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // NDDS_STANDALONE_TYPE
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport
|
||||
#endif
|
||||
|
||||
#endif // ServiceAdmin_1325755560_hpp
|
||||
@@ -0,0 +1,834 @@
|
||||
|
||||
|
||||
/*
|
||||
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
|
||||
|
||||
This file was generated from ServiceAdmin.idl
|
||||
using RTI Code Generator (rtiddsgen) version 4.7.0.
|
||||
The rtiddsgen tool is part of the RTI Connext DDS distribution.
|
||||
For more information, type 'rtiddsgen -help' at a command shell
|
||||
or consult the Code Generator User's Manual.
|
||||
*/
|
||||
|
||||
#ifndef ServiceAdminPlugin_1325755560_h
|
||||
#define ServiceAdminPlugin_1325755560_h
|
||||
|
||||
#include "ServiceAdmin.hpp"
|
||||
|
||||
struct RTICdrStream;
|
||||
|
||||
#ifndef pres_typePlugin_h
|
||||
#include "pres/pres_typePlugin.h"
|
||||
#endif
|
||||
|
||||
#include "ServiceCommonPlugin.hpp"
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) && defined(RTI_WIN32)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
#if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
namespace RTI {
|
||||
namespace Service {
|
||||
namespace Admin {
|
||||
|
||||
#define EntityNamePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define EntityNamePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define EntityNamePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define EntityNamePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define EntityNamePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern EntityName*
|
||||
EntityNamePluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern EntityName*
|
||||
EntityNamePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern EntityName*
|
||||
EntityNamePluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
EntityNamePluginSupport_copy_data(
|
||||
EntityName *out,
|
||||
const EntityName *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
EntityNamePluginSupport_destroy_data_w_params(
|
||||
EntityName *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
EntityNamePluginSupport_destroy_data_ex(
|
||||
EntityName *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
EntityNamePluginSupport_destroy_data(
|
||||
EntityName *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
EntityNamePluginSupport_print_data(
|
||||
const EntityName *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
EntityNamePlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
EntityName *out,
|
||||
const EntityName *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
EntityNamePlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
EntityNamePlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
EntityNamePlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
EntityNamePlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
#define ResourceIdentifierPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define ResourceIdentifierPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define ResourceIdentifierPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define ResourceIdentifierPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define ResourceIdentifierPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern ResourceIdentifier*
|
||||
ResourceIdentifierPluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern ResourceIdentifier*
|
||||
ResourceIdentifierPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern ResourceIdentifier*
|
||||
ResourceIdentifierPluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
ResourceIdentifierPluginSupport_copy_data(
|
||||
ResourceIdentifier *out,
|
||||
const ResourceIdentifier *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
ResourceIdentifierPluginSupport_destroy_data_w_params(
|
||||
ResourceIdentifier *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
ResourceIdentifierPluginSupport_destroy_data_ex(
|
||||
ResourceIdentifier *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
ResourceIdentifierPluginSupport_destroy_data(
|
||||
ResourceIdentifier *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
ResourceIdentifierPluginSupport_print_data(
|
||||
const ResourceIdentifier *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
ResourceIdentifierPlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
ResourceIdentifier *out,
|
||||
const ResourceIdentifier *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
ResourceIdentifierPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
ResourceIdentifierPlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
ResourceIdentifierPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
ResourceIdentifierPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
#define StringBodyPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define StringBodyPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define StringBodyPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define StringBodyPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define StringBodyPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern StringBody*
|
||||
StringBodyPluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern StringBody*
|
||||
StringBodyPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern StringBody*
|
||||
StringBodyPluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
StringBodyPluginSupport_copy_data(
|
||||
StringBody *out,
|
||||
const StringBody *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
StringBodyPluginSupport_destroy_data_w_params(
|
||||
StringBody *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
StringBodyPluginSupport_destroy_data_ex(
|
||||
StringBody *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
StringBodyPluginSupport_destroy_data(
|
||||
StringBody *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
StringBodyPluginSupport_print_data(
|
||||
const StringBody *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
StringBodyPlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
StringBody *out,
|
||||
const StringBody *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
StringBodyPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
StringBodyPlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
StringBodyPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
StringBodyPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
#define OctetBodyPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define OctetBodyPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define OctetBodyPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define OctetBodyPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define OctetBodyPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern OctetBody*
|
||||
OctetBodyPluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern OctetBody*
|
||||
OctetBodyPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern OctetBody*
|
||||
OctetBodyPluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
OctetBodyPluginSupport_copy_data(
|
||||
OctetBody *out,
|
||||
const OctetBody *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
OctetBodyPluginSupport_destroy_data_w_params(
|
||||
OctetBody *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
OctetBodyPluginSupport_destroy_data_ex(
|
||||
OctetBody *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
OctetBodyPluginSupport_destroy_data(
|
||||
OctetBody *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
OctetBodyPluginSupport_print_data(
|
||||
const OctetBody *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
OctetBodyPlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
OctetBody *out,
|
||||
const OctetBody *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
OctetBodyPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
OctetBodyPlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
OctetBodyPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
OctetBodyPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandActionKindPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandActionKindPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandActionKindPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandActionKindPluginSupport_print_data(
|
||||
const CommandActionKind *sample,
|
||||
const char *desc,
|
||||
unsigned int indent_level);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyRetcodePlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyRetcodePlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyRetcodePlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyRetcodePluginSupport_print_data(
|
||||
const CommandReplyRetcode *sample,
|
||||
const char *desc,
|
||||
unsigned int indent_level);
|
||||
|
||||
/* The type used to store keys for instances of type struct
|
||||
* AnotherSimple.
|
||||
*
|
||||
* By default, this type is struct CommandRequest
|
||||
* itself. However, if for some reason this choice is not practical for your
|
||||
* system (e.g. if sizeof(struct CommandRequest)
|
||||
* is very large), you may redefine this typedef in terms of another type of
|
||||
* your choosing. HOWEVER, if you define the KeyHolder type to be something
|
||||
* other than struct AnotherSimple, the
|
||||
* following restriction applies: the key of struct
|
||||
* CommandRequest must consist of a
|
||||
* single field of your redefined KeyHolder type and that field must be the
|
||||
* first field in struct CommandRequest.
|
||||
*/
|
||||
typedef class CommandRequest CommandRequestKeyHolder;
|
||||
|
||||
#define CommandRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define CommandRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define CommandRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define CommandRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
||||
#define CommandRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
||||
|
||||
#define CommandRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define CommandRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern CommandRequest*
|
||||
CommandRequestPluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern CommandRequest*
|
||||
CommandRequestPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern CommandRequest*
|
||||
CommandRequestPluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPluginSupport_copy_data(
|
||||
CommandRequest *out,
|
||||
const CommandRequest *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_destroy_data_w_params(
|
||||
CommandRequest *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_destroy_data_ex(
|
||||
CommandRequest *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_destroy_data(
|
||||
CommandRequest *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_print_data(
|
||||
const CommandRequest *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
NDDSUSERDllExport extern CommandRequest*
|
||||
CommandRequestPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern CommandRequest*
|
||||
CommandRequestPluginSupport_create_key(void);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_destroy_key_ex(
|
||||
CommandRequestKeyHolder *key,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPluginSupport_destroy_key(
|
||||
CommandRequestKeyHolder *key);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
||||
CommandRequestPlugin_on_participant_attached(
|
||||
void *registration_data,
|
||||
const struct PRESTypePluginParticipantInfo *participant_info,
|
||||
RTIBool top_level_registration,
|
||||
void *container_plugin_context,
|
||||
RTICdrTypeCode *typeCode);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPlugin_on_participant_detached(
|
||||
PRESTypePluginParticipantData participant_data);
|
||||
|
||||
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
||||
CommandRequestPlugin_on_endpoint_attached(
|
||||
PRESTypePluginParticipantData participant_data,
|
||||
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
||||
RTIBool top_level_registration,
|
||||
void *container_plugin_context);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPlugin_on_endpoint_detached(
|
||||
PRESTypePluginEndpointData endpoint_data);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPlugin_return_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequest *sample,
|
||||
void *handle);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequest *out,
|
||||
const CommandRequest *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_serialize_to_cdr_buffer(
|
||||
char * buffer,
|
||||
unsigned int * length,
|
||||
const CommandRequest *sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::xcdr());
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_deserialize(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequest **sample,
|
||||
RTIBool * drop_sample,
|
||||
struct RTICdrStream *cdrStream,
|
||||
RTIBool deserialize_encapsulation,
|
||||
RTIBool deserialize_sample,
|
||||
void *endpoint_plugin_qos);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_deserialize_from_cdr_buffer(
|
||||
CommandRequest *sample,
|
||||
const char * buffer,
|
||||
unsigned int length);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandRequestPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
CommandRequestPlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandRequestPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandRequestPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_deserialize_key(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequest ** sample,
|
||||
RTIBool * drop_sample,
|
||||
struct RTICdrStream *cdrStream,
|
||||
RTIBool deserialize_encapsulation,
|
||||
RTIBool deserialize_key,
|
||||
void *endpoint_plugin_qos);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_instance_to_key(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequestKeyHolder *key,
|
||||
const CommandRequest *instance);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_key_to_instance(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandRequest *instance,
|
||||
const CommandRequestKeyHolder *key);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandRequestPlugin_serialized_sample_to_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
struct RTICdrStream *cdrStream,
|
||||
DDS_KeyHash_t *keyhash,
|
||||
RTIBool deserialize_encapsulation,
|
||||
void *endpoint_plugin_qos);
|
||||
|
||||
/* Plugin Functions */
|
||||
NDDSUSERDllExport extern struct PRESTypePlugin*
|
||||
CommandRequestPlugin_new(void);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandRequestPlugin_delete(struct PRESTypePlugin *);
|
||||
|
||||
#define CommandReplyPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
||||
|
||||
#define CommandReplyPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
||||
#define CommandReplyPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
||||
|
||||
#define CommandReplyPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
||||
#define CommandReplyPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Support functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern CommandReply*
|
||||
CommandReplyPluginSupport_create_data_w_params(
|
||||
const struct DDS_TypeAllocationParams_t * alloc_params);
|
||||
|
||||
NDDSUSERDllExport extern CommandReply*
|
||||
CommandReplyPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern CommandReply*
|
||||
CommandReplyPluginSupport_create_data(void);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPluginSupport_copy_data(
|
||||
CommandReply *out,
|
||||
const CommandReply *in);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPluginSupport_destroy_data_w_params(
|
||||
CommandReply *sample,
|
||||
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPluginSupport_destroy_data_ex(
|
||||
CommandReply *sample,RTIBool deallocate_pointers);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPluginSupport_destroy_data(
|
||||
CommandReply *sample);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPluginSupport_print_data(
|
||||
const CommandReply *sample,
|
||||
const char *desc,
|
||||
unsigned int indent);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
Callback functions:
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
||||
CommandReplyPlugin_on_participant_attached(
|
||||
void *registration_data,
|
||||
const struct PRESTypePluginParticipantInfo *participant_info,
|
||||
RTIBool top_level_registration,
|
||||
void *container_plugin_context,
|
||||
RTICdrTypeCode *typeCode);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPlugin_on_participant_detached(
|
||||
PRESTypePluginParticipantData participant_data);
|
||||
|
||||
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
||||
CommandReplyPlugin_on_endpoint_attached(
|
||||
PRESTypePluginParticipantData participant_data,
|
||||
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
||||
RTIBool top_level_registration,
|
||||
void *container_plugin_context);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPlugin_on_endpoint_detached(
|
||||
PRESTypePluginEndpointData endpoint_data);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPlugin_return_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandReply *sample,
|
||||
void *handle);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPlugin_copy_sample(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandReply *out,
|
||||
const CommandReply *in);
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
(De)Serialize functions:
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPlugin_serialize_to_cdr_buffer(
|
||||
char * buffer,
|
||||
unsigned int * length,
|
||||
const CommandReply *sample,
|
||||
::dds::core::policy::DataRepresentationId representation
|
||||
= ::dds::core::policy::DataRepresentation::xcdr());
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPlugin_deserialize(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandReply **sample,
|
||||
RTIBool * drop_sample,
|
||||
struct RTICdrStream *cdrStream,
|
||||
RTIBool deserialize_encapsulation,
|
||||
RTIBool deserialize_sample,
|
||||
void *endpoint_plugin_qos);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPlugin_deserialize_from_cdr_buffer(
|
||||
CommandReply *sample,
|
||||
const char * buffer,
|
||||
unsigned int length);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyPlugin_get_serialized_sample_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
/* --------------------------------------------------------------------------------------
|
||||
Key Management functions:
|
||||
* -------------------------------------------------------------------------------------- */
|
||||
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
||||
CommandReplyPlugin_get_key_kind(void);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyPlugin_get_serialized_key_max_size(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIBool include_encapsulation,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern unsigned int
|
||||
CommandReplyPlugin_get_serialized_key_max_size_for_keyhash(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
RTIEncapsulationId encapsulation_id,
|
||||
unsigned int current_alignment);
|
||||
|
||||
NDDSUSERDllExport extern RTIBool
|
||||
CommandReplyPlugin_deserialize_key(
|
||||
PRESTypePluginEndpointData endpoint_data,
|
||||
CommandReply ** sample,
|
||||
RTIBool * drop_sample,
|
||||
struct RTICdrStream *cdrStream,
|
||||
RTIBool deserialize_encapsulation,
|
||||
RTIBool deserialize_key,
|
||||
void *endpoint_plugin_qos);
|
||||
|
||||
/* Plugin Functions */
|
||||
NDDSUSERDllExport extern struct PRESTypePlugin*
|
||||
CommandReplyPlugin_new(void);
|
||||
|
||||
NDDSUSERDllExport extern void
|
||||
CommandReplyPlugin_delete(struct PRESTypePlugin *);
|
||||
|
||||
} /* namespace Admin */
|
||||
} /* namespace Service */
|
||||
} /* namespace RTI */
|
||||
|
||||
#if defined(NDDS_USER_DLL_EXPORT_ROUTER_SERVICE_ADMIN) || defined(NDDS_USER_SYMBOL_EXPORT)
|
||||
#undef NDDSUSERDllExport
|
||||
#define NDDSUSERDllExport
|
||||
#endif
|
||||
|
||||
#endif /* ServiceAdminPlugin_1325755560_h */
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user