Use override/default for RTPortableServer
[ACE_TAO.git] / ACE / ace / Shared_Memory_MM.inl
blobbc00197951acf33e586fe36da32882dfbd749e8c
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 /// Return the name of file that is mapped (if any).
5 ACE_INLINE const ACE_TCHAR *
6 ACE_Shared_Memory_MM::filename () const
8   return this->shared_memory_.filename ();
11 ACE_INLINE int
12 ACE_Shared_Memory_MM::open (ACE_HANDLE handle,
13                             size_t length,
14                             int prot,
15                             int share,
16                             char *addr,
17                             ACE_OFF_T pos)
19   ACE_TRACE ("ACE_Shared_Memory_MM::open");
20   return shared_memory_.map (handle, length, prot, share, addr, pos);
23 ACE_INLINE int
24 ACE_Shared_Memory_MM::open (const ACE_TCHAR *file_name,
25                             size_t len,
26                             int flags,
27                             int mode,
28                             int prot,
29                             int share,
30                             char *addr,
31                             ACE_OFF_T pos)
33   ACE_TRACE ("ACE_Shared_Memory_MM::open");
34   return shared_memory_.map (file_name, len, flags, mode,
35                              prot, share, addr, pos);
38 ACE_END_VERSIONED_NAMESPACE_DECL