Files
TCPlayerbotCore/dep/ACE_wrappers/ace/IPC_SAP.inl
T

41 lines
781 B
C++
Raw Normal View History

// -*- C++ -*-
//
// $Id: IPC_SAP.inl 80826 2008-03-04 14:51:23Z wotte $
2009-10-17 15:51:44 -07:00
#include "ace/OS_NS_stropts.h"
2009-10-17 15:51:44 -07:00
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
2009-10-17 15:51:44 -07:00
ACE_INLINE
ACE_IPC_SAP::~ACE_IPC_SAP (void)
{
// ACE_TRACE ("ACE_IPC_SAP::~ACE_IPC_SAP");
}
2009-10-17 15:51:44 -07:00
ACE_INLINE ACE_HANDLE
ACE_IPC_SAP::get_handle (void) const
{
ACE_TRACE ("ACE_IPC_SAP::get_handle");
return this->handle_;
}
2009-10-17 15:51:44 -07:00
// Used to set the underlying handle_.
2009-10-17 15:51:44 -07:00
ACE_INLINE void
ACE_IPC_SAP::set_handle (ACE_HANDLE handle)
{
ACE_TRACE ("ACE_IPC_SAP::set_handle");
this->handle_ = handle;
}
2009-10-17 15:51:44 -07:00
// Provides access to the ACE_OS::ioctl system call.
2009-10-17 15:51:44 -07:00
ACE_INLINE int
ACE_IPC_SAP::control (int cmd, void *arg) const
{
ACE_TRACE ("ACE_IPC_SAP::control");
return ACE_OS::ioctl (this->handle_, cmd, arg);
}
2009-10-17 15:51:44 -07:00
ACE_END_VERSIONED_NAMESPACE_DECL