summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Command.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Command.h128
1 files changed, 0 insertions, 128 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Command.h b/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
deleted file mode 100644
index c32e4ad3b34..00000000000
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Command.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-//
-// ============================================================================
-//
-// = LIBRARY
-// ORBSVCS Real-time Event Channel
-//
-// = FILENAME
-// EC_Command
-//
-// = AUTHOR
-// Carlos O'Ryan (coryan@cs.wustl.edu)
-//
-// = CREDITS
-// Based on previous work by Tim Harrison (harrison@cs.wustl.edu)
-// and other members of the DOC group.
-// More details can be found in:
-// http://www.cs.wustl.edu/~schmidt/oopsla.ps.gz
-// http://www.cs.wustl.edu/~schmidt/JSAC-98.ps.gz
-//
-//
-// ============================================================================
-
-#ifndef TAO_EC_COMMAND_H
-#define TAO_EC_COMMAND_H
-
-#include "ace/Functor.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-template<class Target, class Object>
-class TAO_EC_Connected_Command : public ACE_Command_Base
-{
- // = TITLE
- // EC_Connected_Command
- //
- // = DESCRIPTION
- // Implements a Command object that invokes the connected_i() method
- // on the target, passing an argument of type Object.
- //
- // = MEMORY MANAGMENT
- // It does not assume ownership of Object nor the Target
- // arguments.
- // Usually allocated from the heap or an allocator; but it is not
- // self-managed.
- //
- // = LOCKING
- // No provisions for locking, access must be serialized
- // externally.
- //
- // = TODO
- //
-public:
- TAO_EC_Connected_Command (Target *target,
- Object *object);
- // constructor...
-
- virtual int execute (void *arg);
- // The callback method, if the argument is not nil it is interpreted
- // as a CORBA::Environment.
-
-private:
- Target *target_;
- // The target
-
- Object *object_;
- // The argument
-};
-
-// ****************************************************************
-
-template<class Target, class Object>
-class TAO_EC_Disconnected_Command : public ACE_Command_Base
-{
- // = TITLE
- // EC_Disconnected_Command
- //
- // = DESCRIPTION
- // Implements a Command object that invokes the disconnected_i()
- // method on the target, passing an argument of type Object.
- //
- // = MEMORY MANAGMENT
- // It does not assume ownership of Object nor the Target
- // arguments.
- // Usually allocated from the heap or an allocator; but it is not
- // self-managed.
- //
- // = LOCKING
- // No provisions for locking, access must be serialized
- // externally.
- //
- // = TODO
- //
-public:
- TAO_EC_Disconnected_Command (Target *target,
- Object *object);
- // constructor...
-
- virtual int execute (void *arg);
- // The callback method, if the argument is not nil it is interpreted
- // as a CORBA::Environment.
-
-private:
- Target *target_;
- // The target
-
- Object *object_;
- // The argument
-};
-
-// ****************************************************************
-
-#if defined (__ACE_INLINE__)
-#include "EC_Command.i"
-#endif /* __ACE_INLINE__ */
-
-#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
-#include "EC_Command.cpp"
-#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
-
-#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
-#pragma implementation ("EC_Command.cpp")
-#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
-
-#endif /* TAO_EC_COMMAND_H */