Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Stack_Recursion / Server_Task.h
bloba4612707d64beffe5ba2ce806af2427387e1b227
2 #ifndef STACK_RECURSION_SERVER_TASK_H
3 #define STACK_RECURSION_SERVER_TASK_H
4 #include /**/ "ace/pre.h"
5 #include "tao/ORB.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 # pragma once
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 #include "ace/Task.h"
13 class Sender;
15 /// Implement a Task to run the experiments using multiple threads.
16 class Server_Task : public ACE_Task_Base
18 public:
19 /// Constructor
20 Server_Task (CORBA::ORB_ptr orb,
21 const Sender *ptr,
22 ACE_Thread_Manager *thr_mgr);
24 /// Thread entry point
25 int svc ();
27 private:
28 /// Reference to the ORB
29 CORBA::ORB_var orb_;
31 /// The sender pointer
32 const Sender *sender_;
35 #include /**/ "ace/post.h"
36 #endif /* STACK_RECURSION_SERVER_TASK_H */