icub-client
iol2opc_IDL.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2018 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 // This is an automatically generated file.
10 // It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
11 
12 #ifndef YARP_THRIFT_GENERATOR_iol2opc_IDL
13 #define YARP_THRIFT_GENERATOR_iol2opc_IDL
14 
15 #include <yarp/os/Wire.h>
16 #include <yarp/os/idl/WireTypes.h>
17 
18 class iol2opc_IDL;
19 
20 
25 class iol2opc_IDL : public yarp::os::Wire {
26 public:
27  iol2opc_IDL();
35  virtual bool train_object(const std::string& name);
42  virtual bool remove_object(const std::string& name);
48  virtual bool remove_all();
55  virtual bool change_name(const std::string& old_name, const std::string& new_name);
61  virtual bool set_object_persistence(const std::string& sw);
66  virtual std::string get_object_persistence();
70  virtual void pause();
74  virtual void resume();
75  virtual bool read(yarp::os::ConnectionReader& connection) override;
76  virtual std::vector<std::string> help(const std::string& functionName="--all");
77 };
78 
79 #endif
virtual bool remove_all()
Remove all objects from the object-recognition database.
virtual void pause()
Pause module.
virtual bool read(yarp::os::ConnectionReader &connection) override
iol2opc_IDL IDL Interface to iol2opc service.
Definition: iol2opc_IDL.h:25
virtual bool train_object(const std::string &name)
Add a new object to the object-recognition database based on the selected blob.
virtual bool set_object_persistence(const std::string &sw)
Enable/disable object persistence.
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool change_name(const std::string &old_name, const std::string &new_name)
Change the name of an object.
virtual bool remove_object(const std::string &name)
Remove object with a given name from the object-recognition database.
virtual void resume()
Resume module.
virtual std::string get_object_persistence()
Return current status of object persistence.