diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/Thread_Lane_Resources_Manager.cpp | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Thread_Lane_Resources_Manager.cpp')
-rw-r--r-- | TAO/tao/Thread_Lane_Resources_Manager.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/tao/Thread_Lane_Resources_Manager.cpp b/TAO/tao/Thread_Lane_Resources_Manager.cpp new file mode 100644 index 00000000000..8a3465d2648 --- /dev/null +++ b/TAO/tao/Thread_Lane_Resources_Manager.cpp @@ -0,0 +1,38 @@ +// $Id$ + +#include "tao/Thread_Lane_Resources_Manager.h" +#include "tao/ORB_Core.h" +#include "tao/LF_Strategy.h" + +#include "ace/Dynamic_Service.h" + +ACE_RCSID (tao, + Thread_Lane_Resources_Manager, + "$Id$") + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +TAO_Thread_Lane_Resources_Manager::TAO_Thread_Lane_Resources_Manager (TAO_ORB_Core &orb_core) + : orb_core_ (&orb_core), + lf_strategy_ (0) +{ + this->lf_strategy_ = + this->orb_core_->resource_factory ()->create_lf_strategy (); +} + +TAO_Thread_Lane_Resources_Manager::~TAO_Thread_Lane_Resources_Manager (void) +{ + delete this->lf_strategy_; +} + +TAO_LF_Strategy & +TAO_Thread_Lane_Resources_Manager::lf_strategy (void) +{ + return *this->lf_strategy_; +} + +TAO_Thread_Lane_Resources_Manager_Factory::~TAO_Thread_Lane_Resources_Manager_Factory (void) +{ +} + +TAO_END_VERSIONED_NAMESPACE_DECL |