/**************************************************************** Generated by Eclipse Cyclone DDS IDL to CXX Translator File name: /data/jenkins/workspace/workspace/ddkit_release_v3-9-x/cnn_l_0/.conan/data/ddkit/3.9.0/jenkins/stable/build/98937235a8ae97010a6498036572bf0d26e6de10/src/ddkit/idls/ActorInfo.idl Source: ActorInfo.hpp Cyclone DDS: v0.11.0 *****************************************************************/ #ifndef DDSCXX_ACTORINFO_HPP_6845C11245DB8902A287EAC111400CBA #define DDSCXX_ACTORINFO_HPP_6845C11245DB8902A287EAC111400CBA #include #include #include #include #include namespace ddkit_intern { class Process { private: int32_t processId_ = 0; std::string hostName_; std::string procName_; public: Process() = default; explicit Process( int32_t processId, const std::string& hostName, const std::string& procName) : processId_(processId), hostName_(hostName), procName_(procName) { } int32_t processId() const { return this->processId_; } int32_t& processId() { return this->processId_; } void processId(int32_t _val_) { this->processId_ = _val_; } const std::string& hostName() const { return this->hostName_; } std::string& hostName() { return this->hostName_; } void hostName(const std::string& _val_) { this->hostName_ = _val_; } void hostName(std::string&& _val_) { this->hostName_ = std::move(_val_); } const std::string& procName() const { return this->procName_; } std::string& procName() { return this->procName_; } void procName(const std::string& _val_) { this->procName_ = _val_; } void procName(std::string&& _val_) { this->procName_ = std::move(_val_); } bool operator==(const Process& _other) const { (void) _other; return processId_ == _other.processId_ && hostName_ == _other.hostName_ && procName_ == _other.procName_; } bool operator!=(const Process& _other) const { return !(*this == _other); } }; std::ostream& operator<<(std::ostream& os, Process const& rhs); class Session { private: std::string sessionId_; ::ddkit_intern::Process process_; public: Session() = default; explicit Session( const std::string& sessionId, const ::ddkit_intern::Process& process) : sessionId_(sessionId), process_(process) { } const std::string& sessionId() const { return this->sessionId_; } std::string& sessionId() { return this->sessionId_; } void sessionId(const std::string& _val_) { this->sessionId_ = _val_; } void sessionId(std::string&& _val_) { this->sessionId_ = std::move(_val_); } const ::ddkit_intern::Process& process() const { return this->process_; } ::ddkit_intern::Process& process() { return this->process_; } void process(const ::ddkit_intern::Process& _val_) { this->process_ = _val_; } void process(::ddkit_intern::Process&& _val_) { this->process_ = std::move(_val_); } bool operator==(const Session& _other) const { (void) _other; return sessionId_ == _other.sessionId_ && process_ == _other.process_; } bool operator!=(const Session& _other) const { return !(*this == _other); } }; std::ostream& operator<<(std::ostream& os, Session const& rhs); class ActorInfo { private: std::string actorId_; ::ddkit_intern::Session session_; int32_t sequenceId_ = 0; std::string serviceName_; uint8_t domain_ = 0; bool isService_ = false; std::string moduleName_; bool isReading_ = false; std::vector openReaders_; bool isWriting_ = false; std::vector openWriters_; std::string clientName_; public: ActorInfo() = default; explicit ActorInfo( const std::string& actorId, const ::ddkit_intern::Session& session, int32_t sequenceId, const std::string& serviceName, uint8_t domain, bool isService, const std::string& moduleName, bool isReading, const std::vector& openReaders, bool isWriting, const std::vector& openWriters, const std::string& clientName) : actorId_(actorId), session_(session), sequenceId_(sequenceId), serviceName_(serviceName), domain_(domain), isService_(isService), moduleName_(moduleName), isReading_(isReading), openReaders_(openReaders), isWriting_(isWriting), openWriters_(openWriters), clientName_(clientName) { } const std::string& actorId() const { return this->actorId_; } std::string& actorId() { return this->actorId_; } void actorId(const std::string& _val_) { this->actorId_ = _val_; } void actorId(std::string&& _val_) { this->actorId_ = std::move(_val_); } const ::ddkit_intern::Session& session() const { return this->session_; } ::ddkit_intern::Session& session() { return this->session_; } void session(const ::ddkit_intern::Session& _val_) { this->session_ = _val_; } void session(::ddkit_intern::Session&& _val_) { this->session_ = std::move(_val_); } int32_t sequenceId() const { return this->sequenceId_; } int32_t& sequenceId() { return this->sequenceId_; } void sequenceId(int32_t _val_) { this->sequenceId_ = _val_; } const std::string& serviceName() const { return this->serviceName_; } std::string& serviceName() { return this->serviceName_; } void serviceName(const std::string& _val_) { this->serviceName_ = _val_; } void serviceName(std::string&& _val_) { this->serviceName_ = std::move(_val_); } uint8_t domain() const { return this->domain_; } uint8_t& domain() { return this->domain_; } void domain(uint8_t _val_) { this->domain_ = _val_; } bool isService() const { return this->isService_; } bool& isService() { return this->isService_; } void isService(bool _val_) { this->isService_ = _val_; } const std::string& moduleName() const { return this->moduleName_; } std::string& moduleName() { return this->moduleName_; } void moduleName(const std::string& _val_) { this->moduleName_ = _val_; } void moduleName(std::string&& _val_) { this->moduleName_ = std::move(_val_); } bool isReading() const { return this->isReading_; } bool& isReading() { return this->isReading_; } void isReading(bool _val_) { this->isReading_ = _val_; } const std::vector& openReaders() const { return this->openReaders_; } std::vector& openReaders() { return this->openReaders_; } void openReaders(const std::vector& _val_) { this->openReaders_ = _val_; } void openReaders(std::vector&& _val_) { this->openReaders_ = std::move(_val_); } bool isWriting() const { return this->isWriting_; } bool& isWriting() { return this->isWriting_; } void isWriting(bool _val_) { this->isWriting_ = _val_; } const std::vector& openWriters() const { return this->openWriters_; } std::vector& openWriters() { return this->openWriters_; } void openWriters(const std::vector& _val_) { this->openWriters_ = _val_; } void openWriters(std::vector&& _val_) { this->openWriters_ = std::move(_val_); } const std::string& clientName() const { return this->clientName_; } std::string& clientName() { return this->clientName_; } void clientName(const std::string& _val_) { this->clientName_ = _val_; } void clientName(std::string&& _val_) { this->clientName_ = std::move(_val_); } bool operator==(const ActorInfo& _other) const { (void) _other; return actorId_ == _other.actorId_ && session_ == _other.session_ && sequenceId_ == _other.sequenceId_ && serviceName_ == _other.serviceName_ && domain_ == _other.domain_ && isService_ == _other.isService_ && moduleName_ == _other.moduleName_ && isReading_ == _other.isReading_ && openReaders_ == _other.openReaders_ && isWriting_ == _other.isWriting_ && openWriters_ == _other.openWriters_ && clientName_ == _other.clientName_; } bool operator!=(const ActorInfo& _other) const { return !(*this == _other); } }; std::ostream& operator<<(std::ostream& os, ActorInfo const& rhs); } //namespace ddkit_intern #include "dds/topic/TopicTraits.hpp" #include "org/eclipse/cyclonedds/topic/datatopic.hpp" namespace org { namespace eclipse { namespace cyclonedds { namespace topic { template <> constexpr const char* TopicTraits<::ddkit_intern::ActorInfo>::getTypeName() { return "ddkit_intern::ActorInfo"; } template <> constexpr allowable_encodings_t TopicTraits<::ddkit_intern::ActorInfo>::allowableEncodings() { return 0x4u; } template <> constexpr bool TopicTraits<::ddkit_intern::ActorInfo>::isSelfContained() { return false; } template <> constexpr extensibility TopicTraits<::ddkit_intern::ActorInfo>::getExtensibility() { return extensibility::ext_mutable; } #ifdef DDSCXX_HAS_TYPELIB template<> constexpr unsigned int TopicTraits<::ddkit_intern::ActorInfo>::type_map_blob_sz() { return 1298; } template<> constexpr unsigned int TopicTraits<::ddkit_intern::ActorInfo>::type_info_blob_sz() { return 196; } template<> inline const uint8_t * TopicTraits<::ddkit_intern::ActorInfo>::type_map_blob() { alignas(4) static const uint8_t blob[] = { 0xb8, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xf1, 0x72, 0x2e, 0x3e, 0x87, 0xac, 0x62, 0x00, 0xb8, 0x27, 0x33, 0x47, 0x0f, 0x34, 0x6c, 0x00, 0xf4, 0x00, 0x00, 0x00, 0xf1, 0x51, 0x14, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x4c, 0x68, 0xcb, 0x0d, 0x31, 0x00, 0x70, 0x00, 0x4c, 0x68, 0xcb, 0xfd, 0x19, 0x00, 0x00, 0x00, 0x21, 0xd6, 0xf4, 0x0c, 0x01, 0x00, 0xf1, 0xfd, 0x84, 0xe4, 0x99, 0xf9, 0x0f, 0x4a, 0x2c, 0xfc, 0x18, 0x90, 0xa0, 0x2a, 0xad, 0x21, 0xd6, 0xf4, 0x0c, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x74, 0x78, 0x96, 0x02, 0x01, 0x00, 0x04, 0x74, 0x78, 0x96, 0x72, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0f, 0x09, 0x63, 0x08, 0x01, 0x00, 0x70, 0x00, 0x0f, 0x09, 0x63, 0x38, 0x0b, 0x00, 0x00, 0x00, 0xad, 0x5f, 0x82, 0x08, 0x01, 0x00, 0x02, 0xad, 0x5f, 0x82, 0xe8, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x3f, 0x6a, 0xde, 0x08, 0x01, 0x00, 0x01, 0x3f, 0x6a, 0xde, 0xb8, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x52, 0xa4, 0x3e, 0x08, 0x01, 0x00, 0x70, 0x00, 0x52, 0xa4, 0x3e, 0x48, 0x0b, 0x00, 0x00, 0x00, 0xd4, 0xd8, 0x7f, 0x07, 0x01, 0x00, 0x01, 0xd4, 0xd8, 0x7f, 0x17, 0x00, 0x11, 0x00, 0x00, 0x00, 0x07, 0xff, 0xf4, 0x0e, 0x01, 0x00, 0x80, 0xf3, 0x01, 0x00, 0x00, 0x70, 0x00, 0x07, 0xff, 0xf4, 0xbe, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x99, 0x05, 0xc3, 0x01, 0x01, 0x00, 0x01, 0x99, 0x05, 0xc3, 0x81, 0x00, 0x11, 0x00, 0x00, 0x00, 0x5e, 0x57, 0x02, 0x09, 0x01, 0x00, 0x80, 0xf3, 0x01, 0x00, 0x00, 0x70, 0x00, 0x5e, 0x57, 0x02, 0xf9, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x5b, 0x25, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x5b, 0x25, 0x74, 0xe0, 0xf1, 0xfd, 0x84, 0xe4, 0x99, 0xf9, 0x0f, 0x4a, 0x2c, 0xfc, 0x18, 0x90, 0xa0, 0x2a, 0xad, 0x00, 0x41, 0x00, 0x00, 0x00, 0xf1, 0x51, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x31, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0xd0, 0x6f, 0x6e, 0x0e, 0x01, 0x00, 0x70, 0x00, 0xd0, 0x6f, 0x6e, 0x6e, 0x19, 0x00, 0x00, 0x00, 0x50, 0x75, 0x14, 0x08, 0x01, 0x00, 0xf1, 0x3f, 0x49, 0x85, 0xf8, 0x8d, 0x46, 0xd9, 0xef, 0x6f, 0x82, 0xa8, 0xb4, 0x86, 0xbf, 0x50, 0x75, 0x14, 0x08, 0xf1, 0x3f, 0x49, 0x85, 0xf8, 0x8d, 0x46, 0xd9, 0xef, 0x6f, 0x82, 0xa8, 0xb4, 0x86, 0xbf, 0x44, 0x00, 0x00, 0x00, 0xf1, 0x51, 0x1c, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0xd9, 0x03, 0x44, 0x0a, 0x01, 0x00, 0x04, 0xd9, 0x03, 0x44, 0x2a, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x01, 0x85, 0x31, 0x06, 0x01, 0x00, 0x70, 0x00, 0x01, 0x85, 0x31, 0xa6, 0x0c, 0x00, 0x00, 0x00, 0xc1, 0xfd, 0x95, 0x04, 0x01, 0x00, 0x70, 0x00, 0xc1, 0xfd, 0x95, 0x24, 0xef, 0x02, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xf2, 0xef, 0x67, 0x7a, 0x82, 0x8a, 0x77, 0xb9, 0x41, 0x60, 0xfa, 0xa9, 0xcf, 0xa1, 0xfd, 0x00, 0xb5, 0x01, 0x00, 0x00, 0xf2, 0x51, 0x14, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x64, 0x64, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x3a, 0x3a, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x00, 0x89, 0x01, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x4c, 0x68, 0xcb, 0x0d, 0x31, 0x00, 0x70, 0x00, 0x08, 0x00, 0x00, 0x00, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x21, 0xd6, 0xf4, 0x0c, 0x01, 0x00, 0xf2, 0x33, 0x42, 0x71, 0x28, 0x5d, 0x1a, 0x79, 0x12, 0xf7, 0xd8, 0x03, 0x30, 0x9c, 0x80, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x74, 0x78, 0x96, 0x02, 0x01, 0x00, 0x04, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x0f, 0x09, 0x63, 0x08, 0x01, 0x00, 0x70, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0xad, 0x5f, 0x82, 0x08, 0x01, 0x00, 0x02, 0x00, 0x07, 0x00, 0x00, 0x00, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x3f, 0x6a, 0xde, 0x08, 0x01, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x52, 0xa4, 0x3e, 0x08, 0x01, 0x00, 0x70, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xd4, 0xd8, 0x7f, 0x07, 0x01, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x07, 0xff, 0xf4, 0x0e, 0x01, 0x00, 0x80, 0xf3, 0x01, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x6f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x99, 0x05, 0xc3, 0x01, 0x01, 0x00, 0x01, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x69, 0x73, 0x57, 0x72, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x5e, 0x57, 0x02, 0x09, 0x01, 0x00, 0x80, 0xf3, 0x01, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x6f, 0x70, 0x65, 0x6e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x5b, 0x25, 0x74, 0x00, 0x01, 0x00, 0x70, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x00, 0x00, 0x00, 0xf2, 0x33, 0x42, 0x71, 0x28, 0x5d, 0x1a, 0x79, 0x12, 0xf7, 0xd8, 0x03, 0x30, 0x9c, 0x80, 0x76, 0x00, 0x00, 0x00, 0xf2, 0x51, 0x1c, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x64, 0x64, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x3a, 0x3a, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xd0, 0x6f, 0x6e, 0x0e, 0x01, 0x00, 0x70, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x50, 0x75, 0x14, 0x08, 0x01, 0x00, 0xf2, 0xe3, 0xfb, 0xb0, 0x36, 0x02, 0x8b, 0x9d, 0xce, 0x24, 0x4d, 0xd7, 0xe3, 0x22, 0x36, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x00, 0x00, 0x00, 0xf2, 0xe3, 0xfb, 0xb0, 0x36, 0x02, 0x8b, 0x9d, 0xce, 0x24, 0x4d, 0xd7, 0xe3, 0x22, 0x36, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, 0x00, 0xf2, 0x51, 0x1c, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x64, 0x64, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x00, 0x00, 0x00, 0x57, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xd9, 0x03, 0x44, 0x0a, 0x01, 0x00, 0x04, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x64, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x01, 0x85, 0x31, 0x06, 0x01, 0x00, 0x70, 0x00, 0x09, 0x00, 0x00, 0x00, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0xc1, 0xfd, 0x95, 0x04, 0x01, 0x00, 0x70, 0x00, 0x09, 0x00, 0x00, 0x00, 0x70, 0x72, 0x6f, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x00, 0x00, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xf2, 0xef, 0x67, 0x7a, 0x82, 0x8a, 0x77, 0xb9, 0x41, 0x60, 0xfa, 0xa9, 0xcf, 0xa1, 0xfd, 0xf1, 0x72, 0x2e, 0x3e, 0x87, 0xac, 0x62, 0x00, 0xb8, 0x27, 0x33, 0x47, 0x0f, 0x34, 0x6c, 0xf2, 0x33, 0x42, 0x71, 0x28, 0x5d, 0x1a, 0x79, 0x12, 0xf7, 0xd8, 0x03, 0x30, 0x9c, 0x80, 0xf1, 0xfd, 0x84, 0xe4, 0x99, 0xf9, 0x0f, 0x4a, 0x2c, 0xfc, 0x18, 0x90, 0xa0, 0x2a, 0xad, 0xf2, 0xe3, 0xfb, 0xb0, 0x36, 0x02, 0x8b, 0x9d, 0xce, 0x24, 0x4d, 0xd7, 0xe3, 0x22, 0x36, 0xf1, 0x3f, 0x49, 0x85, 0xf8, 0x8d, 0x46, 0xd9, 0xef, 0x6f, 0x82, 0xa8, 0xb4, 0x86, 0xbf, }; return blob; } template<> inline const uint8_t * TopicTraits<::ddkit_intern::ActorInfo>::type_info_blob() { alignas(4) static const uint8_t blob[] = { 0xc0, 0x00, 0x00, 0x00, 0x01, 0x10, 0x00, 0x40, 0x58, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf1, 0x72, 0x2e, 0x3e, 0x87, 0xac, 0x62, 0x00, 0xb8, 0x27, 0x33, 0x47, 0x0f, 0x34, 0x6c, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf1, 0xfd, 0x84, 0xe4, 0x99, 0xf9, 0x0f, 0x4a, 0x2c, 0xfc, 0x18, 0x90, 0xa0, 0x2a, 0xad, 0x00, 0x45, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf1, 0x3f, 0x49, 0x85, 0xf8, 0x8d, 0x46, 0xd9, 0xef, 0x6f, 0x82, 0xa8, 0xb4, 0x86, 0xbf, 0x00, 0x48, 0x00, 0x00, 0x00, 0x02, 0x10, 0x00, 0x40, 0x58, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf2, 0xef, 0x67, 0x7a, 0x82, 0x8a, 0x77, 0xb9, 0x41, 0x60, 0xfa, 0xa9, 0xcf, 0xa1, 0xfd, 0x00, 0xb9, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf2, 0x33, 0x42, 0x71, 0x28, 0x5d, 0x1a, 0x79, 0x12, 0xf7, 0xd8, 0x03, 0x30, 0x9c, 0x80, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xf2, 0xe3, 0xfb, 0xb0, 0x36, 0x02, 0x8b, 0x9d, 0xce, 0x24, 0x4d, 0xd7, 0xe3, 0x22, 0x36, 0x00, 0x87, 0x00, 0x00, 0x00, }; return blob; } #endif //DDSCXX_HAS_TYPELIB } //namespace topic } //namespace cyclonedds } //namespace eclipse } //namespace org namespace dds { namespace topic { template <> struct topic_type_name<::ddkit_intern::ActorInfo> { static std::string value() { return org::eclipse::cyclonedds::topic::TopicTraits<::ddkit_intern::ActorInfo>::getTypeName(); } }; } } REGISTER_TOPIC_TYPE(::ddkit_intern::ActorInfo) namespace org{ namespace eclipse{ namespace cyclonedds{ namespace core{ namespace cdr{ template<> const propvec &get_type_props<::ddkit_intern::Process>(); namespace { static const volatile propvec &properties___ddkit_intern__Process = get_type_props<::ddkit_intern::Process>(); } template::value, bool> = true > bool write(T& streamer, const ::ddkit_intern::Process& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 172229593: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.processId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 103908609: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.hostName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 76938689: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.procName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool read(T& streamer, ::ddkit_intern::Process& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 172229593: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.processId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 103908609: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.hostName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 76938689: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.procName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool move(T& streamer, const ::ddkit_intern::Process& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 172229593: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.processId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 103908609: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.hostName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 76938689: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.procName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool max(T& streamer, const ::ddkit_intern::Process& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 172229593: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.processId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 103908609: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.hostName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 76938689: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.procName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template<> const propvec &get_type_props<::ddkit_intern::Session>(); namespace { static const volatile propvec &properties___ddkit_intern__Session = get_type_props<::ddkit_intern::Session>(); } template::value, bool> = true > bool write(T& streamer, const ::ddkit_intern::Session& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 242118608: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.sessionId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 135558480: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.process(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool read(T& streamer, ::ddkit_intern::Session& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 242118608: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.sessionId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 135558480: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.process(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool move(T& streamer, const ::ddkit_intern::Session& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 242118608: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.sessionId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 135558480: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.process(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool max(T& streamer, const ::ddkit_intern::Session& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 242118608: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.sessionId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 135558480: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.process(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template<> const propvec &get_type_props<::ddkit_intern::ActorInfo>(); namespace { static const volatile propvec &properties___ddkit_intern__ActorInfo = get_type_props<::ddkit_intern::ActorInfo>(); } template::value, bool> = true > bool write(T& streamer, const ::ddkit_intern::ActorInfo& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 231434316: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.actorId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 217372193: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.session(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 43415668: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.sequenceId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 140708111: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.serviceName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 142761901: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.domain())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 148793919: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.isService())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 138323026: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.moduleName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 125819092: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.isReading())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 250937095: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openReaders().size()); if (!write(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!write_string(streamer, instance.openReaders()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 29558169: if (!streamer.start_member(*prop)) return false; if (!write(streamer, instance.isWriting())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 151148382: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openWriters().size()); if (!write(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!write_string(streamer, instance.openWriters()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 7611739: if (!streamer.start_member(*prop)) return false; if (!write_string(streamer, instance.clientName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool write(S& str, const ::ddkit_intern::ActorInfo& instance, key_mode key) { const auto &props = get_type_props<::ddkit_intern::ActorInfo>(); str.set_mode(cdr_stream::stream_mode::write, key); return write(str, instance, props.data()); } template::value, bool> = true > bool read(T& streamer, ::ddkit_intern::ActorInfo& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 231434316: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.actorId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 217372193: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.session(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 43415668: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.sequenceId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 140708111: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.serviceName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 142761901: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.domain())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 148793919: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.isService())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 138323026: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.moduleName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 125819092: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.isReading())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 250937095: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openReaders().size()); if (!read(streamer, se_1)) return false; instance.openReaders().resize(se_1); for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!read_string(streamer, instance.openReaders()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 29558169: if (!streamer.start_member(*prop)) return false; if (!read(streamer, instance.isWriting())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 151148382: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openWriters().size()); if (!read(streamer, se_1)) return false; instance.openWriters().resize(se_1); for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!read_string(streamer, instance.openWriters()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 7611739: if (!streamer.start_member(*prop)) return false; if (!read_string(streamer, instance.clientName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool read(S& str, ::ddkit_intern::ActorInfo& instance, key_mode key) { const auto &props = get_type_props<::ddkit_intern::ActorInfo>(); str.set_mode(cdr_stream::stream_mode::read, key); return read(str, instance, props.data()); } template::value, bool> = true > bool move(T& streamer, const ::ddkit_intern::ActorInfo& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 231434316: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.actorId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 217372193: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.session(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 43415668: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.sequenceId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 140708111: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.serviceName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 142761901: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.domain())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 148793919: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.isService())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 138323026: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.moduleName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 125819092: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.isReading())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 250937095: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openReaders().size()); if (!move(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!move_string(streamer, instance.openReaders()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 29558169: if (!streamer.start_member(*prop)) return false; if (!move(streamer, instance.isWriting())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 151148382: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = uint32_t(instance.openWriters().size()); if (!move(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!move_string(streamer, instance.openWriters()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 7611739: if (!streamer.start_member(*prop)) return false; if (!move_string(streamer, instance.clientName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool move(S& str, const ::ddkit_intern::ActorInfo& instance, key_mode key) { const auto &props = get_type_props<::ddkit_intern::ActorInfo>(); str.set_mode(cdr_stream::stream_mode::move, key); return move(str, instance, props.data()); } template::value, bool> = true > bool max(T& streamer, const ::ddkit_intern::ActorInfo& instance, const entity_properties_t *props) { (void)instance; member_id_set member_ids; if (!streamer.start_struct(*props)) return false; auto prop = streamer.first_entity(props); while (prop) { switch (prop->m_id) { case 231434316: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.actorId(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 217372193: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.session(), prop)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 43415668: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.sequenceId())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 140708111: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.serviceName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 142761901: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.domain())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 148793919: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.isService())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 138323026: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.moduleName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 125819092: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.isReading())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 250937095: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = 0; if (!max(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!max_string(streamer, instance.openReaders()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; streamer.position(SIZE_MAX); if (!streamer.finish_member(*prop, member_ids)) return false; break; case 29558169: if (!streamer.start_member(*prop)) return false; if (!max(streamer, instance.isWriting())) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; case 151148382: if (!streamer.start_member(*prop)) return false; if (!streamer.start_consecutive(false, false)) return false; { uint32_t se_1 = 0; if (!max(streamer, se_1)) return false; for (uint32_t i_1 = 0; i_1 < se_1; i_1++) { if (!max_string(streamer, instance.openWriters()[i_1], 0)) return false; } //i_1 } //end sequence 1 if (!streamer.finish_consecutive()) return false; streamer.position(SIZE_MAX); if (!streamer.finish_member(*prop, member_ids)) return false; break; case 7611739: if (!streamer.start_member(*prop)) return false; if (!max_string(streamer, instance.clientName(), 0)) return false; if (!streamer.finish_member(*prop, member_ids)) return false; break; } prop = streamer.next_entity(prop); } return streamer.finish_struct(*props, member_ids); } template::value, bool> = true > bool max(S& str, const ::ddkit_intern::ActorInfo& instance, key_mode key) { const auto &props = get_type_props<::ddkit_intern::ActorInfo>(); str.set_mode(cdr_stream::stream_mode::max, key); return max(str, instance, props.data()); } } //namespace cdr } //namespace core } //namespace cyclonedds } //namespace eclipse } //namespace org #endif // DDSCXX_ACTORINFO_HPP_6845C11245DB8902A287EAC111400CBA