summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Module.h
blob: d4a937ecd9828aa23259c1d5812b8e837625e2dc (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// -*- C++ -*-

//=============================================================================
/**
 * @file Plan_Launcher_Module.h
 *
 * $Id$
 *
 * @Brief  Uses to run PlanLauncher from starter
 *
 * @author Vinzenz Tornow <vt@prismtech.com>
 */
//=============================================================================

#ifndef PLAN_LAUNCHER_MODULE_H
#define PLAN_LAUNCHER_MODULE_H

#include /**/ "ace/pre.h"

#include "Plan_Launcher_Module_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "ace/Service_Config.h"
#include "tao/Object_Loader.h"


/**
 * @class Plan_Launcher_Module
 *
 * @brief The shared object that is instantiated when the plan launcher
 *        module/library is dynamically loaded.
 *
 * This class runs the plan launcher instance
 */
class DAnCE_Plan_Launcher_Module_Export DAnCE_Plan_Launcher_Module
      : public TAO_Object_Loader
  {
  public:
    /// Constructor.
    DAnCE_Plan_Launcher_Module (void);

    /// Overload the base class method to create a new instance
    /// of a DAnCE_NodeManager_Module object.
    virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
                                             int argc,
                                             ACE_TCHAR *argv []);
  };

ACE_FACTORY_DECLARE (DAnCE_Plan_Launcher_Module, DAnCE_Plan_Launcher_Module)

#include /**/ "ace/post.h"

#endif  /* PLAN_LAUNCHER_MODULE_H */