3 //=============================================================================
5 * @file Latency_Query_Client.h
7 * This class tests the latency of queries made on the IFR.
9 * @author Jeff Parsons <parsons@isis-server.isis.vanderbilt.edu>
11 //=============================================================================
14 #if !defined (LATENCY_QUERY_CLIENT_H)
15 #define LATENCY_QUERY_CLIENT_H
17 #include "tao/IFR_Client/IFR_BasicC.h"
21 * @class Latency_Query_Client
23 * @brief Querying IFR Client Implementation
25 * Class wrapper for a client which queries the Interface Repository.
27 class Latency_Query_Client
31 Latency_Query_Client (void);
34 ~Latency_Query_Client (void);
36 /// Initialize the ORB and get the IFR object reference.
40 /// Execute test code.
43 /// Process the command line arguments.
44 int parse_args (int argc
,
47 /// Put in something to query about.
48 int populate_ifr (void);
51 /// Toggle debugging output.
54 /// Toggle saving of dump history.
55 bool do_dump_history_
;
57 /// Number of queries in a run.
58 CORBA::ULong iterations_
;
60 /// Storage of the ORB reference.
63 /// Storage of the IFR reference.
64 CORBA::Repository_var repo_
;
66 // CORBA::AliasDef_var tdef_;
67 // Storage of the typedef definition that we will query.
69 /// Storage of the attribute definition we will query.
70 CORBA::AttributeDef_var attr_
;
73 #endif /* LATENCY_QUERY_CLIENT_H */