00001 // -*- C++ -*- 00002 00003 //$Id: ThreadAction.h 90386 2010-06-02 13:52:08Z vzykov $ 00004 #ifndef TAO_ThreadAction_H 00005 #define TAO_ThreadAction_H 00006 00007 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00008 # pragma once 00009 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00010 00011 #include "tao/RTScheduling/RTScheduler.h" 00012 #include "tao/LocalObject.h" 00013 00014 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00015 00016 class TAO_RTScheduler_Export TAO_ThreadAction: 00017 public RTScheduling::ThreadAction, 00018 public ::CORBA::LocalObject 00019 { 00020 public: 00021 virtual void _cxx_do (CORBA::VoidData data) = 0; 00022 }; 00023 00024 TAO_END_VERSIONED_NAMESPACE_DECL 00025 00026 #endif /*TAO_ThreadAction_H*/