// $Id: Runnable_exec_i.h 86021 2009-07-14 12:14:35Z wotte $
//
// ****              Code generated by the                 ****
// ****  Component Integrated ACE ORB (CIAO) CIDL Compiler ****
// CIAO has been developed by:
//       Center for Distributed Object Computing
//       Washington University
//       St. Louis, MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// CIDL Compiler has been developed by:
//       Institute for Software Integrated Systems
//       Vanderbilt University
//       Nashville, TN
//       USA
//       http://www.isis.vanderbilt.edu/
//
// Information about CIAO is available at:
//    http://www.dre.vanderbilt.edu/CIAO

#ifndef CIAO_RUNNABLE_EXEC_H
#define CIAO_RUNNABLE_EXEC_H

#include /**/ "ace/pre.h"

#include "Messenger_svnt.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "Messenger_exec_export.h"

// MY CODE
#include "tao/LocalObject.h"
#include "ace/Thread_Mutex.h"

namespace CIAO_Messenger_Impl
{
  class MESSENGER_EXEC_Export Runnable_exec_i
  : public virtual ::CCM_Runnable,
    public virtual ::CORBA::LocalObject
  {
  public:
    Runnable_exec_i ();
    virtual ~Runnable_exec_i (void);

    // Operations from ::Runnable

    virtual void start ();

    virtual void stop ();

    // MY CODE
    TAO_SYNCH_MUTEX& get_run_lock();

  private:
    TAO_SYNCH_MUTEX run_lock_;
  };
}

#include /**/ "ace/post.h"

#endif /* CIAO_RUNNABLE_EXEC_H */

