summaryrefslogtreecommitdiff
path: root/TAO/tao/LF_Event_Binder.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/LF_Event_Binder.inl')
-rw-r--r--TAO/tao/LF_Event_Binder.inl16
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/tao/LF_Event_Binder.inl b/TAO/tao/LF_Event_Binder.inl
new file mode 100644
index 00000000000..e674cb6e08b
--- /dev/null
+++ b/TAO/tao/LF_Event_Binder.inl
@@ -0,0 +1,16 @@
+// $Id$
+
+ACE_INLINE
+TAO_LF_Event_Binder::TAO_LF_Event_Binder (TAO_LF_Event *event,
+ TAO_LF_Follower *follower)
+ : event_ (event)
+{
+ this->event_->bind (follower);
+}
+
+
+ACE_INLINE
+TAO_LF_Event_Binder::~TAO_LF_Event_Binder (void)
+{
+ this->event_->unbind ();
+}