1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-23 10:34:52 +00:00

Code cleaning

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@267 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Carles Fernandez
2012-10-28 13:20:55 +00:00
parent df984c282b
commit 25a30e3851
8 changed files with 7 additions and 75 deletions

View File

@@ -9,7 +9,7 @@
*
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2011 (see AUTHORS file for a list of contributors)
* Copyright (C) 2010-2012 (see AUTHORS file for a list of contributors)
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
@@ -48,14 +48,12 @@ class ConfigurationInterface;
*/
class ControlThread
{
public:
/*!
* \brief Default constructor
*/
ControlThread();
/*!
* \brief Constructor that initializes the class with parameters
*
@@ -63,7 +61,6 @@ public:
*/
ControlThread(ConfigurationInterface *configuration);
//! \brief Virtual destructor. Derived classes must implement the destructor
virtual ~ControlThread();
@@ -107,21 +104,17 @@ public:
private:
void init();
void read_control_messages();
void process_control_messages();
void apply_action(unsigned int what);
GNSSFlowgraph *flowgraph_;
ConfigurationInterface *configuration_;
gr_msg_queue_sptr control_queue_;
ControlMessageFactory *control_message_factory_;
std::vector<ControlMessage*> *control_messages_;
bool stop_;
bool delete_configuration_;
unsigned int processed_control_messages_;
unsigned int applied_actions_;
boost::thread keyboard_thread_;