/// <summary> /// Delete the DomainParticipant. /// </summary> public void deleteParticipant() { status = dpf.DeleteParticipant(participant); ErrorHandler.checkStatus(status, "DomainParticipantFactory.DeleteParticipant"); }
/// <summary> /// Deletes the class's Subscriber /// </summary> public void deleteSubscriber() { status = participant.DeleteSubscriber(subscriber); ErrorHandler.checkStatus(status, "Participant.DeleteSubscriber"); }
/// <summary> /// Method to delete a data writer. /// </summary> /// <param name="dataWriter">The DataWriter instance to delete.</param> public void deleteWriter(IDataWriter dataWriter) { status = publisher.DeleteDataWriter(dataWriter); ErrorHandler.checkStatus(status, "Publisher.DeleteDataWriter"); }
/// <summary> /// Delete a Publisher /// </summary> public void deletePublisher() { status = participant.DeletePublisher(publisher); ErrorHandler.checkStatus(status, "DomainParticipant.DeletePublisher"); }
/// <summary> /// Delete the Topic /// </summary> public void deleteTopic() { status = participant.DeleteTopic(topic); ErrorHandler.checkStatus( status, "DDS.DomainParticipant.DeleteTopic"); }
/// <summary> /// Register the type we are interested with the DDS Infrastructure /// </summary> /// <param name="ts">The TypeSupport class</param> public void registerType(ITypeSupport ts) { typeName = ts.TypeName; status = ts.RegisterType(participant, typeName); ErrorHandler.checkStatus(status, "ITypeSupport.RegisterType"); }