diff options
Diffstat (limited to 'CIAO/examples/Hello/Hello_Base')
-rw-r--r-- | CIAO/examples/Hello/Hello_Base/Hello_Base.idl | 21 | ||||
-rw-r--r-- | CIAO/examples/Hello/Hello_Base/Hello_Base.mpc | 60 | ||||
-rw-r--r-- | CIAO/examples/Hello/Hello_Base/Hello_Base_stub_export.h | 54 | ||||
-rw-r--r-- | CIAO/examples/Hello/Hello_Base/Hello_Base_svnt_export.h | 54 |
4 files changed, 189 insertions, 0 deletions
diff --git a/CIAO/examples/Hello/Hello_Base/Hello_Base.idl b/CIAO/examples/Hello/Hello_Base/Hello_Base.idl new file mode 100644 index 00000000000..18b300932ee --- /dev/null +++ b/CIAO/examples/Hello/Hello_Base/Hello_Base.idl @@ -0,0 +1,21 @@ +//$Id$: + +#ifndef CIAO_HELLO_IDL +#define CIAO_HELLO_IDL + +#include <Components.idl> + +module Hello +{ + interface ReadMessage + { + string get_message(); + }; + + eventtype TimeOut + { + public string data; + }; +}; + +#endif /* CIAO_HELLO_IDL */ diff --git a/CIAO/examples/Hello/Hello_Base/Hello_Base.mpc b/CIAO/examples/Hello/Hello_Base/Hello_Base.mpc new file mode 100644 index 00000000000..468afcc1b8b --- /dev/null +++ b/CIAO/examples/Hello/Hello_Base/Hello_Base.mpc @@ -0,0 +1,60 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl -n Hello_Base" + +project(Hello_Base_DnC_stub): ciao_client_dnc { + + sharedname = Hello_Base_DnC_stub + idlflags += -Wb,stub_export_macro=HELLO_BASE_STUB_Export \ + -Wb,stub_export_include=Hello_Base_stub_export.h \ + -Wb,skel_export_macro=HELLO_BASE_SVNT_Export \ + -Wb,skel_export_include=Hello_Base_svnt_export.h + dynamicflags = HELLO_BASE_STUB_BUILD_DLL + + IDL_Files { + Hello_Base.idl + } + + Source_Files { + Hello_BaseC.cpp + } + + Header_Files { + Hello_BaseC.h + } + + Inline_Files { + Hello_BaseC.inl + } +} + +project(Hello_Base_DnC_svnt) : ciao_servant_dnc { + after += Hello_Base_DnC_stub + sharedname = Hello_Base_DnC_svnt + libs += Hello_Base_DnC_stub + + idlflags += -Wb,stub_export_macro=HELLO_BASE_STUB_Export \ + -Wb,stub_export_include=Hello_Base_stub_export.h \ + -Wb,skel_export_macro=HELLO_BASE_SVNT_Export \ + -Wb,skel_export_include=Hello_Base_svnt_export.h + dynamicflags = HELLO_BASE_SVNT_BUILD_DLL + + IDL_Files { + Hello_Base.idl + } + + Source_Files { + Hello_BaseS.cpp + } + + Header_Files { + Hello_BaseS.h + } + + Inline_Files { + Hello_BaseS.inl + } +} + + + + diff --git a/CIAO/examples/Hello/Hello_Base/Hello_Base_stub_export.h b/CIAO/examples/Hello/Hello_Base/Hello_Base_stub_export.h new file mode 100644 index 00000000000..224fe95a845 --- /dev/null +++ b/CIAO/examples/Hello/Hello_Base/Hello_Base_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl HELLO_BASE_STUB +// ------------------------------ +#ifndef HELLO_BASE_STUB_EXPORT_H +#define HELLO_BASE_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (HELLO_BASE_STUB_HAS_DLL) +# define HELLO_BASE_STUB_HAS_DLL 1 +#endif /* ! HELLO_BASE_STUB_HAS_DLL */ + +#if defined (HELLO_BASE_STUB_HAS_DLL) && (HELLO_BASE_STUB_HAS_DLL == 1) +# if defined (HELLO_BASE_STUB_BUILD_DLL) +# define HELLO_BASE_STUB_Export ACE_Proper_Export_Flag +# define HELLO_BASE_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define HELLO_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* HELLO_BASE_STUB_BUILD_DLL */ +# define HELLO_BASE_STUB_Export ACE_Proper_Import_Flag +# define HELLO_BASE_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define HELLO_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* HELLO_BASE_STUB_BUILD_DLL */ +#else /* HELLO_BASE_STUB_HAS_DLL == 1 */ +# define HELLO_BASE_STUB_Export +# define HELLO_BASE_STUB_SINGLETON_DECLARATION(T) +# define HELLO_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* HELLO_BASE_STUB_HAS_DLL == 1 */ + +// Set HELLO_BASE_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (HELLO_BASE_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define HELLO_BASE_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define HELLO_BASE_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !HELLO_BASE_STUB_NTRACE */ + +#if (HELLO_BASE_STUB_NTRACE == 1) +# define HELLO_BASE_STUB_TRACE(X) +#else /* (HELLO_BASE_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define HELLO_BASE_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (HELLO_BASE_STUB_NTRACE == 1) */ + +#endif /* HELLO_BASE_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/CIAO/examples/Hello/Hello_Base/Hello_Base_svnt_export.h b/CIAO/examples/Hello/Hello_Base/Hello_Base_svnt_export.h new file mode 100644 index 00000000000..57625da60c6 --- /dev/null +++ b/CIAO/examples/Hello/Hello_Base/Hello_Base_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl HELLO_BASE_SVNT +// ------------------------------ +#ifndef HELLO_BASE_SVNT_EXPORT_H +#define HELLO_BASE_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (HELLO_BASE_SVNT_HAS_DLL) +# define HELLO_BASE_SVNT_HAS_DLL 1 +#endif /* ! HELLO_BASE_SVNT_HAS_DLL */ + +#if defined (HELLO_BASE_SVNT_HAS_DLL) && (HELLO_BASE_SVNT_HAS_DLL == 1) +# if defined (HELLO_BASE_SVNT_BUILD_DLL) +# define HELLO_BASE_SVNT_Export ACE_Proper_Export_Flag +# define HELLO_BASE_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define HELLO_BASE_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* HELLO_BASE_SVNT_BUILD_DLL */ +# define HELLO_BASE_SVNT_Export ACE_Proper_Import_Flag +# define HELLO_BASE_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define HELLO_BASE_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* HELLO_BASE_SVNT_BUILD_DLL */ +#else /* HELLO_BASE_SVNT_HAS_DLL == 1 */ +# define HELLO_BASE_SVNT_Export +# define HELLO_BASE_SVNT_SINGLETON_DECLARATION(T) +# define HELLO_BASE_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* HELLO_BASE_SVNT_HAS_DLL == 1 */ + +// Set HELLO_BASE_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (HELLO_BASE_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define HELLO_BASE_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define HELLO_BASE_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !HELLO_BASE_SVNT_NTRACE */ + +#if (HELLO_BASE_SVNT_NTRACE == 1) +# define HELLO_BASE_SVNT_TRACE(X) +#else /* (HELLO_BASE_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define HELLO_BASE_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (HELLO_BASE_SVNT_NTRACE == 1) */ + +#endif /* HELLO_BASE_SVNT_EXPORT_H */ + +// End of auto generated file. |