summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Port_Activator.cpp
blob: 3a16c75b0d01b399741459c24f09a8ead0529443 (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
#include "Port_Activator.h"

ACE_RCSID (ciao,
           Servant_Activator,
           "$Id$")

namespace CIAO
{
  Port_Activator::Port_Activator (const char *oid,
                                  const char *name,
                                  Type t)
    : oid_ (oid)
    , name_ (name)
    , t_ (t)
  {
  }

  Port_Activator::~Port_Activator (void)
  {
  }

  const char*
  Port_Activator::oid (void) const
  {
    // @@ TODO, need to be inlined.
    return this->oid_.in ();
  }

  void
  Port_Activator::oid (const char* oid)
  {
    this->oid_ = oid;
  }

  const char*
  Port_Activator::name (void) const
  {
    // @@ TODO, need to be inlined.
    return this->name_.in ();
  }
}