summaryrefslogtreecommitdiff
path: root/modules/CIAO/examples/Display/Display_Base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/examples/Display/Display_Base')
-rw-r--r--modules/CIAO/examples/Display/Display_Base/Display_Base.idl46
-rw-r--r--modules/CIAO/examples/Display/Display_Base/Display_Base.mpc79
2 files changed, 125 insertions, 0 deletions
diff --git a/modules/CIAO/examples/Display/Display_Base/Display_Base.idl b/modules/CIAO/examples/Display/Display_Base/Display_Base.idl
new file mode 100644
index 00000000000..337d4101c2b
--- /dev/null
+++ b/modules/CIAO/examples/Display/Display_Base/Display_Base.idl
@@ -0,0 +1,46 @@
+// $Id$
+
+/**
+ * @file Display_Base.idl
+ *
+ * Definition of events, and common interfaces used in HUDisplay module.
+ *
+ * @author Nanbor Wang <nanbor@cs.wustl.edu>
+ */
+
+#ifndef HUDISPLAY_IDL
+#define HUDISPLAY_IDL
+
+#include <Components.idl>
+
+module HUDisplay
+{
+ /**
+ * @brief interface opmode defines the "operation mode" interface.
+ */
+ interface opmode
+ {
+ void start ();
+ void stop ();
+ boolean active ();
+ };
+
+ /**
+ * @brief a timed event that happens at some fix rate.
+ */
+ eventtype tick
+ {
+ // We could put a timestamp here if desired.
+ };
+
+ /**
+ * @brief interface position allows querying of a coordination.
+ */
+ interface position
+ {
+ long posx ();
+ long posy ();
+ };
+};
+
+#endif /* HUDISPLAY_IDL */
diff --git a/modules/CIAO/examples/Display/Display_Base/Display_Base.mpc b/modules/CIAO/examples/Display/Display_Base/Display_Base.mpc
new file mode 100644
index 00000000000..c25a86c9ce1
--- /dev/null
+++ b/modules/CIAO/examples/Display/Display_Base/Display_Base.mpc
@@ -0,0 +1,79 @@
+// $Id$
+// This file is generated with "generate_component_mpc.pl -n Display_Base"
+
+project(Display_Base_idl_gen) : componentidldefaults {
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=DISPLAY_BASE_STUB_Export \
+ -Wb,stub_export_include=Display_Base_stub_export.h \
+ -Wb,skel_export_macro=DISPLAY_BASE_SKEL_Export \
+ -Wb,skel_export_include=Display_Base_skel_export.h
+
+ IDL_Files {
+ Display_Base.idl
+ }
+}
+
+project(Display_Base_lem_gen) : ciaoidldefaults {
+ after += Display_Base_idl_gen
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=DISPLAY_BASE_STUB_Export \
+ -Wb,stub_export_include=Display_Base_stub_export.h \
+
+ IDL_Files {
+ Display_BaseE.idl
+ }
+}
+
+project(Display_Base_stub) : ccm_stub {
+ after += Display_Base_lem_gen
+ libout = ../lib
+ libpaths += ../lib
+
+ sharedname = Display_Base_stub
+ dynamicflags = DISPLAY_BASE_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Display_BaseC.cpp
+ Display_BaseEC.cpp
+ }
+
+ Header_Files {
+ Display_BaseC.h
+ Display_Base_stub_export.h
+ }
+
+ Inline_Files {
+ Display_BaseC.inl
+ }
+}
+
+project(Display_Base_skel) : ciao_executor {
+ after += Display_Base_stub
+ sharedname = Display_Base_skel
+ libs += Display_Base_stub
+ libout = ../lib
+ libpaths += ../lib
+
+ dynamicflags = DISPLAY_BASE_SKEL_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Display_BaseS.cpp
+ }
+
+ Header_Files {
+ Display_BaseS.h
+ Display_Base_skel_export.h
+ }
+
+ Inline_Files {
+ Display_BaseS.inl
+ }
+}
+
+