diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-21 07:28:45 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-21 07:28:45 +0000 |
commit | 03a868fdbd771619d5e374a3163d4517c5163f60 (patch) | |
tree | fa2bdd69f3684840dfe34db77710590cfa1dc56f /ace/Strategies.i | |
parent | 738e207dad4d076a19e570fb2f3e2431c301b8a8 (diff) | |
download | ATCD-03a868fdbd771619d5e374a3163d4517c5163f60.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Strategies.i')
-rw-r--r-- | ace/Strategies.i | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/ace/Strategies.i b/ace/Strategies.i index bcc6318f9da..a0ef94ea2da 100644 --- a/ace/Strategies.i +++ b/ace/Strategies.i @@ -12,3 +12,66 @@ ACE_INLINE ACE_Connection_Recycling_Strategy::ACE_Connection_Recycling_Strategy (void) { } + +ACE_INLINE +ACE_Recyclable::ACE_Recyclable (ACE_Recyclable::State initial_state) + : state_ (initial_state) +{ +} + +ACE_INLINE +ACE_Recyclable::~ACE_Recyclable (void) +{ +} + +ACE_INLINE ACE_Recyclable::State +ACE_Recyclable::state (void) const +{ + return this->state_; +} + +ACE_INLINE void +ACE_Recyclable::state (ACE_Recyclable::State new_state) +{ + this->state_ = new_state; +} + +ACE_INLINE +ACE_Hashable::ACE_Hashable (void) +{ +} + +ACE_INLINE +ACE_Hashable::~ACE_Hashable (void) +{ +} + +ACE_INLINE +ACE_Refcountable::ACE_Refcountable (int refcount) + : refcount_ (refcount) +{ +} + +ACE_INLINE +ACE_Refcountable::~ACE_Refcountable (void) +{ +} + +ACE_INLINE int +ACE_Refcountable::increment (void) +{ + return ++this->refcount_; +} + +ACE_INLINE int +ACE_Refcountable::decrement (void) +{ + return --this->refcount_; +} + +ACE_INLINE int +ACE_Refcountable::refcount (void) const +{ + return this->refcount_; +} + |