Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / ORB_Holder.cpp
blob75efcf6017a7a190b1bf9fd2efb37cda9dc610a7
1 /**
2 * @file ORB_Holder.cpp
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #include "ORB_Holder.h"
9 #if !defined(__ACE_INLINE__)
10 #include "ORB_Holder.inl"
11 #endif /* __ACE_INLINE__ */
13 ORB_Holder::ORB_Holder (int &argc, ACE_TCHAR *argv[],
14 const char *orb_id)
15 : orb_ (CORBA::ORB_init (argc, argv, orb_id))
19 ORB_Holder::~ORB_Holder (void)
21 try{
22 this->orb_->destroy ();
23 } catch (const CORBA::Exception&) {
24 // @@ TODO Log this event, check the Servant_var.cpp comments for
25 // details.