blob: c71e4c8f293f21818b8ff9a837ddc370a8486028 (
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
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = FILENAME
// Identity_i.cpp
//
// = DESCRIPTION
// Implements the interface in Identity.idl.
//
// = AUTHOR
// Marina Spivak <marina@cs.wustl.edu>
//
// ============================================================================
#include "Identity_i.h"
Identity_i::Identity_i (const char *name,
PortableServer::POA_ptr poa)
: name_ (name),
poa_ (PortableServer::POA::_duplicate (poa))
{
}
Identity_i::~Identity_i (void)
{
}
void
Identity_i::get_name (CORBA::String_out name)
{
name = this->name_.in ();
}
PortableServer::POA_ptr
Identity_i::_default_POA (void)
{
return PortableServer::POA::_duplicate (this->poa_.in ());
}
|