diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-02 17:21:54 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-02 17:21:54 +0200 |
| commit | 3fc5a341321c4c042bb464dbb1f62856fc2d31a4 (patch) | |
| tree | 1727a81eab338c3c4773b43d417b4f94668beb60 /manager | |
| parent | 844056b16ff8557c72138f920d57e4ce833b204a (diff) | |
Makefiles and skeletons for common and manager
- idl compiler is called
- add skeletons for libdistrio_common
- add skeletons for manager
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'manager')
| -rw-r--r-- | manager/Makefile | 31 | ||||
| -rw-r--r-- | manager/manager.cpp | 102 |
2 files changed, 133 insertions, 0 deletions
diff --git a/manager/Makefile b/manager/Makefile new file mode 100644 index 0000000..da7fd9b --- /dev/null +++ b/manager/Makefile @@ -0,0 +1,31 @@ +CC := $(CROSS_COMPILE)gcc +CXX := $(CROSS_COMPILE)g++ +LD := $(CROSS_COMPILE)g++ + +TAO_IDL := tao_idl + +DESTDIR := /usr + +EXEC = distrio-manager +OBJ = managerC.o managerS.o manager.o +IDL_CLEANFILES = managerC.cpp managerC.h managerI.h managerS.cpp managerS.h \ + managerC.inl + +all: idl $(OBJ) + $(LD) -o $(EXEC) $(OBJ) + +idl: + $(TAO_IDL) -GI -I../interfaces ../interfaces/manager.idl + rm -f managerI.cpp + +idl_clean: + rm -f $(IDL_CLEANFILES) + +clean: idl_clean + rm -f $(EXEC) + +install: all + cp -a $(EXEC) $(DESTDIR)/bin + +uninstall: + rm -f $(DESTDIR)/bin/$(EXEC) diff --git a/manager/manager.cpp b/manager/manager.cpp new file mode 100644 index 0000000..c6964e3 --- /dev/null +++ b/manager/manager.cpp @@ -0,0 +1,102 @@ +// -*- C++ -*- +// $Id$ + +/** + * Code generated by the The ACE ORB (TAO) IDL Compiler v2.1.2 + * TAO and the TAO IDL Compiler have been developed by: + * Center for Distributed Object Computing + * Washington University + * St. Louis, MO + * USA + * http://www.cs.wustl.edu/~schmidt/doc-center.html + * and + * Distributed Object Computing Laboratory + * University of California at Irvine + * Irvine, CA + * USA + * and + * Institute for Software Integrated Systems + * Vanderbilt University + * Nashville, TN + * USA + * http://www.isis.vanderbilt.edu/ + * + * Information about TAO is available at: + * http://www.cs.wustl.edu/~schmidt/TAO.html + **/ + +// TAO_IDL - Generated from +// be/be_codegen.cpp:1673 + +#include "managerI.h" + +// Implementation skeleton constructor +Distrio_Manager_i::Distrio_Manager_i (void) +{ +} + +// Implementation skeleton destructor +Distrio_Manager_i::~Distrio_Manager_i (void) +{ +} + +::Distrio::Error * Distrio_Manager_i::digital ( + ::Distrio::Digital_list_out io_list) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::analog ( + ::Distrio::Analog_list_out io_list) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::device ( + ::Distrio::Device_list_out dev_list) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::register_io_digital ( + ::Distrio::Analog_ptr io_ana) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::register_io_analog ( + ::Distrio::Digital_ptr io_dig) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::register_io_device ( + ::Distrio::Device_ptr io_dev) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::unregister_io_digital ( + ::Distrio::Digital_ptr io_dig) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::unregister_io_analog ( + ::Distrio::Analog_ptr io_ana) +{ + // Add your implementation here +} + +::Distrio::Error * Distrio_Manager_i::unregister_io_device ( + ::Distrio::Device_ptr io_dev) +{ + // Add your implementation here +} + +void Distrio_Manager_i::log_error ( + const ::Distrio::Error & error) +{ + // Add your implementation here +} + |
