summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp
new file mode 100644
index 00000000000..0b048d75502
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/Validate_Worker_T.cpp
@@ -0,0 +1,45 @@
+/* -*- C++ -*- $Id$ */
+
+#ifndef NOTIFY_VALIDATE_WORKER_CPP
+#define NOTIFY_VALIDATE_WORKER_CPP
+
+#include "Validate_Worker_T.h"
+#include "tao/debug.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace TAO_Notify
+{
+ template<class TOPOOBJ>
+ Validate_Worker<TOPOOBJ>::Validate_Worker()
+ {
+ }
+
+ template<class TOPOOBJ>
+ void
+ Validate_Worker<TOPOOBJ>::work (TOPOOBJ* o)
+ {
+ if (o == 0)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT("(%P|%t)Validate_Worker<TOPOOBJ>::work: obj is nil\n")));
+ }
+ }
+ else
+ {
+ o->validate ();
+ }
+ }
+} // namespace TAO_Notify
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#endif /* VALIDATE_WORKER_CPP */
+
+