blob: 27543964e179fde9f26a783a928d4903215e350a (
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
|
/* -*- C++ -*- */
// $Id$
// Service_Record.i
ACE_INLINE const void *
ACE_Service_Type_Impl::object (void) const
{
ACE_TRACE ("ACE_Service_Type_Impl::object");
return this->obj_;
}
ACE_INLINE const char *
ACE_Service_Type_Impl::name (void) const
{
ACE_TRACE ("ACE_Service_Type_Impl::name");
return this->name_;
}
ACE_INLINE void
ACE_Service_Type_Impl::name (const char *n)
{
ACE_TRACE ("ACE_Service_Type_Impl::name");
delete [] (char *) this->name_;
ACE_NEW (this->name_, char[::strlen (n) + 1]);
ACE_OS::strcpy ((char *) this->name_, n);
}
ACE_INLINE int
ACE_Service_Object_Type::suspend (void) const
{
ACE_TRACE ("ACE_Service_Object_Type::suspend");
return ((ACE_Service_Object *) this->object ())->suspend ();
}
ACE_INLINE int
ACE_Service_Object_Type::resume (void) const
{
ACE_TRACE ("ACE_Service_Object_Type::resume");
return ((ACE_Service_Object *) this->object ())->resume ();
}
ACE_INLINE int
ACE_Service_Object_Type::info (char **str, size_t len) const
{
ACE_TRACE ("ACE_Service_Object_Type::info");
return ((ACE_Service_Object *) this->object ())->info (str, len);
}
|