summaryrefslogtreecommitdiff
path: root/trunk/ACE/ace/Module.inl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/ACE/ace/Module.inl')
-rw-r--r--trunk/ACE/ace/Module.inl65
1 files changed, 65 insertions, 0 deletions
diff --git a/trunk/ACE/ace/Module.inl b/trunk/ACE/ace/Module.inl
new file mode 100644
index 00000000000..483d436aa69
--- /dev/null
+++ b/trunk/ACE/ace/Module.inl
@@ -0,0 +1,65 @@
+// -*- C++ -*-
+//
+// $Id$
+
+#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