diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-06-18 14:37:55 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-06-18 14:37:55 +0000 |
commit | 1576f18f4563b78b9c534866f894217dbda4a116 (patch) | |
tree | 5b7e217f962e3e5cbc40eba208669e698af54495 /tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h | |
parent | e736a66bb06b1cdfd851d0dc39b1ccd6737f118b (diff) | |
download | ATCD-1576f18f4563b78b9c534866f894217dbda4a116.tar.gz |
branch for removing component server
Diffstat (limited to 'tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h')
-rw-r--r-- | tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h b/tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h new file mode 100644 index 00000000000..4113d147adc --- /dev/null +++ b/tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h @@ -0,0 +1,81 @@ +// -*- C++ -*- +// $Id$ + +#ifndef CIAO_LOCAL_FACET_EXEC_H_ +#define CIAO_LOCAL_FACET_EXEC_H_ + +#include /**/ "ace/pre.h" + +#include "Local_FacetEC.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include /**/ "Local_Facet_exec_export.h" +#include "tao/LocalObject.h" + + +namespace CIAO_Bar_Impl +{ + class LOCAL_FACET_EXEC_Export Foo_exec_i + : public virtual ::CCM_Foo, + public virtual ::CORBA::LocalObject + { + public: + Foo_exec_i (void); + virtual ~Foo_exec_i (void); + + // Operations and attributes from ::Foo + virtual void simple (void); + }; + + class LOCAL_FACET_EXEC_Export Bar_exec_i + : public virtual Bar_Exec, + public virtual ::CORBA::LocalObject + { + public: + Bar_exec_i (void); + virtual ~Bar_exec_i (void); + + //@{ + /** Supported operations and attributes. */ + virtual void run_test (void); + + //@} + + //@{ + /** Component attributes and port operations. */ + + + virtual ::CCM_Foo_ptr + get_foo_out (void); + //@} + + //@{ + /** Operations from Components::SessionComponent. */ + + virtual void + set_session_context ( + ::Components::SessionContext_ptr ctx); + + virtual void configuration_complete (void); + + virtual void ccm_activate (void); + virtual void ccm_passivate (void); + virtual void ccm_remove (void); + //@} + + + private: + ::CCM_Bar_Context_var context_; + }; + + extern "C" LOCAL_FACET_EXEC_Export ::Components::EnterpriseComponent_ptr + create_Bar_Impl (void); +} + +#include /**/ "ace/post.h" + +#endif /* ifndef */ + |