redhawksdr - RH support for frontend::OutDigitalTunerPort appears missing most FEI functions -


i have component uses frontend::outdigitaltunerport make fei calls rh device. here generated code in xxx_base.cpp:

device_fei_out = new frontend::outdigitaltunerport("device_fei_out"); addport("device_fei_out", device_fei_out); 

here sample usage compiles properly: device_fei_out->settuneroutputsamplerate(id, freq);

here sample usage not compile: device_fei_out->settunercenterfrequency(id);

apparently fei call not defined in appropriate template definitions - compile bug points /usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h.

looking @ code - can see working fei call above defined in following classes: outdigitaltunerportt digital_tuner_delegation

where other "set" fei functions defined in: outanalogtunerportt analog_tuner_delegation

so mean frontend::outdigitaltunerport supports 1 "set" function ? how else can make fei calls rh device ?

below 1 of compile error details - there similar 'operator !=' :

/usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h:329: error: no match ‘operator=’ in ‘i = ((frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>*)this)->frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendport<_corba_objref_var, frontend::digitaltuner>::outconnections.std::vector<_tp, _alloc>::begin _tp = std::pair<_corba_objref_var, std::basic_string, std::allocator > >, _alloc = std::allocator, std::basic_string, std::allocator > > >’

double freq=0.5; std::string id1("usrp-to-wavemaster"); device_fei_out->settunercenterfrequency(id1, freq); 

/usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h: in member function ‘void frontend::outanalogtunerportt::settunercenterfrequency(std::string&, double) [with porttype_var = _corba_objref_var, porttype = frontend::digitaltuner]’: waveformmaster.cpp:124: instantiated here /usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h:329: error: no match ‘operator=’ in ‘i = ((frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>)this)->frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendport<_corba_objref_var, frontend::digitaltuner>::outconnections.std::vector<_tp, _alloc>::begin _tp = std::pair<_corba_objref_var, std::basic_string, std::allocator > >, _alloc = std::allocator, std::basic_string, std::allocator > > >’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_iterator.h:669: note: candidates are: __gnu_cxx::__normal_iterator, std::basic_string, std::allocator > >, std::vector, std::basic_string, std::allocator > >, std::allocator, std::basic_string, std::allocator > > > > >& __gnu_cxx::__normal_iterator, std::basic_string, std::allocator > >, std::vector, std::basic_string, std::allocator > >, std::allocator, std::basic_string, std::allocator > > > > >::operator=(const __gnu_cxx::__normal_iterator, std::basic_string, std::allocator > >, std::vector, std::basic_string, std::allocator > >, std::allocator, std::basic_string, std::allocator > > > > >&) waveformmaster.cpp:124: instantiated here /usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h:329: error: no match ‘operator!=’ in ‘i != ((frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>*)this)->frontend::outanalogtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendtunerportt<_corba_objref_var, frontend::digitaltuner>::.frontend::outfrontendport<_corba_objref_var, frontend::digitaltuner>::outconnections.std::vector<_tp, _alloc>::end _tp = std::pair<_corba_objref_var, std::basic_string, std::allocator > >, _alloc = std::allocator, std::basic_string, std::allocator > > >’ /usr/include/omniorb4/fixed.h:57: note: candidates are: corba::boolean operator!=(const corba::fixed&, const corba::fixed&) /usr/local/redhawk/core/include/bulkio/bulkio_out_port.h:718: note: bool operator!=(const bulkio::connection_descriptor_struct&, const bulkio::connection_descriptor_struct&) /usr/local/redhawk/core/include/frontend/fe_tuner_struct_props.h:116: note: bool operator!=(const frontend::frontend_tuner_allocation_struct&, const frontend::frontend_tuner_allocation_struct&) /usr/local/redhawk/core/include/frontend/fe_tuner_struct_props.h:173: note: bool operator!=(const frontend::frontend_listener_allocation_struct&, const frontend::frontend_listener_allocation_struct&) /usr/local/redhawk/core/include/frontend/fe_tuner_struct_props.h:272: note: bool operator!=(const frontend::default_frontend_tuner_status_struct_struct&, const frontend::default_frontend_tuner_status_struct_struct&) /usr/local/redhawk/core/include/frontend/fe_tuner_struct_props.h:308: note: bool operator!=(const std::vector >&, const std::vector >&) /usr/local/redhawk/core/include/frontend/fe_tuner_port_impl.h: in member function ‘void frontend::outanalogtunerportt::settunerbandwidth(std::string&, double) [with porttype_var = _corba_objref_var, porttype = frontend::digitaltuner]’:

  1. the settunercenterfrequency(..) function takes in 2 arguments (std::string& id, double freq), calling id, might cause of compile problem. if not cause of problem, please provide more details of source code , error output along redhawk version using.

  2. outdigitaltunerport supports all outanalogtunerportt functions. outdigitaltunerport inherits outdigitaltunerportt inherits outanalogtunerportt (so yes, has functions of outanalogtunerport plus addition of gettuneroutputsamplerate , settuneroutputsamplerate functions).


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -