/usr/include/ace/Module.inl is in libace-dev 6.3.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 51 52 53 54 55 56 57 58 59 60 61 62 | // -*- C++ -*-
#include "ace/OS_NS_string.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE void *
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::arg (void) const
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::arg");
return this->arg_;
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE void
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::arg (void *a)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::arg");
this->arg_ = a;
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE const ACE_TCHAR *
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::name (void) const
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::name");
return this->name_;
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE void
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::name (const ACE_TCHAR *n)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::name");
ACE_OS::strsncpy (this->name_, n, MAXPATHLEN);
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE ACE_Task<ACE_SYNCH_USE, TIME_POLICY> *
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::writer (void)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::writer");
return this->q_pair_[1];
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE ACE_Task<ACE_SYNCH_USE, TIME_POLICY> *
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::reader (void)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::reader");
return this->q_pair_[0];
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE ACE_Module<ACE_SYNCH_USE, TIME_POLICY> *
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::next (void)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::next");
return this->next_;
}
template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE void
ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::next (ACE_Module<ACE_SYNCH_USE, TIME_POLICY> *m)
{
ACE_TRACE ("ACE_Module<ACE_SYNCH_USE, TIME_POLICY>::next");
this->next_ = m;
}
ACE_END_VERSIONED_NAMESPACE_DECL
|