| 129 | |
| 130 | template< typename ModelName, class InstanceTraits> |
| 131 | inline |
| 132 | void |
| 133 | OpenDDS::Model::Service< ModelName, InstanceTraits>::createTopicDescription( |
| 134 | typename Participants::Values participant, |
| 135 | typename Topics::Values topic |
| 136 | ) |
| 137 | { |
| 138 | #ifndef OPENDDS_NO_CONTENT_FILTERED_TOPIC |
| 139 | typename ContentFilteredTopics::Values cfTopic = |
| 140 | this->modelData_.contentFilteredTopic(topic); |
| 141 | #endif |
| 142 | #ifndef OPENDDS_NO_MULTI_TOPIC |
| 143 | typename MultiTopics::Values multiTopic = |
| 144 | this->modelData_.multiTopic(topic); |
| 145 | #endif |
| 146 | #ifndef OPENDDS_NO_CONTENT_FILTERED_TOPIC |
| 147 | // If this is a content-filtered topic |
| 148 | if (cfTopic != ContentFilteredTopics::LAST_INDEX) { |
| 149 | createContentFilteredTopic(participant, topic, cfTopic); |
| 150 | // Else if this is a multitopic |
| 151 | } else |
| 152 | #endif |
| 153 | #ifndef OPENDDS_NO_MULTI_TOPIC |
| 154 | if (multiTopic != MultiTopics::LAST_INDEX) { |
| 155 | createMultiTopic(participant, topic, multiTopic); |
| 156 | // Else this is a standard topic |
| 157 | } else |
| 158 | #endif |
| 159 | { |
| 160 | createTopic(participant, topic); |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | template< typename ModelName, class InstanceTraits> |
| 165 | inline |
no test coverage detected