| 46 | } |
| 47 | |
| 48 | DDS::Topic* |
| 49 | OpenDDS::Model::Delegate::createTopic( |
| 50 | DDS::DomainParticipant* participant, |
| 51 | const OPENDDS_STRING& topicName, |
| 52 | const OPENDDS_STRING& typeName, |
| 53 | const DDS::TopicQos& topicQos, |
| 54 | DDS::StatusMask mask) |
| 55 | { |
| 56 | DDS::Topic* topic |
| 57 | = participant->create_topic( |
| 58 | topicName.c_str(), |
| 59 | typeName.c_str(), |
| 60 | topicQos, |
| 61 | DDS::TopicListener::_nil(), |
| 62 | mask |
| 63 | ); |
| 64 | return topic; |
| 65 | } |
| 66 | |
| 67 | DDS::Publisher* |
| 68 | OpenDDS::Model::Delegate::createPublisher( |