#include <TypeSupportImpl.h>
Inheritance diagram for OpenDDS::DCPS::TypeSupportImpl:
Public Member Functions | |
TypeSupportImpl () | |
virtual | ~TypeSupportImpl () |
virtual const MetaStruct & | getMetaStructForType ()=0 |
virtual DDS::ReturnCode_t | register_type (DDS::DomainParticipant_ptr participant, const char *type_name) |
virtual char * | get_type_name () |
Private Member Functions | |
virtual const char * | default_type_name () const =0 |
Private Attributes | |
CORBA::String_var | type_name_ |
Definition at line 27 of file TypeSupportImpl.h.
OpenDDS::DCPS::TypeSupportImpl::TypeSupportImpl | ( | ) | [inline] |
OpenDDS::DCPS::TypeSupportImpl::~TypeSupportImpl | ( | ) | [virtual] |
virtual const char* OpenDDS::DCPS::TypeSupportImpl::default_type_name | ( | ) | const [private, pure virtual] |
char * OpenDDS::DCPS::TypeSupportImpl::get_type_name | ( | ) | [virtual] |
Definition at line 35 of file TypeSupportImpl.cpp.
References default_type_name(), CORBA::string_dup(), and type_name_.
Referenced by register_type().
00036 { 00037 if (type_name_.in() == 0) { 00038 return CORBA::string_dup(default_type_name()); 00039 } else { 00040 return CORBA::string_dup(type_name_.in()); 00041 } 00042 }
virtual const MetaStruct& OpenDDS::DCPS::TypeSupportImpl::getMetaStructForType | ( | ) | [pure virtual] |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< MessageType >.
Referenced by OpenDDS::DCPS::DataWriterImpl::filter_out().
DDS::ReturnCode_t OpenDDS::DCPS::TypeSupportImpl::register_type | ( | DDS::DomainParticipant_ptr | participant, | |
const char * | type_name | |||
) | [virtual] |
Definition at line 21 of file TypeSupportImpl.cpp.
References get_type_name(), Registered_Data_Types, and type_name_.
00023 { 00024 if (type_name == 0 || type_name[0] == '\0') { 00025 this->type_name_ = this->get_type_name(); 00026 } else { 00027 this->type_name_ = type_name; 00028 } 00029 00030 return Registered_Data_Types->register_type(participant, 00031 this->type_name_.in(), this); 00032 }
CORBA::String_var OpenDDS::DCPS::TypeSupportImpl::type_name_ [private] |
Definition at line 46 of file TypeSupportImpl.h.
Referenced by get_type_name(), and register_type().