Closed daggarwa closed 5 years ago
https://github.com/ApexAI/performance_test/blob/master/performance_test/src/communication_abstractions/fast_rtps_communicator.hpp#L172 throws a compilation issue
Starting >>> performance_test --- stderr: performance_test In file included from /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:25:0: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array1k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array1k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array1k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array1k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/7/bits/shared_ptr.h:706:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1k> >; _Args = {const performance_test::RunType&}]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array1k]’ /usr/include/boost/mpl/for_each.hpp:78:26: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function wparam.times.heartbeatPeriod.fraction(200 * 1000 * 1000); ^~~~~~ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array4k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array4k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array4k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array4k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array4k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array4k]’ /usr/include/boost/mpl/for_each.hpp:78:26: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array16k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array16k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array16k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array16k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array16k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array16k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array32k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array32k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array32k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array32k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array32k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array32k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array60k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array60k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array60k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array60k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array60k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array60k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array1m; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array1m_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array1m>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array1m>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array1m> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array1m]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Array2m; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Array2m_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array2m>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Array2m>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Array2m> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Array2m]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Struct16; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Struct16_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct16>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct16>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct16> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Struct16]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Struct256; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Struct256_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct256>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct256>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct256> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Struct256]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Struct4k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Struct4k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct4k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Struct4k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Struct32k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Struct32k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Struct32k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Struct32k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::PointCloud512k; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::PointCloud512k_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud512k> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::PointCloud512k]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::PointCloud1m; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::PointCloud1m_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud1m> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::PointCloud1m]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::PointCloud2m; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::PointCloud2m_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud2m> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::PointCloud2m]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::PointCloud4m; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::PointCloud4m_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::PointCloud4m> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::PointCloud4m]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::Range; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::Range_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Range>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::Range>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::Range> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::Range]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::NavSatFix; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::NavSatFix_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::NavSatFix> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::NavSatFix]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::RadarDetection; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::RadarDetection_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarDetection> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::RadarDetection]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp: In instantiation of ‘void performance_test::FastRTPSCommunicator<Topic>::publish(performance_test::FastRTPSCommunicator<Topic>::DataType&, std::chrono::nanoseconds) [with Topic = performance_test::topics::RadarTrack; performance_test::FastRTPSCommunicator<Topic>::DataType = performance_test_msgs::msg::dds_::RadarTrack_; std::chrono::nanoseconds = std::chrono::duration<long int, std::ratio<1, 1000000000> >]’: /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:144:9: required from ‘void performance_test::DataRunner<TCommunicator>::thread_function() [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner.hpp:48:24: required from ‘performance_test::DataRunner<TCommunicator>::DataRunner(performance_test::RunType) [with TCommunicator = performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack>]’ /usr/include/c++/7/ext/new_allocator.h:136:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> >]’ /usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> >; _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> >; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> > >]’ /usr/include/c++/7/bits/shared_ptr_base.h:526:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {const performance_test::RunType&}; _Tp = performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> >; _Alloc = std::allocator<performance_test::DataRunner<performance_test::FastRTPSCommunicator<performance_test::topics::RadarTrack> > >; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/7/bits/shared_ptr_base.h:637:4: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:59:70: required from ‘performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)> [with auto:9 = performance_test::topics::RadarTrack]’ /usr/include/boost/mpl/for_each.hpp:82:22: recursively required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list18<performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:82:22: required from ‘static void boost::mpl::aux::for_each_impl<false>::execute(Iterator*, LastIterator*, TransformFunc*, F) [with Iterator = boost::mpl::l_iter<boost::mpl::list19<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack> >; LastIterator = boost::mpl::l_iter<boost::mpl::l_end>; TransformFunc = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:105:18: required from ‘void boost::mpl::for_each(F, Sequence*, TransformOp*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; TransformOp = boost::mpl::identity<mpl_::na>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /usr/include/boost/mpl/for_each.hpp:118:46: required from ‘void boost::mpl::for_each(F, Sequence*) [with Sequence = boost::mpl::list<performance_test::topics::Array1k, performance_test::topics::Array4k, performance_test::topics::Array16k, performance_test::topics::Array32k, performance_test::topics::Array60k, performance_test::topics::Array1m, performance_test::topics::Array2m, performance_test::topics::Struct16, performance_test::topics::Struct256, performance_test::topics::Struct4k, performance_test::topics::Struct32k, performance_test::topics::PointCloud512k, performance_test::topics::PointCloud1m, performance_test::topics::PointCloud2m, performance_test::topics::PointCloud4m, performance_test::topics::Range, performance_test::topics::NavSatFix, performance_test::topics::RadarDetection, performance_test::topics::RadarTrack>; F = performance_test::DataRunnerFactory::get(const string&, performance_test::CommunicationMean, performance_test::RunType)::<lambda(auto:9)>]’ /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/data_runner_factory.cpp:71:6: required from here /home/divya.aggarwal/perf_test_ws/src/performance_test/performance_test/src/data_running/../communication_abstractions/fast_rtps_communicator.hpp:172:7: error: expression cannot be used as a function make[2]: *** [CMakeFiles/perf_test.dir/src/data_running/data_runner_factory.cpp.o] Error 1 make[1]: *** [CMakeFiles/perf_test.dir/all] Error 2 make: *** [all] Error 2 --- Failed <<< performance_test [ Exited with code 2 ] Summary: 0 packages finished [13.9s] 1 package failed: performance_test 1 package had stderr output: performance_test
Changing the line back to : https://github.com/ApexAI/performance_test/commit/6ae8375fa1e3111cb6fa60bdd1d42b9b9f370372#diff-525f0d358deb986f4bb13559012ae21cL172 resolves the compilation.
Closing this issue since it seems to be a problem with our internal environment.
https://github.com/ApexAI/performance_test/blob/master/performance_test/src/communication_abstractions/fast_rtps_communicator.hpp#L172 throws a compilation issue
Changing the line back to : https://github.com/ApexAI/performance_test/commit/6ae8375fa1e3111cb6fa60bdd1d42b9b9f370372#diff-525f0d358deb986f4bb13559012ae21cL172 resolves the compilation.