root/vtcross/trunk/src/libvtcross/swig/cross.py @ 466

Revision 466, 18.3 KB (checked in by bhilburn, 15 years ago)

Adding SWIG files to the SCM.

Line 
1# This file was automatically generated by SWIG (http://www.swig.org).
2# Version 1.3.39
3#
4# Do not make changes to this file unless you know what you are doing--modify
5# the SWIG interface file instead.
6# This file is compatible with both classic and new-style classes.
7
8from sys import version_info
9if version_info >= (2,6,0):
10    def swig_import_helper():
11        from os.path import dirname
12        import imp
13        fp = None
14        try:
15            fp, pathname, description = imp.find_module('_cross', [dirname(__file__)])
16        except ImportError:
17            import _cross
18            return _cross
19        if fp is not None:
20            try:
21                _mod = imp.load_module('_cross', fp, pathname, description)
22            finally:
23                fp.close()
24                return _mod
25    _cross = swig_import_helper()
26    del swig_import_helper
27else:
28    import _cross
29del version_info
30try:
31    _swig_property = property
32except NameError:
33    pass # Python < 2.2 doesn't have 'property'.
34def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
35    if (name == "thisown"): return self.this.own(value)
36    if (name == "this"):
37        if type(value).__name__ == 'SwigPyObject':
38            self.__dict__[name] = value
39            return
40    method = class_type.__swig_setmethods__.get(name,None)
41    if method: return method(self,value)
42    if (not static) or hasattr(self,name):
43        self.__dict__[name] = value
44    else:
45        raise AttributeError("You cannot add attributes to %s" % self)
46
47def _swig_setattr(self,class_type,name,value):
48    return _swig_setattr_nondynamic(self,class_type,name,value,0)
49
50def _swig_getattr(self,class_type,name):
51    if (name == "thisown"): return self.this.own()
52    method = class_type.__swig_getmethods__.get(name,None)
53    if method: return method(self)
54    raise AttributeError(name)
55
56def _swig_repr(self):
57    try: strthis = "proxy of " + self.this.__repr__()
58    except: strthis = ""
59    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
60
61try:
62    _object = object
63    _newclass = 1
64except AttributeError:
65    class _object : pass
66    _newclass = 0
67
68
69class Radio_Info(_object):
70    __swig_setmethods__ = {}
71    __setattr__ = lambda self, name, value: _swig_setattr(self, Radio_Info, name, value)
72    __swig_getmethods__ = {}
73    __getattr__ = lambda self, name: _swig_getattr(self, Radio_Info, name)
74    __repr__ = _swig_repr
75    __swig_setmethods__["numUtilities"] = _cross.Radio_Info_numUtilities_set
76    __swig_getmethods__["numUtilities"] = _cross.Radio_Info_numUtilities_get
77    if _newclass:numUtilities = _swig_property(_cross.Radio_Info_numUtilities_get, _cross.Radio_Info_numUtilities_set)
78    __swig_setmethods__["numParameters"] = _cross.Radio_Info_numParameters_set
79    __swig_getmethods__["numParameters"] = _cross.Radio_Info_numParameters_get
80    if _newclass:numParameters = _swig_property(_cross.Radio_Info_numParameters_get, _cross.Radio_Info_numParameters_set)
81    __swig_setmethods__["numObservables"] = _cross.Radio_Info_numObservables_set
82    __swig_getmethods__["numObservables"] = _cross.Radio_Info_numObservables_get
83    if _newclass:numObservables = _swig_property(_cross.Radio_Info_numObservables_get, _cross.Radio_Info_numObservables_set)
84    __swig_setmethods__["policy_engine"] = _cross.Radio_Info_policy_engine_set
85    __swig_getmethods__["policy_engine"] = _cross.Radio_Info_policy_engine_get
86    if _newclass:policy_engine = _swig_property(_cross.Radio_Info_policy_engine_get, _cross.Radio_Info_policy_engine_set)
87    __swig_setmethods__["policy_socket"] = _cross.Radio_Info_policy_socket_set
88    __swig_getmethods__["policy_socket"] = _cross.Radio_Info_policy_socket_get
89    if _newclass:policy_socket = _swig_property(_cross.Radio_Info_policy_socket_get, _cross.Radio_Info_policy_socket_set)
90    __swig_setmethods__["ce_socket"] = _cross.Radio_Info_ce_socket_set
91    __swig_getmethods__["ce_socket"] = _cross.Radio_Info_ce_socket_get
92    if _newclass:ce_socket = _swig_property(_cross.Radio_Info_ce_socket_get, _cross.Radio_Info_ce_socket_set)
93    def __init__(self):
94        this = _cross.new_Radio_Info()
95        try: self.this.append(this)
96        except: self.this = this
97    __swig_destroy__ = _cross.delete_Radio_Info
98    __del__ = lambda self : None;
99Radio_Info_swigregister = _cross.Radio_Info_swigregister
100Radio_Info_swigregister(Radio_Info)
101
102class Utility(_object):
103    __swig_setmethods__ = {}
104    __setattr__ = lambda self, name, value: _swig_setattr(self, Utility, name, value)
105    __swig_getmethods__ = {}
106    __getattr__ = lambda self, name: _swig_getattr(self, Utility, name)
107    __repr__ = _swig_repr
108    __swig_setmethods__["name"] = _cross.Utility_name_set
109    __swig_getmethods__["name"] = _cross.Utility_name_get
110    if _newclass:name = _swig_property(_cross.Utility_name_get, _cross.Utility_name_set)
111    __swig_setmethods__["units"] = _cross.Utility_units_set
112    __swig_getmethods__["units"] = _cross.Utility_units_get
113    if _newclass:units = _swig_property(_cross.Utility_units_get, _cross.Utility_units_set)
114    __swig_setmethods__["goal"] = _cross.Utility_goal_set
115    __swig_getmethods__["goal"] = _cross.Utility_goal_get
116    if _newclass:goal = _swig_property(_cross.Utility_goal_get, _cross.Utility_goal_set)
117    __swig_setmethods__["target"] = _cross.Utility_target_set
118    __swig_getmethods__["target"] = _cross.Utility_target_get
119    if _newclass:target = _swig_property(_cross.Utility_target_get, _cross.Utility_target_set)
120    __swig_setmethods__["value"] = _cross.Utility_value_set
121    __swig_getmethods__["value"] = _cross.Utility_value_get
122    if _newclass:value = _swig_property(_cross.Utility_value_get, _cross.Utility_value_set)
123    def __init__(self, *args):
124        this = _cross.new_Utility(*args)
125        try: self.this.append(this)
126        except: self.this = this
127    __swig_destroy__ = _cross.delete_Utility
128    __del__ = lambda self : None;
129    def __getitem__(self, *args): return _cross.Utility___getitem__(self, *args)
130Utility_swigregister = _cross.Utility_swigregister
131Utility_swigregister(Utility)
132
133class Affect(_object):
134    __swig_setmethods__ = {}
135    __setattr__ = lambda self, name, value: _swig_setattr(self, Affect, name, value)
136    __swig_getmethods__ = {}
137    __getattr__ = lambda self, name: _swig_getattr(self, Affect, name)
138    __repr__ = _swig_repr
139    __swig_setmethods__["u"] = _cross.Affect_u_set
140    __swig_getmethods__["u"] = _cross.Affect_u_get
141    if _newclass:u = _swig_property(_cross.Affect_u_get, _cross.Affect_u_set)
142    __swig_setmethods__["relation"] = _cross.Affect_relation_set
143    __swig_getmethods__["relation"] = _cross.Affect_relation_get
144    if _newclass:relation = _swig_property(_cross.Affect_relation_get, _cross.Affect_relation_set)
145    def __init__(self):
146        this = _cross.new_Affect()
147        try: self.this.append(this)
148        except: self.this = this
149    __swig_destroy__ = _cross.delete_Affect
150    __del__ = lambda self : None;
151Affect_swigregister = _cross.Affect_swigregister
152Affect_swigregister(Affect)
153
154class Parameter(_object):
155    __swig_setmethods__ = {}
156    __setattr__ = lambda self, name, value: _swig_setattr(self, Parameter, name, value)
157    __swig_getmethods__ = {}
158    __getattr__ = lambda self, name: _swig_getattr(self, Parameter, name)
159    __repr__ = _swig_repr
160    __swig_setmethods__["name"] = _cross.Parameter_name_set
161    __swig_getmethods__["name"] = _cross.Parameter_name_get
162    if _newclass:name = _swig_property(_cross.Parameter_name_get, _cross.Parameter_name_set)
163    __swig_setmethods__["units"] = _cross.Parameter_units_set
164    __swig_getmethods__["units"] = _cross.Parameter_units_get
165    if _newclass:units = _swig_property(_cross.Parameter_units_get, _cross.Parameter_units_set)
166    __swig_setmethods__["min"] = _cross.Parameter_min_set
167    __swig_getmethods__["min"] = _cross.Parameter_min_get
168    if _newclass:min = _swig_property(_cross.Parameter_min_get, _cross.Parameter_min_set)
169    __swig_setmethods__["numAffects"] = _cross.Parameter_numAffects_set
170    __swig_getmethods__["numAffects"] = _cross.Parameter_numAffects_get
171    if _newclass:numAffects = _swig_property(_cross.Parameter_numAffects_get, _cross.Parameter_numAffects_set)
172    __swig_setmethods__["affection_list"] = _cross.Parameter_affection_list_set
173    __swig_getmethods__["affection_list"] = _cross.Parameter_affection_list_get
174    if _newclass:affection_list = _swig_property(_cross.Parameter_affection_list_get, _cross.Parameter_affection_list_set)
175    __swig_setmethods__["max"] = _cross.Parameter_max_set
176    __swig_getmethods__["max"] = _cross.Parameter_max_get
177    if _newclass:max = _swig_property(_cross.Parameter_max_get, _cross.Parameter_max_set)
178    __swig_setmethods__["step"] = _cross.Parameter_step_set
179    __swig_getmethods__["step"] = _cross.Parameter_step_get
180    if _newclass:step = _swig_property(_cross.Parameter_step_get, _cross.Parameter_step_set)
181    __swig_setmethods__["value"] = _cross.Parameter_value_set
182    __swig_getmethods__["value"] = _cross.Parameter_value_get
183    if _newclass:value = _swig_property(_cross.Parameter_value_get, _cross.Parameter_value_set)
184    def __init__(self, *args):
185        this = _cross.new_Parameter(*args)
186        try: self.this.append(this)
187        except: self.this = this
188    __swig_destroy__ = _cross.delete_Parameter
189    __del__ = lambda self : None;
190    def __getitem__(self, *args): return _cross.Parameter___getitem__(self, *args)
191Parameter_swigregister = _cross.Parameter_swigregister
192Parameter_swigregister(Parameter)
193
194class Observable(_object):
195    __swig_setmethods__ = {}
196    __setattr__ = lambda self, name, value: _swig_setattr(self, Observable, name, value)
197    __swig_getmethods__ = {}
198    __getattr__ = lambda self, name: _swig_getattr(self, Observable, name)
199    __repr__ = _swig_repr
200    __swig_setmethods__["name"] = _cross.Observable_name_set
201    __swig_getmethods__["name"] = _cross.Observable_name_get
202    if _newclass:name = _swig_property(_cross.Observable_name_get, _cross.Observable_name_set)
203    __swig_setmethods__["affection_list"] = _cross.Observable_affection_list_set
204    __swig_getmethods__["affection_list"] = _cross.Observable_affection_list_get
205    if _newclass:affection_list = _swig_property(_cross.Observable_affection_list_get, _cross.Observable_affection_list_set)
206    __swig_setmethods__["numAffects"] = _cross.Observable_numAffects_set
207    __swig_getmethods__["numAffects"] = _cross.Observable_numAffects_get
208    if _newclass:numAffects = _swig_property(_cross.Observable_numAffects_get, _cross.Observable_numAffects_set)
209    __swig_setmethods__["value"] = _cross.Observable_value_set
210    __swig_getmethods__["value"] = _cross.Observable_value_get
211    if _newclass:value = _swig_property(_cross.Observable_value_get, _cross.Observable_value_set)
212    def __init__(self, *args):
213        this = _cross.new_Observable(*args)
214        try: self.this.append(this)
215        except: self.this = this
216    __swig_destroy__ = _cross.delete_Observable
217    __del__ = lambda self : None;
218    def __getitem__(self, *args): return _cross.Observable___getitem__(self, *args)
219Observable_swigregister = _cross.Observable_swigregister
220Observable_swigregister(Observable)
221
222class Service(_object):
223    __swig_setmethods__ = {}
224    __setattr__ = lambda self, name, value: _swig_setattr(self, Service, name, value)
225    __swig_getmethods__ = {}
226    __getattr__ = lambda self, name: _swig_getattr(self, Service, name)
227    __repr__ = _swig_repr
228    __swig_setmethods__["name"] = _cross.Service_name_set
229    __swig_getmethods__["name"] = _cross.Service_name_get
230    if _newclass:name = _swig_property(_cross.Service_name_get, _cross.Service_name_set)
231    __swig_setmethods__["socketFD"] = _cross.Service_socketFD_set
232    __swig_getmethods__["socketFD"] = _cross.Service_socketFD_get
233    if _newclass:socketFD = _swig_property(_cross.Service_socketFD_get, _cross.Service_socketFD_set)
234    __swig_setmethods__["componentID"] = _cross.Service_componentID_set
235    __swig_getmethods__["componentID"] = _cross.Service_componentID_get
236    if _newclass:componentID = _swig_property(_cross.Service_componentID_get, _cross.Service_componentID_set)
237    __swig_setmethods__["num_conds"] = _cross.Service_num_conds_set
238    __swig_getmethods__["num_conds"] = _cross.Service_num_conds_get
239    if _newclass:num_conds = _swig_property(_cross.Service_num_conds_get, _cross.Service_num_conds_set)
240    __swig_setmethods__["parameter"] = _cross.Service_parameter_set
241    __swig_getmethods__["parameter"] = _cross.Service_parameter_get
242    if _newclass:parameter = _swig_property(_cross.Service_parameter_get, _cross.Service_parameter_set)
243    __swig_setmethods__["input"] = _cross.Service_input_set
244    __swig_getmethods__["input"] = _cross.Service_input_get
245    if _newclass:input = _swig_property(_cross.Service_input_get, _cross.Service_input_set)
246    __swig_setmethods__["output"] = _cross.Service_output_set
247    __swig_getmethods__["output"] = _cross.Service_output_get
248    if _newclass:output = _swig_property(_cross.Service_output_get, _cross.Service_output_set)
249    def __init__(self):
250        this = _cross.new_Service()
251        try: self.this.append(this)
252        except: self.this = this
253    __swig_destroy__ = _cross.delete_Service
254    __del__ = lambda self : None;
255Service_swigregister = _cross.Service_swigregister
256Service_swigregister(Service)
257
258class Mission(_object):
259    __swig_setmethods__ = {}
260    __setattr__ = lambda self, name, value: _swig_setattr(self, Mission, name, value)
261    __swig_getmethods__ = {}
262    __getattr__ = lambda self, name: _swig_getattr(self, Mission, name)
263    __repr__ = _swig_repr
264    __swig_setmethods__["name"] = _cross.Mission_name_set
265    __swig_getmethods__["name"] = _cross.Mission_name_get
266    if _newclass:name = _swig_property(_cross.Mission_name_get, _cross.Mission_name_set)
267    __swig_setmethods__["missionID"] = _cross.Mission_missionID_set
268    __swig_getmethods__["missionID"] = _cross.Mission_missionID_get
269    if _newclass:missionID = _swig_property(_cross.Mission_missionID_get, _cross.Mission_missionID_set)
270    __swig_setmethods__["numServices"] = _cross.Mission_numServices_set
271    __swig_getmethods__["numServices"] = _cross.Mission_numServices_get
272    if _newclass:numServices = _swig_property(_cross.Mission_numServices_get, _cross.Mission_numServices_set)
273    __swig_setmethods__["services"] = _cross.Mission_services_set
274    __swig_getmethods__["services"] = _cross.Mission_services_get
275    if _newclass:services = _swig_property(_cross.Mission_services_get, _cross.Mission_services_set)
276    __swig_setmethods__["input"] = _cross.Mission_input_set
277    __swig_getmethods__["input"] = _cross.Mission_input_get
278    if _newclass:input = _swig_property(_cross.Mission_input_get, _cross.Mission_input_set)
279    __swig_setmethods__["output"] = _cross.Mission_output_set
280    __swig_getmethods__["output"] = _cross.Mission_output_get
281    if _newclass:output = _swig_property(_cross.Mission_output_get, _cross.Mission_output_set)
282    def __init__(self):
283        this = _cross.new_Mission()
284        try: self.this.append(this)
285        except: self.this = this
286    __swig_destroy__ = _cross.delete_Mission
287    __del__ = lambda self : None;
288Mission_swigregister = _cross.Mission_swigregister
289Mission_swigregister(Mission)
290
291class CE_Reg(_object):
292    __swig_setmethods__ = {}
293    __setattr__ = lambda self, name, value: _swig_setattr(self, CE_Reg, name, value)
294    __swig_getmethods__ = {}
295    __getattr__ = lambda self, name: _swig_getattr(self, CE_Reg, name)
296    __repr__ = _swig_repr
297    __swig_setmethods__["ID_num"] = _cross.CE_Reg_ID_num_set
298    __swig_getmethods__["ID_num"] = _cross.CE_Reg_ID_num_get
299    if _newclass:ID_num = _swig_property(_cross.CE_Reg_ID_num_get, _cross.CE_Reg_ID_num_set)
300    __swig_setmethods__["FD"] = _cross.CE_Reg_FD_set
301    __swig_getmethods__["FD"] = _cross.CE_Reg_FD_get
302    if _newclass:FD = _swig_property(_cross.CE_Reg_FD_get, _cross.CE_Reg_FD_set)
303    def __init__(self):
304        this = _cross.new_CE_Reg()
305        try: self.this.append(this)
306        except: self.this = this
307    __swig_destroy__ = _cross.delete_CE_Reg
308    __del__ = lambda self : None;
309CE_Reg_swigregister = _cross.CE_Reg_swigregister
310CE_Reg_swigregister(CE_Reg)
311
312
313def ParseRadioConfiguration():
314  return _cross.ParseRadioConfiguration()
315ParseRadioConfiguration = _cross.ParseRadioConfiguration
316
317def ListCurrentRadioConfiguration():
318  return _cross.ListCurrentRadioConfiguration()
319ListCurrentRadioConfiguration = _cross.ListCurrentRadioConfiguration
320
321def GetRadioObservables():
322  return _cross.GetRadioObservables()
323GetRadioObservables = _cross.GetRadioObservables
324
325def GetRadioParameters():
326  return _cross.GetRadioParameters()
327GetRadioParameters = _cross.GetRadioParameters
328
329def GetRadioUtilities():
330  return _cross.GetRadioUtilities()
331GetRadioUtilities = _cross.GetRadioUtilities
332
333def GetConnectedCognitiveEngines():
334  return _cross.GetConnectedCognitiveEngines()
335GetConnectedCognitiveEngines = _cross.GetConnectedCognitiveEngines
336
337def GetConnectedPolicyEngines():
338  return _cross.GetConnectedPolicyEngines()
339GetConnectedPolicyEngines = _cross.GetConnectedPolicyEngines
340
341def GetConnectedManagementServiceLayers():
342  return _cross.GetConnectedManagementServiceLayers()
343GetConnectedManagementServiceLayers = _cross.GetConnectedManagementServiceLayers
344
345def GetConnectedComponents():
346  return _cross.GetConnectedComponents()
347GetConnectedComponents = _cross.GetConnectedComponents
348
349def GetComponentInformation(*args):
350  return _cross.GetComponentInformation(*args)
351GetComponentInformation = _cross.GetComponentInformation
352
353def GetOptimalParameters(*args):
354  return _cross.GetOptimalParameters(*args)
355GetOptimalParameters = _cross.GetOptimalParameters
356
357def UpdateParameterPerformance(*args):
358  return _cross.UpdateParameterPerformance(*args)
359UpdateParameterPerformance = _cross.UpdateParameterPerformance
360
361def ActivateComponent(*args):
362  return _cross.ActivateComponent(*args)
363ActivateComponent = _cross.ActivateComponent
364
365def DeactivateComponent(*args):
366  return _cross.DeactivateComponent(*args)
367DeactivateComponent = _cross.DeactivateComponent
368
369def DisconnectComponent(*args):
370  return _cross.DisconnectComponent(*args)
371DisconnectComponent = _cross.DisconnectComponent
372
373def SetActiveMission(*args):
374  return _cross.SetActiveMission(*args)
375SetActiveMission = _cross.SetActiveMission
376
377def Shutdown():
378  return _cross.Shutdown()
379Shutdown = _cross.Shutdown
380
381def GetNumParameters():
382  return _cross.GetNumParameters()
383GetNumParameters = _cross.GetNumParameters
384
385def GetNumObservables():
386  return _cross.GetNumObservables()
387GetNumObservables = _cross.GetNumObservables
388
389def GetNumUtilities():
390  return _cross.GetNumUtilities()
391GetNumUtilities = _cross.GetNumUtilities
392
393
Note: See TracBrowser for help on using the browser.