mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	fixing some errors on compiling the gn3s signal source
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@396 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
		| @@ -39,16 +39,14 @@ | ||||
| using google::LogMessage; | ||||
|  | ||||
| Gn3sSignalSource::Gn3sSignalSource(ConfigurationInterface* configuration, | ||||
|         std::string role, unsigned int in_stream, unsigned int out_stream, gr::blocks::file_sink::sptr queue) : | ||||
|         std::string role, unsigned int in_stream, unsigned int out_stream, gr::msg_queue::sptr queue) : | ||||
|         role_(role), in_stream_(in_stream), out_stream_(out_stream), queue_(queue) | ||||
| { | ||||
|     std::string default_item_type = "short"; | ||||
|     std::string default_dump_file = "./data/gn3s_source.dat"; | ||||
|     item_type_ = configuration->property(role + ".item_type", | ||||
|             default_item_type); | ||||
|     item_type_ = configuration->property(role + ".item_type", default_item_type); | ||||
|     dump_ = configuration->property(role + ".dump", false); | ||||
|     dump_filename_ = configuration->property(role + ".dump_filename", | ||||
|             default_dump_file); | ||||
|     dump_filename_ = configuration->property(role + ".dump_filename", default_dump_file); | ||||
|  | ||||
|     if (item_type_.compare("gr_complex") == 0) | ||||
|         { | ||||
|   | ||||
| @@ -35,6 +35,7 @@ | ||||
| #include <gnuradio/hier_block2.h> | ||||
| #include "gnss_block_interface.h" | ||||
| #include <gnuradio/msg_queue.h> | ||||
| #include <gnuradio/blocks/file_sink.h> | ||||
|  | ||||
| class ConfigurationInterface; | ||||
|  | ||||
| @@ -46,7 +47,7 @@ class Gn3sSignalSource: public GNSSBlockInterface | ||||
| public: | ||||
| 	Gn3sSignalSource(ConfigurationInterface* configuration, | ||||
|             std::string role, unsigned int in_stream, | ||||
|             unsigned int out_stream, boost::shared_ptr<gr::msg_queue> queue); | ||||
|             unsigned int out_stream, gr::msg_queue::sptr queue); | ||||
|  | ||||
|     virtual ~Gn3sSignalSource(); | ||||
|     std::string role() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez