~ubuntu-branches/ubuntu/raring/ginkgocadx/raring-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/controllers/controladorenviohl7.h

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2011-09-09 08:39:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: package-import@ubuntu.com-20110909083926-iktecd132cnku5cd
Tags: 2.5.4.0~rc-1
New upstream version (patches were applied)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  
3
 
 *  $Id: controladorenviohl7.h 3787 2011-04-29 06:38:01Z tovar $
 
3
 *  $Id: controladorenviohl7.h 4099 2011-08-29 11:27:03Z tovar $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
13
13
 */
14
14
#pragma once
15
15
#include <api/api.h>
 
16
#include <api/icontroladoreventos.h>
16
17
#include <api/icontroladorhl7.h>
17
18
#include <wx/thread.h>
18
19
 
21
22
 
22
23
namespace GIL {
23
24
        namespace HL7 {
24
 
                class EXTAPI ControladorEnvioHl7:  protected wxThread
 
25
                class EXTAPI ControladorEnvioHl7:  protected wxThread, public GNC::GCS::IObservador
25
26
                {
26
27
                public:
27
28
                        static void FreeInstance();
39
40
 
40
41
                        virtual void* Entry();
41
42
 
42
 
                        /* Envia el mensaje por MLLP */
43
 
                        void EnviarMensajeMLLP(const std::string& msg, const std::string& url, bool procesarACK=true, const std::string& msgControlId="") const;
44
 
 
45
 
                        bool ProcesarMensajes();
46
 
                        
 
43
                        virtual void ProcesarEvento(GNC::GCS::Eventos::IEvento *evt) ;
 
44
                        wxSemaphore             m_semaphore;
47
45
                        bool m_Abortado;
48
46
                };
49
47
        }