summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp')
-rw-r--r--CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp b/CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp
deleted file mode 100644
index bb2bdb3ed33..00000000000
--- a/CIAO/DAnCE/LocalityManager/Scheduler/Deployment_Events.tpp
+++ /dev/null
@@ -1,38 +0,0 @@
-// $Id$
-#ifndef DEPLOYMENT_EVENTS_TPP
-#define DEPLOYMENT_EVENTS_TPP
-
-namespace DAnCE
-{
- Event_Handler::Event_Handler (Functor &specific_handler)
- : outstanding_ (0),
- specific_handler_ (specific_handler)
- {
- }
-
- Event_Handler::~Event_Handler (void);
-
- void
- Event_Handler::update (const Event_Result &future)
- {
- this->specific_handler_ (future);
- --this->outstanding_;
- }
-
- /// Indicate to the observer that there is an additional future
- /// it is waiting on
- void
- Event_Handler::add_outstanding (void)
- {
- ++this->outstanding_;
- }
-
- /// Return the number of still outstanding future events.
- size_t
- Event_Handler::count_outstanding (void)
- {
- return this->outstanding_.value ();
- }
-}
-
-#endif