summaryrefslogtreecommitdiff
path: root/TM_Proxy/SystemSnapshot.cpp
blob: 6dfdd5ad6d015aaff2aaeee6c7478e372a3ee713 (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
27
28
29
30
31
32
33
34
35
// $Id$
#include "SystemSnapshot.h"

namespace CIAO
{
  namespace RACE
  {
    namespace TM_Proxy
    {
      namespace CIDL_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 ();
        }
      }
    }
  }
}