summaryrefslogtreecommitdiff
path: root/DAnCE/dance/LocalityManager/Configuration/CPU_Affinity.h
blob: bcef3771485773534d3b05f94bc1b2f55b77246f (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
// -*- C++ -*-
/**
 * @file CPU_Affinity.h
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 *
 * A simple configuration plugin that will change the process
 * name as represented by PS.  It is only functional on Linux
 */

#ifndef CPU_AFFINITY_H
#define CPU_AFFINITY_H

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

#include "dance/DAnCE_LocalityManagerC.h"
#include "tao/LocalObject.h"

#include "CPU_Affinity_export.h"

namespace DAnCE
{
  class CPU_Affinity_Export CPU_Affinity
    : public virtual DAnCE::LocalityConfiguration,
      public virtual ::CORBA::LocalObject
  {
  public:
    // Constructor
    CPU_Affinity (void);

    // Destructor
    virtual ~CPU_Affinity (void);

    virtual char * type (void);

    virtual void configure (const ::Deployment::Property & prop);
  };
}

extern "C"
{
  DAnCE::LocalityConfiguration_ptr
  CPU_Affinity_Export create_CPU_Affinity (void);
}
#include /**/ "ace/post.h"

#endif