blob: 248801b45b9130d80b8f72dfef1b7c8abd7a1dc5 (
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
|
// -*- C++ -*-
//
// $Id$
#ifndef TARGETMANAGERDAEMONI_H_
#define TARGETMANAGERDAEMONI_H_
#include "DAnCE_TargetManagerDaemonS.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "TargetManager_Impl_export.h"
namespace DAnCE
{
class DAnCE_TargetManager_Impl_Export TargetManagerDaemon_i
: public virtual POA_DAnCE::TargetManagerDaemon
{
public:
/// Constructor
TargetManagerDaemon_i (CORBA::ORB_ptr orb);
/// Destructor
virtual ~TargetManagerDaemon_i (void);
void init (const ACE_TCHAR *file);
virtual void shutdown (void);
virtual
::Deployment::Domain * getAllResources (void);
virtual
::Deployment::Domain * getAvailableResources (void);
virtual
::Deployment::ResourceCommitmentManager_ptr createResourceCommitment (
const ::Deployment::ResourceAllocations & resources);
virtual void destroyResourceCommitment (
::Deployment::ResourceCommitmentManager_ptr manager);
virtual void updateDomain (
const ::CORBA::StringSeq & elements,
const ::Deployment::Domain & domainSubset,
::Deployment::DomainUpdateKind updateKind);
private:
CORBA::ORB_var orb_;
};
}
#endif /* TARGETMANAGERDAEMONI_H_ */
|