diff options
| author | Neo2003 <none@none> | 2008-10-04 06:17:19 -0500 |
|---|---|---|
| committer | Neo2003 <none@none> | 2008-10-04 06:17:19 -0500 |
| commit | 5651828bf74edb760d67700942fc65d51c816e0a (patch) | |
| tree | 1631f319bbc293794109f990beaccfd5b6cee8fe /dep/ACE_wrappers/ace/Module.inl | |
| parent | ca7a4bf1a78a1ddc6eb21238cc2a1633194a11cc (diff) | |
[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript logo
* Version updated to 0.2.6721.676
--HG--
branch : trunk
rename : 6700-670 => 6721-676
Diffstat (limited to 'dep/ACE_wrappers/ace/Module.inl')
| -rw-r--r-- | dep/ACE_wrappers/ace/Module.inl | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/Module.inl b/dep/ACE_wrappers/ace/Module.inl new file mode 100644 index 00000000000..62e4929a24b --- /dev/null +++ b/dep/ACE_wrappers/ace/Module.inl @@ -0,0 +1,65 @@ +// -*- C++ -*- +// +// $Id: Module.inl 80826 2008-03-04 14:51:23Z wotte $ + +#include "ace/OS_NS_string.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template <ACE_SYNCH_DECL> ACE_INLINE void * +ACE_Module<ACE_SYNCH_USE>::arg (void) const +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::arg"); + return this->arg_; +} + +template <ACE_SYNCH_DECL> ACE_INLINE void +ACE_Module<ACE_SYNCH_USE>::arg (void *a) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::arg"); + this->arg_ = a; +} + +template <ACE_SYNCH_DECL> ACE_INLINE const ACE_TCHAR * +ACE_Module<ACE_SYNCH_USE>::name (void) const +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::name"); + return this->name_; +} + +template <ACE_SYNCH_DECL> ACE_INLINE void +ACE_Module<ACE_SYNCH_USE>::name (const ACE_TCHAR *n) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::name"); + ACE_OS::strsncpy (this->name_, n, MAXPATHLEN); +} + +template <ACE_SYNCH_DECL> ACE_INLINE ACE_Task<ACE_SYNCH_USE> * +ACE_Module<ACE_SYNCH_USE>::writer (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::writer"); + return this->q_pair_[1]; +} + +template <ACE_SYNCH_DECL> ACE_INLINE ACE_Task<ACE_SYNCH_USE> * +ACE_Module<ACE_SYNCH_USE>::reader (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::reader"); + return this->q_pair_[0]; +} + +template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> * +ACE_Module<ACE_SYNCH_USE>::next (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::next"); + return this->next_; +} + +template <ACE_SYNCH_DECL> ACE_INLINE void +ACE_Module<ACE_SYNCH_USE>::next (ACE_Module<ACE_SYNCH_USE> *m) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_USE>::next"); + this->next_ = m; +} + +ACE_END_VERSIONED_NAMESPACE_DECL |
