Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / RIR_Narrow.h
blob52052939f72c8eabfda95445d2c91c528589680b
1 /**
2 * @file RIR_Narrow.h
4 * @author Jody Hagins <jody@atdesk.com>
5 * @author Carlos O'Ryan <coryan@uci.edu>
6 */
7 #ifndef TAO_PERF_RTEC_RIR_NARROW_H
8 #define TAO_PERF_RTEC_RIR_NARROW_H
10 #include "tao/ORB.h"
11 #include "tao/Object.h"
13 /**
14 * @class RIR_Narrow
16 * @brief Implement a helper method to narrow the results from
17 * resolve_initial_references.
19 template<class Interface>
20 class RIR_Narrow
22 public:
23 typedef typename Interface::_ptr_type Interface_ptr;
24 typedef typename Interface::_var_type Interface_var;
26 static Interface_ptr resolve (CORBA::ORB_ptr orb,
27 const char *object_id);
30 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
31 #include "RIR_Narrow.cpp"
32 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
34 #endif /* TAO_PERF_RTEC_RIR_NARROW_H */