diff options
author | edwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-04-21 21:36:31 +0000 |
---|---|---|
committer | edwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-04-21 21:36:31 +0000 |
commit | dafdc04cc4517cb7513ce9006dd847fc25e70896 (patch) | |
tree | 280581875eba3b22813e1410a93bc8cd9f75d7b8 | |
parent | 771da5930e19aa9e78c2944587d689f5ca1cddf7 (diff) | |
download | ATCD-dafdc04cc4517cb7513ce9006dd847fc25e70896.tar.gz |
*** empty log message ***
40 files changed, 1810 insertions, 0 deletions
diff --git a/TAO/CIAO/examples/UAV/ATR/ATR.cidl b/TAO/CIAO/examples/UAV/ATR/ATR.cidl new file mode 100644 index 00000000000..b7d5d1f3950 --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef ATR_CIDL +#define ATR_CIDL + +#include "ATR.idl" + +composition session ATR_Impl +{ + home executor ATRHome_Exec + { + implements BBN_UAV::ATRHome; + manages ATR_Exec; + }; +}; + +#endif /* ATR_CIDL */ diff --git a/TAO/CIAO/examples/UAV/ATR/ATR.idl b/TAO/CIAO/examples/UAV/ATR/ATR.idl new file mode 100644 index 00000000000..3c04e2a2e9d --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR.idl @@ -0,0 +1,28 @@ +//$Id$ +//============================================================================= +/** + * @file ATR.idl + * + * Definition of the ATR component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_ATR_IDL +#define CIAO_ATR_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component ATR + { + publishes TargetRecognized target_recognized; + }; + + home ATRHome manages ATR + { + }; +}; + +#endif /*CIAO_ATR_IDL */ diff --git a/TAO/CIAO/examples/UAV/ATR/ATR.mpc b/TAO/CIAO/examples/UAV/ATR/ATR.mpc new file mode 100644 index 00000000000..2e88cd2644e --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl ATR" + +project(ATR_stub): ciao_client { + after += BBN_UAV_stub + sharedname = ATR_stub + idlflags += -Wb,stub_export_macro=ATR_STUB_Export -Wb,stub_export_include=ATR_stub_export.h -Wb,skel_export_macro=ATR_SVNT_Export -Wb,skel_export_include=ATR_svnt_export.h + dynamicflags = ATR_STUB_BUILD_DLL + + IDL_Files { + ATR.idl + } + + Source_Files { + ATRC.cpp + } +} + +project(ATR_svnt) : ciao_servant { + after += BBN_UAV_svnt ATR_stub + sharedname = ATR_svnt + libs += ATR_stub + + idlflags += -Wb,export_macro=ATR_SVNT_Export -Wb,export_include=ATR_svnt_export.h + dynamicflags = ATR_SVNT_BUILD_DLL + + CIDL_Files { + ATR.cidl + } + + IDL_Files { + ATRE.idl + } + + Source_Files { + ATREC.cpp + ATRS.cpp + ATR_svnt.cpp + } +} + + +project(ATR_exec) : ciao_component { + after += ATR_svnt + sharedname = ATR_exec + libs += ATR_stub ATR_svnt + + idlflags += -Wb,export_macro=ATR_EXEC_Export -Wb,export_include=ATR_exec_export.h + dynamicflags = ATR_EXEC_BUILD_DLL + + IDL_Files { + ATREDEI.idl + } + + Source_Files { + ATREIC.cpp + ATR_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/ATR/ATR_exec_export.h b/TAO/CIAO/examples/UAV/ATR/ATR_exec_export.h new file mode 100644 index 00000000000..43a46281418 --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ATR_EXEC +// ------------------------------ +#ifndef ATR_EXEC_EXPORT_H +#define ATR_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ATR_EXEC_HAS_DLL) +# define ATR_EXEC_HAS_DLL 1 +#endif /* ! ATR_EXEC_HAS_DLL */ + +#if defined (ATR_EXEC_HAS_DLL) && (ATR_EXEC_HAS_DLL == 1) +# if defined (ATR_EXEC_BUILD_DLL) +# define ATR_EXEC_Export ACE_Proper_Export_Flag +# define ATR_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ATR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ATR_EXEC_BUILD_DLL */ +# define ATR_EXEC_Export ACE_Proper_Import_Flag +# define ATR_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ATR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ATR_EXEC_BUILD_DLL */ +#else /* ATR_EXEC_HAS_DLL == 1 */ +# define ATR_EXEC_Export +# define ATR_EXEC_SINGLETON_DECLARATION(T) +# define ATR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ATR_EXEC_HAS_DLL == 1 */ + +// Set ATR_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ATR_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define ATR_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ATR_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ATR_EXEC_NTRACE */ + +#if (ATR_EXEC_NTRACE == 1) +# define ATR_EXEC_TRACE(X) +#else /* (ATR_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ATR_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ATR_EXEC_NTRACE == 1) */ + +#endif /* ATR_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/ATR/ATR_stub_export.h b/TAO/CIAO/examples/UAV/ATR/ATR_stub_export.h new file mode 100644 index 00000000000..39a2f4a6983 --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ATR_STUB +// ------------------------------ +#ifndef ATR_STUB_EXPORT_H +#define ATR_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ATR_STUB_HAS_DLL) +# define ATR_STUB_HAS_DLL 1 +#endif /* ! ATR_STUB_HAS_DLL */ + +#if defined (ATR_STUB_HAS_DLL) && (ATR_STUB_HAS_DLL == 1) +# if defined (ATR_STUB_BUILD_DLL) +# define ATR_STUB_Export ACE_Proper_Export_Flag +# define ATR_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ATR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ATR_STUB_BUILD_DLL */ +# define ATR_STUB_Export ACE_Proper_Import_Flag +# define ATR_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ATR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ATR_STUB_BUILD_DLL */ +#else /* ATR_STUB_HAS_DLL == 1 */ +# define ATR_STUB_Export +# define ATR_STUB_SINGLETON_DECLARATION(T) +# define ATR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ATR_STUB_HAS_DLL == 1 */ + +// Set ATR_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ATR_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define ATR_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ATR_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ATR_STUB_NTRACE */ + +#if (ATR_STUB_NTRACE == 1) +# define ATR_STUB_TRACE(X) +#else /* (ATR_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ATR_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ATR_STUB_NTRACE == 1) */ + +#endif /* ATR_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/ATR/ATR_svnt_export.h b/TAO/CIAO/examples/UAV/ATR/ATR_svnt_export.h new file mode 100644 index 00000000000..42ab09f5a90 --- /dev/null +++ b/TAO/CIAO/examples/UAV/ATR/ATR_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ATR_SVNT +// ------------------------------ +#ifndef ATR_SVNT_EXPORT_H +#define ATR_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ATR_SVNT_HAS_DLL) +# define ATR_SVNT_HAS_DLL 1 +#endif /* ! ATR_SVNT_HAS_DLL */ + +#if defined (ATR_SVNT_HAS_DLL) && (ATR_SVNT_HAS_DLL == 1) +# if defined (ATR_SVNT_BUILD_DLL) +# define ATR_SVNT_Export ACE_Proper_Export_Flag +# define ATR_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ATR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ATR_SVNT_BUILD_DLL */ +# define ATR_SVNT_Export ACE_Proper_Import_Flag +# define ATR_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ATR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ATR_SVNT_BUILD_DLL */ +#else /* ATR_SVNT_HAS_DLL == 1 */ +# define ATR_SVNT_Export +# define ATR_SVNT_SINGLETON_DECLARATION(T) +# define ATR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ATR_SVNT_HAS_DLL == 1 */ + +// Set ATR_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ATR_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define ATR_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ATR_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ATR_SVNT_NTRACE */ + +#if (ATR_SVNT_NTRACE == 1) +# define ATR_SVNT_TRACE(X) +#else /* (ATR_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ATR_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ATR_SVNT_NTRACE == 1) */ + +#endif /* ATR_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/BBN_UAV.idl b/TAO/CIAO/examples/UAV/BBN_UAV.idl new file mode 100644 index 00000000000..899fddcbe07 --- /dev/null +++ b/TAO/CIAO/examples/UAV/BBN_UAV.idl @@ -0,0 +1,50 @@ +// $Id$ +//============================================================================= +/** + * @file BBN_UAV.idl + * + * Definition of events, and used in the BBN_UAV module. + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= + +#ifndef CIAO_BBN_UAV_IDL +#define CIAO_BBN_UAV_IDL + +#include "Components.idl" + +// @@NOTE: Do we need a pragma prefix. Anyway its broken now in TAO.. +// #pragma prefix "" + +module BBN_UAV +{ + + /** + * @eventtype + */ + eventtype TargetLocated {}; + + /** + * @eventtype + */ + eventtype PrepareCapture {}; + + /** + * @eventtype + */ + eventtype StartCapture {}; + + /** + * @eventtype + */ + eventtype TargetRecognized {}; + + /** + * @eventtype + */ + eventtype EngageTarget {}; + +}; + +#endif /*CIAO_BBN_UAV_IDL*/ diff --git a/TAO/CIAO/examples/UAV/BBN_UAV.mpc b/TAO/CIAO/examples/UAV/BBN_UAV.mpc new file mode 100644 index 00000000000..5640d16ea4b --- /dev/null +++ b/TAO/CIAO/examples/UAV/BBN_UAV.mpc @@ -0,0 +1,34 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl -n BBN_UAV" + +project(BBN_UAV_stub): ciao_client { + + sharedname = BBN_UAV_stub + idlflags += -Wb,stub_export_macro=BBN_UAV_STUB_Export -Wb,stub_export_include=BBN_UAV_stub_export.h -Wb,skel_export_macro=BBN_UAV_SVNT_Export -Wb,skel_export_include=BBN_UAV_svnt_export.h + dynamicflags = BBN_UAV_STUB_BUILD_DLL + + IDL_Files { + BBN_UAV.idl + } + + Source_Files { + BBN_UAVC.cpp + } +} + +project(BBN_UAV_svnt) : ciao_server { + after += BBN_UAV_stub + sharedname = BBN_UAV_svnt + libs += BBN_UAV_stub + + idlflags += -Wb,export_macro=BBN_UAV_SVNT_Export -Wb,export_include=BBN_UAV_svnt_export.h + dynamicflags = BBN_UAV_SVNT_BUILD_DLL + + Source_Files { + BBN_UAVS.cpp + } +} + + + + diff --git a/TAO/CIAO/examples/UAV/BBN_UAV_stub_export.h b/TAO/CIAO/examples/UAV/BBN_UAV_stub_export.h new file mode 100644 index 00000000000..8f3075772bc --- /dev/null +++ b/TAO/CIAO/examples/UAV/BBN_UAV_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl BBN_UAV_STUB +// ------------------------------ +#ifndef BBN_UAV_STUB_EXPORT_H +#define BBN_UAV_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (BBN_UAV_STUB_HAS_DLL) +# define BBN_UAV_STUB_HAS_DLL 1 +#endif /* ! BBN_UAV_STUB_HAS_DLL */ + +#if defined (BBN_UAV_STUB_HAS_DLL) && (BBN_UAV_STUB_HAS_DLL == 1) +# if defined (BBN_UAV_STUB_BUILD_DLL) +# define BBN_UAV_STUB_Export ACE_Proper_Export_Flag +# define BBN_UAV_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define BBN_UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* BBN_UAV_STUB_BUILD_DLL */ +# define BBN_UAV_STUB_Export ACE_Proper_Import_Flag +# define BBN_UAV_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define BBN_UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* BBN_UAV_STUB_BUILD_DLL */ +#else /* BBN_UAV_STUB_HAS_DLL == 1 */ +# define BBN_UAV_STUB_Export +# define BBN_UAV_STUB_SINGLETON_DECLARATION(T) +# define BBN_UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* BBN_UAV_STUB_HAS_DLL == 1 */ + +// Set BBN_UAV_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (BBN_UAV_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define BBN_UAV_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define BBN_UAV_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !BBN_UAV_STUB_NTRACE */ + +#if (BBN_UAV_STUB_NTRACE == 1) +# define BBN_UAV_STUB_TRACE(X) +#else /* (BBN_UAV_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define BBN_UAV_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (BBN_UAV_STUB_NTRACE == 1) */ + +#endif /* BBN_UAV_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/BBN_UAV_svnt_export.h b/TAO/CIAO/examples/UAV/BBN_UAV_svnt_export.h new file mode 100644 index 00000000000..17425acd277 --- /dev/null +++ b/TAO/CIAO/examples/UAV/BBN_UAV_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl BBN_UAV_SVNT +// ------------------------------ +#ifndef BBN_UAV_SVNT_EXPORT_H +#define BBN_UAV_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (BBN_UAV_SVNT_HAS_DLL) +# define BBN_UAV_SVNT_HAS_DLL 1 +#endif /* ! BBN_UAV_SVNT_HAS_DLL */ + +#if defined (BBN_UAV_SVNT_HAS_DLL) && (BBN_UAV_SVNT_HAS_DLL == 1) +# if defined (BBN_UAV_SVNT_BUILD_DLL) +# define BBN_UAV_SVNT_Export ACE_Proper_Export_Flag +# define BBN_UAV_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define BBN_UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* BBN_UAV_SVNT_BUILD_DLL */ +# define BBN_UAV_SVNT_Export ACE_Proper_Import_Flag +# define BBN_UAV_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define BBN_UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* BBN_UAV_SVNT_BUILD_DLL */ +#else /* BBN_UAV_SVNT_HAS_DLL == 1 */ +# define BBN_UAV_SVNT_Export +# define BBN_UAV_SVNT_SINGLETON_DECLARATION(T) +# define BBN_UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* BBN_UAV_SVNT_HAS_DLL == 1 */ + +// Set BBN_UAV_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (BBN_UAV_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define BBN_UAV_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define BBN_UAV_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !BBN_UAV_SVNT_NTRACE */ + +#if (BBN_UAV_SVNT_NTRACE == 1) +# define BBN_UAV_SVNT_TRACE(X) +#else /* (BBN_UAV_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define BBN_UAV_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (BBN_UAV_SVNT_NTRACE == 1) */ + +#endif /* BBN_UAV_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC.cidl b/TAO/CIAO/examples/UAV/CAOC/CAOC.cidl new file mode 100644 index 00000000000..69b09307c6b --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef CAOC_CIDL +#define CAOC_CIDL + +#include "CAOC.idl" + +composition session CAOC_Impl +{ + home executor CAOCHome_Exec + { + implements BBN_UAV::CAOCHome; + manages CAOC_Exec; + }; +}; + +#endif /* CAOC_CIDL */ diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC.idl b/TAO/CIAO/examples/UAV/CAOC/CAOC.idl new file mode 100644 index 00000000000..f00fea092ed --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC.idl @@ -0,0 +1,29 @@ +//$Id$ +//============================================================================= +/** + * @file CAOC.idl + * + * Definition of the CAOC component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_CAOC_IDL +#define CIAO_CAOC_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component CAOC + { + publishes PrepareCapture prepare_capture; + consumes TargetLocated target_located; + }; + + home CAOCHome manages CAOC + { + }; +}; + +#endif /*CIAO_CAOC_IDL */ diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC.mpc b/TAO/CIAO/examples/UAV/CAOC/CAOC.mpc new file mode 100644 index 00000000000..48542a9439a --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl CAOC" + +project(CAOC_stub): ciao_client { + + sharedname = CAOC_stub + idlflags += -Wb,stub_export_macro=CAOC_STUB_Export -Wb,stub_export_include=CAOC_stub_export.h -Wb,skel_export_macro=CAOC_SVNT_Export -Wb,skel_export_include=CAOC_svnt_export.h + dynamicflags = CAOC_STUB_BUILD_DLL + + IDL_Files { + CAOC.idl + } + + Source_Files { + CAOCC.cpp + } +} + +project(CAOC_svnt) : ciao_servant { + after += CAOC_stub + sharedname = CAOC_svnt + libs += CAOC_stub + + idlflags += -Wb,export_macro=CAOC_SVNT_Export -Wb,export_include=CAOC_svnt_export.h + dynamicflags = CAOC_SVNT_BUILD_DLL + + CIDL_Files { + CAOC.cidl + } + + IDL_Files { + CAOCE.idl + } + + Source_Files { + CAOCEC.cpp + CAOCS.cpp + CAOC_svnt.cpp + } +} + + +project(CAOC_exec) : ciao_component { + after += CAOC_svnt + sharedname = CAOC_exec + libs += CAOC_stub CAOC_svnt + + idlflags += -Wb,export_macro=CAOC_EXEC_Export -Wb,export_include=CAOC_exec_export.h + dynamicflags = CAOC_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + CAOC_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC_exec_export.h b/TAO/CIAO/examples/UAV/CAOC/CAOC_exec_export.h new file mode 100644 index 00000000000..b6e2ce2beeb --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl CAOC_EXEC +// ------------------------------ +#ifndef CAOC_EXEC_EXPORT_H +#define CAOC_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (CAOC_EXEC_HAS_DLL) +# define CAOC_EXEC_HAS_DLL 1 +#endif /* ! CAOC_EXEC_HAS_DLL */ + +#if defined (CAOC_EXEC_HAS_DLL) && (CAOC_EXEC_HAS_DLL == 1) +# if defined (CAOC_EXEC_BUILD_DLL) +# define CAOC_EXEC_Export ACE_Proper_Export_Flag +# define CAOC_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define CAOC_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* CAOC_EXEC_BUILD_DLL */ +# define CAOC_EXEC_Export ACE_Proper_Import_Flag +# define CAOC_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define CAOC_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* CAOC_EXEC_BUILD_DLL */ +#else /* CAOC_EXEC_HAS_DLL == 1 */ +# define CAOC_EXEC_Export +# define CAOC_EXEC_SINGLETON_DECLARATION(T) +# define CAOC_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* CAOC_EXEC_HAS_DLL == 1 */ + +// Set CAOC_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (CAOC_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define CAOC_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define CAOC_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !CAOC_EXEC_NTRACE */ + +#if (CAOC_EXEC_NTRACE == 1) +# define CAOC_EXEC_TRACE(X) +#else /* (CAOC_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define CAOC_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (CAOC_EXEC_NTRACE == 1) */ + +#endif /* CAOC_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC_stub_export.h b/TAO/CIAO/examples/UAV/CAOC/CAOC_stub_export.h new file mode 100644 index 00000000000..73d2ec80c89 --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl CAOC_STUB +// ------------------------------ +#ifndef CAOC_STUB_EXPORT_H +#define CAOC_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (CAOC_STUB_HAS_DLL) +# define CAOC_STUB_HAS_DLL 1 +#endif /* ! CAOC_STUB_HAS_DLL */ + +#if defined (CAOC_STUB_HAS_DLL) && (CAOC_STUB_HAS_DLL == 1) +# if defined (CAOC_STUB_BUILD_DLL) +# define CAOC_STUB_Export ACE_Proper_Export_Flag +# define CAOC_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define CAOC_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* CAOC_STUB_BUILD_DLL */ +# define CAOC_STUB_Export ACE_Proper_Import_Flag +# define CAOC_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define CAOC_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* CAOC_STUB_BUILD_DLL */ +#else /* CAOC_STUB_HAS_DLL == 1 */ +# define CAOC_STUB_Export +# define CAOC_STUB_SINGLETON_DECLARATION(T) +# define CAOC_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* CAOC_STUB_HAS_DLL == 1 */ + +// Set CAOC_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (CAOC_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define CAOC_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define CAOC_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !CAOC_STUB_NTRACE */ + +#if (CAOC_STUB_NTRACE == 1) +# define CAOC_STUB_TRACE(X) +#else /* (CAOC_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define CAOC_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (CAOC_STUB_NTRACE == 1) */ + +#endif /* CAOC_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/CAOC/CAOC_svnt_export.h b/TAO/CIAO/examples/UAV/CAOC/CAOC_svnt_export.h new file mode 100644 index 00000000000..873a7711073 --- /dev/null +++ b/TAO/CIAO/examples/UAV/CAOC/CAOC_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl CAOC_SVNT +// ------------------------------ +#ifndef CAOC_SVNT_EXPORT_H +#define CAOC_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (CAOC_SVNT_HAS_DLL) +# define CAOC_SVNT_HAS_DLL 1 +#endif /* ! CAOC_SVNT_HAS_DLL */ + +#if defined (CAOC_SVNT_HAS_DLL) && (CAOC_SVNT_HAS_DLL == 1) +# if defined (CAOC_SVNT_BUILD_DLL) +# define CAOC_SVNT_Export ACE_Proper_Export_Flag +# define CAOC_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define CAOC_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* CAOC_SVNT_BUILD_DLL */ +# define CAOC_SVNT_Export ACE_Proper_Import_Flag +# define CAOC_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define CAOC_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* CAOC_SVNT_BUILD_DLL */ +#else /* CAOC_SVNT_HAS_DLL == 1 */ +# define CAOC_SVNT_Export +# define CAOC_SVNT_SINGLETON_DECLARATION(T) +# define CAOC_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* CAOC_SVNT_HAS_DLL == 1 */ + +// Set CAOC_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (CAOC_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define CAOC_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define CAOC_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !CAOC_SVNT_NTRACE */ + +#if (CAOC_SVNT_NTRACE == 1) +# define CAOC_SVNT_TRACE(X) +#else /* (CAOC_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define CAOC_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (CAOC_SVNT_NTRACE == 1) */ + +#endif /* CAOC_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement.cidl b/TAO/CIAO/examples/UAV/Engagement/Engagement.cidl new file mode 100644 index 00000000000..150f1854cbb --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef ENGAGEMENT_CIDL +#define ENGAGEMENT_CIDL + +#include "Engagement.idl" + +composition session Engagement_Impl +{ + home executor EngagementHome_Exec + { + implements BBN_UAV::EngagementHome; + manages Engagement_Exec; + }; +}; + +#endif /* ENGAGEMENT_CIDL */ diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement.idl b/TAO/CIAO/examples/UAV/Engagement/Engagement.idl new file mode 100644 index 00000000000..99d6c8def31 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement.idl @@ -0,0 +1,29 @@ +//$Id$ +//============================================================================= +/** + * @file Engagement.idl + * + * Definition of the Engagement component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_ENGAGEMENT_IDL +#define CIAO_ENGAGEMENT_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component Engagement + { + publishes EngageTarget engage_target; + consumes TargetRecognized target_recognized; + }; + + home EngagementHome manages Engagement + { + }; +}; + +#endif /*CIAO_ENGAGEMENT_IDL */ diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement.mpc b/TAO/CIAO/examples/UAV/Engagement/Engagement.mpc new file mode 100644 index 00000000000..a880f0df76e --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl Engagement" + +project(Engagement_stub): ciao_client { + + sharedname = Engagement_stub + idlflags += -Wb,stub_export_macro=ENGAGEMENT_STUB_Export -Wb,stub_export_include=Engagement_stub_export.h -Wb,skel_export_macro=ENGAGEMENT_SVNT_Export -Wb,skel_export_include=Engagement_svnt_export.h + dynamicflags = ENGAGEMENT_STUB_BUILD_DLL + + IDL_Files { + Engagement.idl + } + + Source_Files { + EngagementC.cpp + } +} + +project(Engagement_svnt) : ciao_servant { + after += Engagement_stub + sharedname = Engagement_svnt + libs += Engagement_stub + + idlflags += -Wb,export_macro=ENGAGEMENT_SVNT_Export -Wb,export_include=Engagement_svnt_export.h + dynamicflags = ENGAGEMENT_SVNT_BUILD_DLL + + CIDL_Files { + Engagement.cidl + } + + IDL_Files { + EngagementE.idl + } + + Source_Files { + EngagementEC.cpp + EngagementS.cpp + Engagement_svnt.cpp + } +} + + +project(Engagement_exec) : ciao_component { + after += Engagement_svnt + sharedname = Engagement_exec + libs += Engagement_stub Engagement_svnt + + idlflags += -Wb,export_macro=ENGAGEMENT_EXEC_Export -Wb,export_include=Engagement_exec_export.h + dynamicflags = ENGAGEMENT_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + Engagement_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement_exec_export.h b/TAO/CIAO/examples/UAV/Engagement/Engagement_exec_export.h new file mode 100644 index 00000000000..cf0173c8779 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ENGAGEMENT_EXEC +// ------------------------------ +#ifndef ENGAGEMENT_EXEC_EXPORT_H +#define ENGAGEMENT_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ENGAGEMENT_EXEC_HAS_DLL) +# define ENGAGEMENT_EXEC_HAS_DLL 1 +#endif /* ! ENGAGEMENT_EXEC_HAS_DLL */ + +#if defined (ENGAGEMENT_EXEC_HAS_DLL) && (ENGAGEMENT_EXEC_HAS_DLL == 1) +# if defined (ENGAGEMENT_EXEC_BUILD_DLL) +# define ENGAGEMENT_EXEC_Export ACE_Proper_Export_Flag +# define ENGAGEMENT_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ENGAGEMENT_EXEC_BUILD_DLL */ +# define ENGAGEMENT_EXEC_Export ACE_Proper_Import_Flag +# define ENGAGEMENT_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ENGAGEMENT_EXEC_BUILD_DLL */ +#else /* ENGAGEMENT_EXEC_HAS_DLL == 1 */ +# define ENGAGEMENT_EXEC_Export +# define ENGAGEMENT_EXEC_SINGLETON_DECLARATION(T) +# define ENGAGEMENT_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ENGAGEMENT_EXEC_HAS_DLL == 1 */ + +// Set ENGAGEMENT_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ENGAGEMENT_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define ENGAGEMENT_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ENGAGEMENT_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ENGAGEMENT_EXEC_NTRACE */ + +#if (ENGAGEMENT_EXEC_NTRACE == 1) +# define ENGAGEMENT_EXEC_TRACE(X) +#else /* (ENGAGEMENT_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ENGAGEMENT_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ENGAGEMENT_EXEC_NTRACE == 1) */ + +#endif /* ENGAGEMENT_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement_stub_export.h b/TAO/CIAO/examples/UAV/Engagement/Engagement_stub_export.h new file mode 100644 index 00000000000..8400664d79a --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ENGAGEMENT_STUB +// ------------------------------ +#ifndef ENGAGEMENT_STUB_EXPORT_H +#define ENGAGEMENT_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ENGAGEMENT_STUB_HAS_DLL) +# define ENGAGEMENT_STUB_HAS_DLL 1 +#endif /* ! ENGAGEMENT_STUB_HAS_DLL */ + +#if defined (ENGAGEMENT_STUB_HAS_DLL) && (ENGAGEMENT_STUB_HAS_DLL == 1) +# if defined (ENGAGEMENT_STUB_BUILD_DLL) +# define ENGAGEMENT_STUB_Export ACE_Proper_Export_Flag +# define ENGAGEMENT_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ENGAGEMENT_STUB_BUILD_DLL */ +# define ENGAGEMENT_STUB_Export ACE_Proper_Import_Flag +# define ENGAGEMENT_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ENGAGEMENT_STUB_BUILD_DLL */ +#else /* ENGAGEMENT_STUB_HAS_DLL == 1 */ +# define ENGAGEMENT_STUB_Export +# define ENGAGEMENT_STUB_SINGLETON_DECLARATION(T) +# define ENGAGEMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ENGAGEMENT_STUB_HAS_DLL == 1 */ + +// Set ENGAGEMENT_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ENGAGEMENT_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define ENGAGEMENT_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ENGAGEMENT_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ENGAGEMENT_STUB_NTRACE */ + +#if (ENGAGEMENT_STUB_NTRACE == 1) +# define ENGAGEMENT_STUB_TRACE(X) +#else /* (ENGAGEMENT_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ENGAGEMENT_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ENGAGEMENT_STUB_NTRACE == 1) */ + +#endif /* ENGAGEMENT_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Engagement/Engagement_svnt_export.h b/TAO/CIAO/examples/UAV/Engagement/Engagement_svnt_export.h new file mode 100644 index 00000000000..ed6f5265b47 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Engagement/Engagement_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl ENGAGEMENT_SVNT +// ------------------------------ +#ifndef ENGAGEMENT_SVNT_EXPORT_H +#define ENGAGEMENT_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (ENGAGEMENT_SVNT_HAS_DLL) +# define ENGAGEMENT_SVNT_HAS_DLL 1 +#endif /* ! ENGAGEMENT_SVNT_HAS_DLL */ + +#if defined (ENGAGEMENT_SVNT_HAS_DLL) && (ENGAGEMENT_SVNT_HAS_DLL == 1) +# if defined (ENGAGEMENT_SVNT_BUILD_DLL) +# define ENGAGEMENT_SVNT_Export ACE_Proper_Export_Flag +# define ENGAGEMENT_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* ENGAGEMENT_SVNT_BUILD_DLL */ +# define ENGAGEMENT_SVNT_Export ACE_Proper_Import_Flag +# define ENGAGEMENT_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define ENGAGEMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* ENGAGEMENT_SVNT_BUILD_DLL */ +#else /* ENGAGEMENT_SVNT_HAS_DLL == 1 */ +# define ENGAGEMENT_SVNT_Export +# define ENGAGEMENT_SVNT_SINGLETON_DECLARATION(T) +# define ENGAGEMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* ENGAGEMENT_SVNT_HAS_DLL == 1 */ + +// Set ENGAGEMENT_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (ENGAGEMENT_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define ENGAGEMENT_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define ENGAGEMENT_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !ENGAGEMENT_SVNT_NTRACE */ + +#if (ENGAGEMENT_SVNT_NTRACE == 1) +# define ENGAGEMENT_SVNT_TRACE(X) +#else /* (ENGAGEMENT_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define ENGAGEMENT_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (ENGAGEMENT_SVNT_NTRACE == 1) */ + +#endif /* ENGAGEMENT_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Ground/Ground.cidl b/TAO/CIAO/examples/UAV/Ground/Ground.cidl new file mode 100644 index 00000000000..388a5327c00 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef GROUND_CIDL +#define GROUND_CIDL + +#include "Ground.idl" + +composition session Ground_Impl +{ + home executor GroundHome_Exec + { + implements BBN_UAV::GroundHome; + manages Ground_Exec; + }; +}; + +#endif /* GROUND_CIDL */ diff --git a/TAO/CIAO/examples/UAV/Ground/Ground.idl b/TAO/CIAO/examples/UAV/Ground/Ground.idl new file mode 100644 index 00000000000..4c8640183cd --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground.idl @@ -0,0 +1,29 @@ +//$Id$ +//============================================================================= +/** + * @file Ground.idl + * + * Definition of the Ground component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_GROUND_IDL +#define CIAO_GROUND_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component Ground + { + publishes StartCapture start_capture; + consumes PrepareCapture prepare_capture; + }; + + home GroundHome manages Ground + { + }; +}; + +#endif /*CIAO_GROUND_IDL */ diff --git a/TAO/CIAO/examples/UAV/Ground/Ground.mpc b/TAO/CIAO/examples/UAV/Ground/Ground.mpc new file mode 100644 index 00000000000..6044281e447 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl Ground" + +project(Ground_stub): ciao_client { + + sharedname = Ground_stub + idlflags += -Wb,stub_export_macro=GROUND_STUB_Export -Wb,stub_export_include=Ground_stub_export.h -Wb,skel_export_macro=GROUND_SVNT_Export -Wb,skel_export_include=Ground_svnt_export.h + dynamicflags = GROUND_STUB_BUILD_DLL + + IDL_Files { + Ground.idl + } + + Source_Files { + GroundC.cpp + } +} + +project(Ground_svnt) : ciao_servant { + after += Ground_stub + sharedname = Ground_svnt + libs += Ground_stub + + idlflags += -Wb,export_macro=GROUND_SVNT_Export -Wb,export_include=Ground_svnt_export.h + dynamicflags = GROUND_SVNT_BUILD_DLL + + CIDL_Files { + Ground.cidl + } + + IDL_Files { + GroundE.idl + } + + Source_Files { + GroundEC.cpp + GroundS.cpp + Ground_svnt.cpp + } +} + + +project(Ground_exec) : ciao_component { + after += Ground_svnt + sharedname = Ground_exec + libs += Ground_stub Ground_svnt + + idlflags += -Wb,export_macro=GROUND_EXEC_Export -Wb,export_include=Ground_exec_export.h + dynamicflags = GROUND_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + Ground_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/Ground/Ground_exec_export.h b/TAO/CIAO/examples/UAV/Ground/Ground_exec_export.h new file mode 100644 index 00000000000..4f139e41f47 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl GROUND_EXEC +// ------------------------------ +#ifndef GROUND_EXEC_EXPORT_H +#define GROUND_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (GROUND_EXEC_HAS_DLL) +# define GROUND_EXEC_HAS_DLL 1 +#endif /* ! GROUND_EXEC_HAS_DLL */ + +#if defined (GROUND_EXEC_HAS_DLL) && (GROUND_EXEC_HAS_DLL == 1) +# if defined (GROUND_EXEC_BUILD_DLL) +# define GROUND_EXEC_Export ACE_Proper_Export_Flag +# define GROUND_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define GROUND_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* GROUND_EXEC_BUILD_DLL */ +# define GROUND_EXEC_Export ACE_Proper_Import_Flag +# define GROUND_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define GROUND_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* GROUND_EXEC_BUILD_DLL */ +#else /* GROUND_EXEC_HAS_DLL == 1 */ +# define GROUND_EXEC_Export +# define GROUND_EXEC_SINGLETON_DECLARATION(T) +# define GROUND_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* GROUND_EXEC_HAS_DLL == 1 */ + +// Set GROUND_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (GROUND_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define GROUND_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define GROUND_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !GROUND_EXEC_NTRACE */ + +#if (GROUND_EXEC_NTRACE == 1) +# define GROUND_EXEC_TRACE(X) +#else /* (GROUND_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define GROUND_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (GROUND_EXEC_NTRACE == 1) */ + +#endif /* GROUND_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Ground/Ground_stub_export.h b/TAO/CIAO/examples/UAV/Ground/Ground_stub_export.h new file mode 100644 index 00000000000..fc3be0ef7d9 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl GROUND_STUB +// ------------------------------ +#ifndef GROUND_STUB_EXPORT_H +#define GROUND_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (GROUND_STUB_HAS_DLL) +# define GROUND_STUB_HAS_DLL 1 +#endif /* ! GROUND_STUB_HAS_DLL */ + +#if defined (GROUND_STUB_HAS_DLL) && (GROUND_STUB_HAS_DLL == 1) +# if defined (GROUND_STUB_BUILD_DLL) +# define GROUND_STUB_Export ACE_Proper_Export_Flag +# define GROUND_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define GROUND_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* GROUND_STUB_BUILD_DLL */ +# define GROUND_STUB_Export ACE_Proper_Import_Flag +# define GROUND_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define GROUND_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* GROUND_STUB_BUILD_DLL */ +#else /* GROUND_STUB_HAS_DLL == 1 */ +# define GROUND_STUB_Export +# define GROUND_STUB_SINGLETON_DECLARATION(T) +# define GROUND_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* GROUND_STUB_HAS_DLL == 1 */ + +// Set GROUND_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (GROUND_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define GROUND_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define GROUND_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !GROUND_STUB_NTRACE */ + +#if (GROUND_STUB_NTRACE == 1) +# define GROUND_STUB_TRACE(X) +#else /* (GROUND_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define GROUND_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (GROUND_STUB_NTRACE == 1) */ + +#endif /* GROUND_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/Ground/Ground_svnt_export.h b/TAO/CIAO/examples/UAV/Ground/Ground_svnt_export.h new file mode 100644 index 00000000000..579f68f6d95 --- /dev/null +++ b/TAO/CIAO/examples/UAV/Ground/Ground_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl GROUND_SVNT +// ------------------------------ +#ifndef GROUND_SVNT_EXPORT_H +#define GROUND_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (GROUND_SVNT_HAS_DLL) +# define GROUND_SVNT_HAS_DLL 1 +#endif /* ! GROUND_SVNT_HAS_DLL */ + +#if defined (GROUND_SVNT_HAS_DLL) && (GROUND_SVNT_HAS_DLL == 1) +# if defined (GROUND_SVNT_BUILD_DLL) +# define GROUND_SVNT_Export ACE_Proper_Export_Flag +# define GROUND_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define GROUND_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* GROUND_SVNT_BUILD_DLL */ +# define GROUND_SVNT_Export ACE_Proper_Import_Flag +# define GROUND_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define GROUND_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* GROUND_SVNT_BUILD_DLL */ +#else /* GROUND_SVNT_HAS_DLL == 1 */ +# define GROUND_SVNT_Export +# define GROUND_SVNT_SINGLETON_DECLARATION(T) +# define GROUND_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* GROUND_SVNT_HAS_DLL == 1 */ + +// Set GROUND_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (GROUND_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define GROUND_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define GROUND_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !GROUND_SVNT_NTRACE */ + +#if (GROUND_SVNT_NTRACE == 1) +# define GROUND_SVNT_TRACE(X) +#else /* (GROUND_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define GROUND_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (GROUND_SVNT_NTRACE == 1) */ + +#endif /* GROUND_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UAV/UAV.cidl b/TAO/CIAO/examples/UAV/UAV/UAV.cidl new file mode 100644 index 00000000000..85d2de3b669 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef UAV_CIDL +#define UAV_CIDL + +#include "UAV.idl" + +composition session UAV_Impl +{ + home executor UAVHome_Exec + { + implements BBN_UAV::UAVHome; + manages UAV_Exec; + }; +}; + +#endif /* UAV_CIDL */ diff --git a/TAO/CIAO/examples/UAV/UAV/UAV.idl b/TAO/CIAO/examples/UAV/UAV/UAV.idl new file mode 100644 index 00000000000..d21feea8ea1 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV.idl @@ -0,0 +1,29 @@ +//$Id$ +//============================================================================= +/** + * @file UAV.idl + * + * Definition of the UAV component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_UAV_IDL +#define CIAO_UAV_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component UAV + { + publishes TargetLocated target_located; + consumes StartCapture start_capture; + }; + + home UAVHome manages UAV + { + }; +}; + +#endif /*CIAO_BMDEVICE_IDL */ diff --git a/TAO/CIAO/examples/UAV/UAV/UAV.mpc b/TAO/CIAO/examples/UAV/UAV/UAV.mpc new file mode 100644 index 00000000000..6eb2870787e --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl UAV" + +project(UAV_stub): ciao_client { + + sharedname = UAV_stub + idlflags += -Wb,stub_export_macro=UAV_STUB_Export -Wb,stub_export_include=UAV_stub_export.h -Wb,skel_export_macro=UAV_SVNT_Export -Wb,skel_export_include=UAV_svnt_export.h + dynamicflags = UAV_STUB_BUILD_DLL + + IDL_Files { + UAV.idl + } + + Source_Files { + UAVC.cpp + } +} + +project(UAV_svnt) : ciao_servant { + after += UAV_stub + sharedname = UAV_svnt + libs += UAV_stub + + idlflags += -Wb,export_macro=UAV_SVNT_Export -Wb,export_include=UAV_svnt_export.h + dynamicflags = UAV_SVNT_BUILD_DLL + + CIDL_Files { + UAV.cidl + } + + IDL_Files { + UAVE.idl + } + + Source_Files { + UAVEC.cpp + UAVS.cpp + UAV_svnt.cpp + } +} + + +project(UAV_exec) : ciao_component { + after += UAV_svnt + sharedname = UAV_exec + libs += UAV_stub UAV_svnt + + idlflags += -Wb,export_macro=UAV_EXEC_Export -Wb,export_include=UAV_exec_export.h + dynamicflags = UAV_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + UAV_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/UAV/UAV_exec_export.h b/TAO/CIAO/examples/UAV/UAV/UAV_exec_export.h new file mode 100644 index 00000000000..738a8e64e57 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UAV_EXEC +// ------------------------------ +#ifndef UAV_EXEC_EXPORT_H +#define UAV_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UAV_EXEC_HAS_DLL) +# define UAV_EXEC_HAS_DLL 1 +#endif /* ! UAV_EXEC_HAS_DLL */ + +#if defined (UAV_EXEC_HAS_DLL) && (UAV_EXEC_HAS_DLL == 1) +# if defined (UAV_EXEC_BUILD_DLL) +# define UAV_EXEC_Export ACE_Proper_Export_Flag +# define UAV_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UAV_EXEC_BUILD_DLL */ +# define UAV_EXEC_Export ACE_Proper_Import_Flag +# define UAV_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UAV_EXEC_BUILD_DLL */ +#else /* UAV_EXEC_HAS_DLL == 1 */ +# define UAV_EXEC_Export +# define UAV_EXEC_SINGLETON_DECLARATION(T) +# define UAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UAV_EXEC_HAS_DLL == 1 */ + +// Set UAV_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UAV_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define UAV_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UAV_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UAV_EXEC_NTRACE */ + +#if (UAV_EXEC_NTRACE == 1) +# define UAV_EXEC_TRACE(X) +#else /* (UAV_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UAV_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UAV_EXEC_NTRACE == 1) */ + +#endif /* UAV_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UAV/UAV_stub_export.h b/TAO/CIAO/examples/UAV/UAV/UAV_stub_export.h new file mode 100644 index 00000000000..fd40bfb56be --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UAV_STUB +// ------------------------------ +#ifndef UAV_STUB_EXPORT_H +#define UAV_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UAV_STUB_HAS_DLL) +# define UAV_STUB_HAS_DLL 1 +#endif /* ! UAV_STUB_HAS_DLL */ + +#if defined (UAV_STUB_HAS_DLL) && (UAV_STUB_HAS_DLL == 1) +# if defined (UAV_STUB_BUILD_DLL) +# define UAV_STUB_Export ACE_Proper_Export_Flag +# define UAV_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UAV_STUB_BUILD_DLL */ +# define UAV_STUB_Export ACE_Proper_Import_Flag +# define UAV_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UAV_STUB_BUILD_DLL */ +#else /* UAV_STUB_HAS_DLL == 1 */ +# define UAV_STUB_Export +# define UAV_STUB_SINGLETON_DECLARATION(T) +# define UAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UAV_STUB_HAS_DLL == 1 */ + +// Set UAV_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UAV_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define UAV_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UAV_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UAV_STUB_NTRACE */ + +#if (UAV_STUB_NTRACE == 1) +# define UAV_STUB_TRACE(X) +#else /* (UAV_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UAV_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UAV_STUB_NTRACE == 1) */ + +#endif /* UAV_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UAV/UAV_svnt_export.h b/TAO/CIAO/examples/UAV/UAV/UAV_svnt_export.h new file mode 100644 index 00000000000..c72d73e2b83 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UAV/UAV_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UAV_SVNT +// ------------------------------ +#ifndef UAV_SVNT_EXPORT_H +#define UAV_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UAV_SVNT_HAS_DLL) +# define UAV_SVNT_HAS_DLL 1 +#endif /* ! UAV_SVNT_HAS_DLL */ + +#if defined (UAV_SVNT_HAS_DLL) && (UAV_SVNT_HAS_DLL == 1) +# if defined (UAV_SVNT_BUILD_DLL) +# define UAV_SVNT_Export ACE_Proper_Export_Flag +# define UAV_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UAV_SVNT_BUILD_DLL */ +# define UAV_SVNT_Export ACE_Proper_Import_Flag +# define UAV_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UAV_SVNT_BUILD_DLL */ +#else /* UAV_SVNT_HAS_DLL == 1 */ +# define UAV_SVNT_Export +# define UAV_SVNT_SINGLETON_DECLARATION(T) +# define UAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UAV_SVNT_HAS_DLL == 1 */ + +// Set UAV_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UAV_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define UAV_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UAV_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UAV_SVNT_NTRACE */ + +#if (UAV_SVNT_NTRACE == 1) +# define UAV_SVNT_TRACE(X) +#else /* (UAV_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UAV_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UAV_SVNT_NTRACE == 1) */ + +#endif /* UAV_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV.cidl b/TAO/CIAO/examples/UAV/UCAV/UCAV.cidl new file mode 100644 index 00000000000..77ebe08e375 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV.cidl @@ -0,0 +1,17 @@ +//$Id$ + +#ifndef UCAV_CIDL +#define UCAV_CIDL + +#include "UCAV.idl" + +composition session UCAV_Impl +{ + home executor UCAVHome_Exec + { + implements BBN_UAV::UCAVHome; + manages UCAV_Exec; + }; +}; + +#endif /* UCAV_CIDL */ diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV.idl b/TAO/CIAO/examples/UAV/UCAV/UCAV.idl new file mode 100644 index 00000000000..8055b50bcdd --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV.idl @@ -0,0 +1,28 @@ +//$Id$ +//============================================================================= +/** + * @file UCAV.idl + * + * Definition of the UCAV component + * + * @author George Edwards <g.edwards@vanderbilt.edu> + */ +//============================================================================= +#ifndef CIAO_UCAV_IDL +#define CIAO_UCAV_IDL + +#include "../BBN_UAV.idl" + +module BBN_UAV +{ + component UCAV + { + consumes EngageTarget engage_target; + }; + + home UCAVHome manages UCAV + { + }; +}; + +#endif /*CIAO_UCAV_IDL */ diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV.mpc b/TAO/CIAO/examples/UAV/UCAV/UCAV.mpc new file mode 100644 index 00000000000..782293216b2 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl UCAV" + +project(UCAV_stub): ciao_client { + + sharedname = UCAV_stub + idlflags += -Wb,stub_export_macro=UCAV_STUB_Export -Wb,stub_export_include=UCAV_stub_export.h -Wb,skel_export_macro=UCAV_SVNT_Export -Wb,skel_export_include=UCAV_svnt_export.h + dynamicflags = UCAV_STUB_BUILD_DLL + + IDL_Files { + UCAV.idl + } + + Source_Files { + UCAVC.cpp + } +} + +project(UCAV_svnt) : ciao_servant { + after += UCAV_stub + sharedname = UCAV_svnt + libs += UCAV_stub + + idlflags += -Wb,export_macro=UCAV_SVNT_Export -Wb,export_include=UCAV_svnt_export.h + dynamicflags = UCAV_SVNT_BUILD_DLL + + CIDL_Files { + UCAV.cidl + } + + IDL_Files { + UCAVE.idl + } + + Source_Files { + UCAVEC.cpp + UCAVS.cpp + UCAV_svnt.cpp + } +} + + +project(UCAV_exec) : ciao_component { + after += UCAV_svnt + sharedname = UCAV_exec + libs += UCAV_stub UCAV_svnt + + idlflags += -Wb,export_macro=UCAV_EXEC_Export -Wb,export_include=UCAV_exec_export.h + dynamicflags = UCAV_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + UCAV_exec.cpp + } +} + + + diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV_exec_export.h b/TAO/CIAO/examples/UAV/UCAV/UCAV_exec_export.h new file mode 100644 index 00000000000..3e8faf60245 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UCAV_EXEC +// ------------------------------ +#ifndef UCAV_EXEC_EXPORT_H +#define UCAV_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UCAV_EXEC_HAS_DLL) +# define UCAV_EXEC_HAS_DLL 1 +#endif /* ! UCAV_EXEC_HAS_DLL */ + +#if defined (UCAV_EXEC_HAS_DLL) && (UCAV_EXEC_HAS_DLL == 1) +# if defined (UCAV_EXEC_BUILD_DLL) +# define UCAV_EXEC_Export ACE_Proper_Export_Flag +# define UCAV_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UCAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UCAV_EXEC_BUILD_DLL */ +# define UCAV_EXEC_Export ACE_Proper_Import_Flag +# define UCAV_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UCAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UCAV_EXEC_BUILD_DLL */ +#else /* UCAV_EXEC_HAS_DLL == 1 */ +# define UCAV_EXEC_Export +# define UCAV_EXEC_SINGLETON_DECLARATION(T) +# define UCAV_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UCAV_EXEC_HAS_DLL == 1 */ + +// Set UCAV_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UCAV_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define UCAV_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UCAV_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UCAV_EXEC_NTRACE */ + +#if (UCAV_EXEC_NTRACE == 1) +# define UCAV_EXEC_TRACE(X) +#else /* (UCAV_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UCAV_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UCAV_EXEC_NTRACE == 1) */ + +#endif /* UCAV_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV_stub_export.h b/TAO/CIAO/examples/UAV/UCAV/UCAV_stub_export.h new file mode 100644 index 00000000000..fa793f29e3d --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UCAV_STUB +// ------------------------------ +#ifndef UCAV_STUB_EXPORT_H +#define UCAV_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UCAV_STUB_HAS_DLL) +# define UCAV_STUB_HAS_DLL 1 +#endif /* ! UCAV_STUB_HAS_DLL */ + +#if defined (UCAV_STUB_HAS_DLL) && (UCAV_STUB_HAS_DLL == 1) +# if defined (UCAV_STUB_BUILD_DLL) +# define UCAV_STUB_Export ACE_Proper_Export_Flag +# define UCAV_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UCAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UCAV_STUB_BUILD_DLL */ +# define UCAV_STUB_Export ACE_Proper_Import_Flag +# define UCAV_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UCAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UCAV_STUB_BUILD_DLL */ +#else /* UCAV_STUB_HAS_DLL == 1 */ +# define UCAV_STUB_Export +# define UCAV_STUB_SINGLETON_DECLARATION(T) +# define UCAV_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UCAV_STUB_HAS_DLL == 1 */ + +// Set UCAV_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UCAV_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define UCAV_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UCAV_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UCAV_STUB_NTRACE */ + +#if (UCAV_STUB_NTRACE == 1) +# define UCAV_STUB_TRACE(X) +#else /* (UCAV_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UCAV_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UCAV_STUB_NTRACE == 1) */ + +#endif /* UCAV_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/examples/UAV/UCAV/UCAV_svnt_export.h b/TAO/CIAO/examples/UAV/UCAV/UCAV_svnt_export.h new file mode 100644 index 00000000000..f448c23bcb6 --- /dev/null +++ b/TAO/CIAO/examples/UAV/UCAV/UCAV_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl UCAV_SVNT +// ------------------------------ +#ifndef UCAV_SVNT_EXPORT_H +#define UCAV_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (UCAV_SVNT_HAS_DLL) +# define UCAV_SVNT_HAS_DLL 1 +#endif /* ! UCAV_SVNT_HAS_DLL */ + +#if defined (UCAV_SVNT_HAS_DLL) && (UCAV_SVNT_HAS_DLL == 1) +# if defined (UCAV_SVNT_BUILD_DLL) +# define UCAV_SVNT_Export ACE_Proper_Export_Flag +# define UCAV_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define UCAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* UCAV_SVNT_BUILD_DLL */ +# define UCAV_SVNT_Export ACE_Proper_Import_Flag +# define UCAV_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define UCAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* UCAV_SVNT_BUILD_DLL */ +#else /* UCAV_SVNT_HAS_DLL == 1 */ +# define UCAV_SVNT_Export +# define UCAV_SVNT_SINGLETON_DECLARATION(T) +# define UCAV_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* UCAV_SVNT_HAS_DLL == 1 */ + +// Set UCAV_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (UCAV_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define UCAV_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define UCAV_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !UCAV_SVNT_NTRACE */ + +#if (UCAV_SVNT_NTRACE == 1) +# define UCAV_SVNT_TRACE(X) +#else /* (UCAV_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define UCAV_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (UCAV_SVNT_NTRACE == 1) */ + +#endif /* UCAV_SVNT_EXPORT_H */ + +// End of auto generated file. |