Skip to content
Snippets Groups Projects
Select Git revision
  • 27f4f4f782844bd5fc284700d4978ace3e1a046d
  • main default protected
  • Kelvinrr-patch-3
  • radius_update
  • revert-616-apollo_pan
  • vims
  • 0.10
  • Kelvinrr-patch-2
  • revert-563-minirf_fix
  • Kelvinrr-patch-1
  • 0.9
  • acpaquette-patch-3
  • acpaquette-patch-2
  • acpaquette-patch-1
  • spiceql
  • ci-coverage
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.7
  • 0.8.8
  • 0.8.6
  • 0.8.3
  • 0.8.4
  • 0.8.5
  • 0.8.2
  • 0.8.1
  • 0.8.0
  • 0.7.3
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
36 results

conf.py

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*/