summaryrefslogtreecommitdiff
path: root/TM_Proxy/SystemSnapshot.cpp
blob: efc5e412c0e8fe25a3676155c0766a6aec28b4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// $Id$
#include "SystemSnapshot.h"

namespace CIAO_CIAO_RACE_TM_Proxy_TM_Proxy_Component_Impl
{
  SystemSnapshot_exec_i::SystemSnapshot_exec_i 
  (::CIAO::TM_Daemon::Daemon_ptr TM,
   Logger &logger)
    : TM_Daemon_ (::CIAO::TM_Daemon::Daemon::_duplicate (TM)),
      logger_ (logger)
  {
  }

  SystemSnapshot_exec_i::~SystemSnapshot_exec_i (void)
  {
  }

  ::Deployment::Domain* 
  SystemSnapshot_exec_i::getSnapshot ()
  {
    std::string msg = "Entering SystemSnapshot_exec_i::getSnapshot ()\n";
    msg += "Leaving SystemSnapshot_exec_i::getSnapshot ()\n";
    this->logger_.log (msg);          
    return this->TM_Daemon_->getSnapshot ();
  }
}