blob: ad626a0d34df8015601e73e56c94c2328c5e8fbf (
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
57
58
59
60
61
62
63
64
65
|
#ifndef DRIVER_H_
#define DRIVER_H_
#include "DriverS.h"
#include "Input_Adapters/Interactive_Input_Adapter/Interactive_Input_AdapterC.h"
#include "ace/OS.h"
#include "ace/SString.h"
#include "orbsvcs/CosNamingC.h"
#include "RACE/common/OpStringC.h"
#include "Plan_Generator_Impl.h"
namespace CIAO
{
namespace RACE
{
namespace SA_POP
{
class Driver_i
: public virtual POA_CIAO::RACE::SA_POP::Driver
{
public:
// Constructor
Driver_i (CORBA::ORB_ptr orb);
// Destructor
virtual ~Driver_i (void);
virtual
int init (const char *RM_name);
virtual
void deploy_plan (const char * plan_uri)
throw (::CORBA::SystemException);
virtual
void deploy_goal (const ::CIAO::RACE::GoalStructure & goal)
throw (::CORBA::SystemException);
protected:
virtual int convert (::CIAO::RACE::OperationalString &op_string,
::Deployment::DeploymentPlan &plan);
virtual int deploy_plan (::Deployment::DeploymentPlan &plan);
private:
// Pointer to the ORB.
CORBA::ORB_var orb_;
// Naming context of the interactive input adapter.
ACE_TString iia_name_;
// Pointer to the interactive input adapter.
::CIAO::RACE::Interactive_Input_Adapter_var iia_;
// Plan generator object.
::CIAO::Plan_Generator::Plan_Generator_i plan_gen_;
};
}
}
}
#endif /* DRIVER_H_ */
|