Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Bug_2935_Regression / source_i.h
blob35785b21bf71bf63ad3cc675dd1a708f993d688d
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file source_i.h
7 * This class implements the source for a three tier system
8 * Adapted from TAO/examples/Simple/time
10 * @author Dale Wilson <wilsond@ociweb.com>
12 //=============================================================================
15 #ifndef SOURCE_I_H
16 #define SOURCE_I_H
18 #include "ThreeTierC.h"
20 /**
21 * @class Source_i
23 * @brief Source interface subclass.
25 * a source of data for the three tier test
27 class Source_i
29 public:
30 Source_i (ThreeTier_ptr target);
32 ~Source_i ();
34 bool parse_args(int argc, ACE_TCHAR *argv[]);
36 /// Execute the methods
37 int run ();
39 private:
40 ThreeTier_var target_;
42 // Number of messages to send (make this configurable)
43 unsigned long counter_;
47 #endif /* SOURCE_I_H */