summaryrefslogtreecommitdiff
path: root/TAO/tao/LF_Event.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
commit6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch)
treeda50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/LF_Event.cpp
parent0e555b9150d38e3b3473ba325b56db2642e6352b (diff)
downloadATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/LF_Event.cpp')
-rw-r--r--TAO/tao/LF_Event.cpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/TAO/tao/LF_Event.cpp b/TAO/tao/LF_Event.cpp
deleted file mode 100644
index cc69d6fcea3..00000000000
--- a/TAO/tao/LF_Event.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-// $Id$
-
-#include "tao/LF_Event.h"
-#include "tao/LF_Follower.h"
-#include "tao/Leader_Follower.h"
-#include "ace/Guard_T.h"
-
-#if !defined (__ACE_INLINE__)
-# include "tao/LF_Event.inl"
-#endif /* __ACE_INLINE__ */
-
-ACE_RCSID (tao,
- LF_Event,
- "$Id$")
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-TAO_LF_Event::TAO_LF_Event (void)
- : state_ (TAO_LF_Event::LFS_IDLE)
- , follower_ (0)
-{
-}
-
-TAO_LF_Event::~TAO_LF_Event (void)
-{
-}
-
-void
-TAO_LF_Event::state_changed (int new_state,
- TAO_Leader_Follower &lf)
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, ace_mon, lf.lock ());
-
- if (this->is_state_final () == 0)
- {
- this->state_changed_i (new_state);
-
- /// Sort of double-checked optimization..
- if (this->follower_ != 0)
- this->follower_->signal ();
- }
-}
-
-void
-TAO_LF_Event::set_state (int new_state)
-{
- this->state_ = new_state;
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL