summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Deployment.idl
blob: cf3b49ff457262ad271a3aa4c517e2bbb86fd9d0 (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
// $Id$

#ifndef DEPLOYMENT_IDL
#define DEPLOYMENT_IDL

#include "Deployment_Data.idl"
#include "Packaging_Data.idl"
#include "Target_Data.idl"
#include "ServerResources.idl"

module Deployment {

  exception InvalidProperty {
    string name;
    string reason;
  };

  exception NoSuchName {
  };

  exception LastConfiguration {
  };

  exception InvalidReference {
  };

  /// Below exception types are CIAO specific
  exception PlanNotExist {
  };

  /// CIAO specific struct type used for shared component management
  /// mapping the name of component to its plan_uuid
  struct ComponentPlan
  {
    string name;
    string plan_uuid;
  };

  /**
   * @struct Sched_Params
   * @brief Carries Scheduling Params
   * @description  CIAO specific structure to carry the scheduling params
   *  to set the process, required by RACE
   */
  struct Sched_Params
  {
    long policy_;
    long priority_;
    long scope_;
    long msec_;
  };

  typedef sequence < ComponentPlan > ComponentPlans;

  typedef sequence < Application > Applications;

  interface Logger {
  };
};

#endif /* DEPLOYMENT_IDL */