| 9 | #include "ace/OS_NS_unistd.h" |
| 10 | |
| 11 | Pusher::Pusher(const Factory& f, |
| 12 | const DDS::DomainParticipantFactory_var& factory, |
| 13 | const DDS::DomainParticipant_var& participant, |
| 14 | const DDS::DataWriterListener_var& listener) : |
| 15 | dpf(factory), |
| 16 | dp(participant), |
| 17 | pub(f.publisher(dp)), |
| 18 | topic(f.topic(dp)), |
| 19 | writer_(f.writer(pub, topic, listener)) |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | Pusher::Pusher(const Factory& f, |
| 24 | const DDS::DomainParticipantFactory_var& factory, |