Skip to content
Snippets Groups Projects
Select Git revision
  • b63f22052ed9da33cb7777b2887825dd948f7a58
  • master default protected
  • v4.5.2
  • v4.5.1
  • v4.5.0
  • v4.4.0
  • v4.3.3
  • v4.3.2
  • v4.3.1
  • v4.3.0
  • v4.2.0
  • v4.1.0
  • v4.0.2
  • v4.0.1
  • v4.0.0
  • v3.4.0
  • v3.3.0
  • v3.2.0
  • v3.1.1
  • v3.1.0
  • v3.0.1
  • v3.0.0
22 results

ConfigurationFile.cpp

Blame
  • WorkerThread.h 1.65 KiB
    #ifndef WORKER_THREAD_H
    #define WORKER_THREAD_H
    
    #include <Configuration.h>
    #include <EventBuffer.h>
    #include <ScriptManager.h>
    
    #include <tango.h>
    
    #include <boost/shared_ptr.hpp>
    #include <boost/filesystem.hpp>
    
    namespace PreProcessor_ns
    {
    
    class PreProcessor;
    
    class WorkerThread : public Tango::LogAdapter
    {
    public:
    //------------------------------------------------------------------------------
    //	[Public] Constructor destructor
    //------------------------------------------------------------------------------
    	WorkerThread(PreProcessor*, EventBuffer::SP,
            ScriptManager::SP, Configuration::SP);
    
    	virtual ~WorkerThread();
    
    //------------------------------------------------------------------------------
    //	[Public] Users method
    //------------------------------------------------------------------------------
    	virtual void workerLoop();
    
    protected:
    //------------------------------------------------------------------------------
    //	[Protected] Utilities methods
    //------------------------------------------------------------------------------
        virtual void copyToDestination(boost::filesystem::path&)
            throw (std::runtime_error);
    
    //------------------------------------------------------------------------------
    //	[Protected] Class variables
    //------------------------------------------------------------------------------
        //Tango server class pointer
        PreProcessor* m_preProcessor_p;
    
    	//Event buffer shared pointer
    	EventBuffer::SP m_eventBuffer_sp;
    
        //File manager shared pointer
        ScriptManager::SP m_fileManager_sp;
    
    	//Configuration shared pointer
    	Configuration::SP m_configuration_sp;
    };
    
    }   //End of namespace
    
    #endif /*!WORKER_THREAD_H*/