diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
commit | a5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch) | |
tree | bcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/Module.i | |
download | ATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz |
Initial revision
Diffstat (limited to 'ace/Module.i')
-rw-r--r-- | ace/Module.i | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/ace/Module.i b/ace/Module.i new file mode 100644 index 00000000000..affc11f568c --- /dev/null +++ b/ace/Module.i @@ -0,0 +1,62 @@ +/* -*- C++ -*- */ +// $Id$ + +// Module.i + +template <ACE_SYNCH_1> ACE_INLINE void * +ACE_Module<ACE_SYNCH_2>::arg (void) const +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::arg"); + return this->arg_; +} + +template <ACE_SYNCH_1> ACE_INLINE void +ACE_Module<ACE_SYNCH_2>::arg (void *a) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::arg"); + this->arg_ = a; +} + +template <ACE_SYNCH_1> ACE_INLINE const char * +ACE_Module<ACE_SYNCH_2>::name (void) const +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::name"); + return this->name_; +} + +template <ACE_SYNCH_1> ACE_INLINE void +ACE_Module<ACE_SYNCH_2>::name (char *n) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::name"); + ACE_OS::strncpy (this->name_, n, MAXNAMLEN); +} + +template <ACE_SYNCH_1> ACE_INLINE ACE_Task<ACE_SYNCH_2> * +ACE_Module<ACE_SYNCH_2>::writer (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::writer"); + return this->q_pair_[1]; +} + +template <ACE_SYNCH_1> ACE_INLINE ACE_Task<ACE_SYNCH_2> * +ACE_Module<ACE_SYNCH_2>::reader (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::reader"); + return this->q_pair_[0]; +} + +template <ACE_SYNCH_1> ACE_INLINE ACE_Module<ACE_SYNCH_2> * +ACE_Module<ACE_SYNCH_2>::next (void) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::next"); + return this->next_; +} + +template <ACE_SYNCH_1> ACE_INLINE void +ACE_Module<ACE_SYNCH_2>::next (ACE_Module<ACE_SYNCH_2> *m) +{ + ACE_TRACE ("ACE_Module<ACE_SYNCH_2>::next"); + this->next_ = m; +} + + |