1 #include "BuilderProcess.h"
3 #include "dds/DCPS/Service_Participant.h"
7 BuilderProcess::BuilderProcess(const ProcessConfig
& config
)
8 : config_sections_(std::make_shared
<ConfigSectionManager
>(config
.name
.in(), config
.config_sections
))
9 , participants_(std::make_shared
<ParticipantManager
>(config
.participants
, report_
.participants
, reader_map_
, writer_map_
, cft_map_
))
13 BuilderProcess::~BuilderProcess()
19 participants_
.reset();
20 TheServiceParticipant
->shutdown();
21 config_sections_
.reset();
24 void BuilderProcess::detach_listeners()
26 participants_
->detach_listeners();
29 bool BuilderProcess::enable_dds_entities(bool throw_on_error
)
31 return participants_
->enable(throw_on_error
);