From 297e389057b702bbeb99139a8c248cfccfc0724e Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 7 Jun 2012 23:56:05 +0200 Subject: digital out can now be controlled by simple_device - extended libdistrio_common to enable easy access Signed-off-by: Manuel Traut --- common/distrio_helper.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/distrio_helper.h') diff --git a/common/distrio_helper.h b/common/distrio_helper.h index 69a6ef0..b4d2d55 100644 --- a/common/distrio_helper.h +++ b/common/distrio_helper.h @@ -44,7 +44,9 @@ int init_corba (int argc, char **argv); /** register a digital io with a common name at the naming service */ int register_digital (Distrio_Digital_i *digital); /** lookup a digital io by a common name at the manager */ -Distrio::Digital_ptr lookup_digital (std::string _name); +void get_digital_list (Distrio::Digital_list_var *dig_list); +void lookup_digital (std::string _name, Distrio::Digital_list_var dig_list, + Distrio::Digital **ptr); /** register a device with a common name at the naming service */ int register_device (std::string _name, Distrio_Device_i *dev); /** run the orb - function blocks until orb shutdown */ -- cgit v1.2.3