ConfigurationInterfaceI.h
Go to the documentation of this file.
1 /***************************************************************************
2  tag: The SourceWorks Tue Sep 7 00:55:18 CEST 2010 ConfigurationInterfaceI.h
3 
4  ConfigurationInterfaceI.h - description
5  -------------------
6  begin : Tue September 07 2010
7  copyright : (C) 2010 The SourceWorks
8  email : peter@thesourceworks.com
9 
10  ***************************************************************************
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU General Public *
13  * License as published by the Free Software Foundation; *
14  * version 2 of the License. *
15  * *
16  * As a special exception, you may use this file as part of a free *
17  * software library without restriction. Specifically, if other files *
18  * instantiate templates or use macros or inline functions from this *
19  * file, or you compile this file and link it with other files to *
20  * produce an executable, this file does not by itself cause the *
21  * resulting executable to be covered by the GNU General Public *
22  * License. This exception does not however invalidate any other *
23  * reasons why the executable file might be covered by the GNU General *
24  * Public License. *
25  * *
26  * This library is distributed in the hope that it will be useful, *
27  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
28  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
29  * Lesser General Public License for more details. *
30  * *
31  * You should have received a copy of the GNU General Public *
32  * License along with this library; if not, write to the Free Software *
33  * Foundation, Inc., 59 Temple Place, *
34  * Suite 330, Boston, MA 02111-1307 USA *
35  * *
36  ***************************************************************************/
37 
38 
39 // -*- C++ -*-
40 //
41 // $Id$
42 
43 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
44 // TAO and the TAO IDL Compiler have been developed by:
45 // Center for Distributed Object Computing
46 // Washington University
47 // St. Louis, MO
48 // USA
49 // http://www.cs.wustl.edu/~schmidt/doc-center.html
50 // and
51 // Distributed Object Computing Laboratory
52 // University of California at Irvine
53 // Irvine, CA
54 // USA
55 // http://doc.ece.uci.edu/
56 // and
57 // Institute for Software Integrated Systems
58 // Vanderbilt University
59 // Nashville, TN
60 // USA
61 // http://www.isis.vanderbilt.edu/
62 //
63 // Information about TAO is available at:
64 // http://www.cs.wustl.edu/~schmidt/TAO.html
65 
66 // TAO_IDL - Generated from
67 // ../../../ACE_wrappers/TAO/TAO_IDL/be/be_codegen.cpp:1133
68 
69 #ifndef ORO_CORBA_CONFIGURATIONINTERFACEI_H_
70 #define ORO_CORBA_CONFIGURATIONINTERFACEI_H_
71 
72 #include "corba.h"
73 #ifdef CORBA_IS_TAO
74 #include "ConfigurationInterfaceS.h"
75 #else
76 #include "ConfigurationInterfaceC.h"
77 #endif
78 
79 #include "../../ConfigurationInterface.hpp"
80 #include "../../PropertyBag.hpp"
81 
82 #if !defined (ACE_LACKS_PRAGMA_ONCE)
83 #pragma once
84 #endif /* ACE_LACKS_PRAGMA_ONCE */
85 
87  : public virtual POA_RTT::corba::CConfigurationInterface
88 {
91  PortableServer::POA_var mpoa;
92 
93  public:
94  //Constructor
95  RTT_corba_CConfigurationInterface_i ( RTT::ConfigurationInterface* ar, PortableServer::POA_ptr the_poa);
96  RTT_corba_CConfigurationInterface_i ( RTT::PropertyBag* bag, PortableServer::POA_ptr the_poa );
97  // Destructor
99 
100  virtual RTT::corba::CConfigurationInterface_ptr activate_this() {
101  PortableServer::ObjectId_var oid = mpoa->activate_object(this); // ref count=2
102  //_remove_ref(); // ref count=1
103  return _this();
104  }
105 
106  PortableServer::POA_ptr _default_POA();
107 
109  ::RTT::base::DataSourceBase::shared_ptr getPropertyDataSource(const std::string& value_name);
110 
111  virtual
112  ::RTT::corba::CConfigurationInterface::CAttributeNames * getAttributeList (
113  void);
114 
115  virtual
116  ::RTT::corba::CConfigurationInterface::CPropertyNames * getPropertyList (
117  void);
118 
119  virtual
120  ::CORBA::Any * getAttribute (
121  const char * name);
122 
123  virtual
124  ::CORBA::Boolean setAttribute (
125  const char * name,
126  const ::CORBA::Any & value);
127 
128  virtual
129  ::CORBA::Any * getProperty (
130  const char * name);
131 
132  virtual
133  ::CORBA::Boolean setProperty (
134  const char * name,
135  const ::CORBA::Any & value);
136 
137  CORBA::Boolean hasAttribute(const char* name);
138  CORBA::Boolean isAttributeAssignable(const char* name);
139  virtual
140  char * getAttributeType (
141  const char * name);
142 
143  virtual
144  char * getAttributeTypeName (
145  const char * name);
146 
147  virtual
148  char * attributeToString (
149  const char * name);
150 
151  virtual
152  CORBA::Boolean attributeFromString (
153  const char* name, const char* value
154  );
155 
156  CORBA::Boolean hasProperty(const char* name);
157  virtual
158  char * getPropertyType (
159  const char * name);
160 
161  virtual
162  char * getPropertyTypeName (
163  const char * name);
164 
165  virtual
166  char * propertyToString (
167  const char * name);
168 
169  virtual
170  CORBA::Boolean propertyFromString (
171  const char* name, const char* value
172  );
173 };
174 
175 
176 #endif /* CONFIGURATIONINTERFACEI_H_ */
177 
virtual ::CORBA::Boolean setAttribute(const char *name, const ::CORBA::Any &value)
virtual ::CORBA::Any * getAttribute(const char *name)
virtual ::RTT::corba::CConfigurationInterface::CPropertyNames * getPropertyList(void)
virtual ::RTT::corba::CConfigurationInterface::CAttributeNames * getAttributeList(void)
virtual char * getPropertyTypeName(const char *name)
A container for holding references to properties.
Definition: PropertyBag.hpp:96
virtual ::CORBA::Any * getProperty(const char *name)
CORBA::Boolean hasProperty(const char *name)
virtual char * attributeToString(const char *name)
::RTT::base::DataSourceBase::shared_ptr getAttributeDataSource(const std::string &value_name)
CORBA::Boolean hasAttribute(const char *name)
RTT_corba_CConfigurationInterface_i(RTT::ConfigurationInterface *ar, PortableServer::POA_ptr the_poa)
A class for keeping track of Attribute, Constant and Property objects of a TaskContext. It allows plugins and remote components to browse the attributes and properties of a TaskContext.
virtual char * propertyToString(const char *name)
virtual CORBA::Boolean propertyFromString(const char *name, const char *value)
virtual CORBA::Boolean attributeFromString(const char *name, const char *value)
virtual char * getAttributeTypeName(const char *name)
virtual ::CORBA::Boolean setProperty(const char *name, const ::CORBA::Any &value)
CORBA::Boolean isAttributeAssignable(const char *name)
boost::intrusive_ptr< DataSourceBase > shared_ptr
virtual char * getPropertyType(const char *name)
virtual RTT::corba::CConfigurationInterface_ptr activate_this()
::RTT::base::DataSourceBase::shared_ptr getPropertyDataSource(const std::string &value_name)
virtual char * getAttributeType(const char *name)


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:22