25Transport::Transport() {
28 intra_dispatcher_ = IntraDispatcher::Instance();
29 shm_dispatcher_ = ShmDispatcher::Instance();
30 rtps_dispatcher_ = RtpsDispatcher::Instance();
37 if (is_shutdown_.exchange(
true)) {
46 if (participant_ !=
nullptr) {
47 participant_->Shutdown();
48 participant_ =
nullptr;
52void Transport::CreateParticipant() {
53 std::string participant_name =
54 common::GlobalData::Instance()->HostName() +
"+" +
55 std::to_string(common::GlobalData::Instance()->ProcessId());
56 participant_ = std::make_shared<Participant>(participant_name, 11512);
virtual void Shutdown()=0
static NotifierPtr CreateNotifier()
void set_participant(const ParticipantPtr &participant)