summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/FTAPP_Analyzer_Main.cpp
blob: 36657366c107a7961a4d7960ffeedddce27832bd (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
/* -*- C++ -*- */
//=============================================================================
/**
 *  @file    FTAPP_Analyzer_Main.cpp
 *
 *  $Id$
 *
 *  This file is part of Fault Tolerant CORBA.
 *  This file provides the main routine for a stub FaultAnalyzer
 *
 *  @author Dale Wilson <wilson_d@ociweb.com>
 */
//=============================================================================

#include <tao/Utils/Server_Main.h>
#include "StubFaultAnalyzer.h"

int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
  TAO::Utils::Server_Main<StubFaultAnalyzer> server_run("FaultAnalyzer");
  return server_run.run(argc, argv);
}

///////////////////////////////////
// Template instantiation for
// inept compilers.

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
  template class TAO::Utils::Server_Main<StubFaultAnalyzer>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
# pragma instantiate TAO::Utils::Server_Main<StubFaultAnalyzer>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */