forked from tango-controls/cppTango-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassTango_1_1AttributeProxy.html
2043 lines (1910 loc) · 114 KB
/
classTango_1_1AttributeProxy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Tango Core Classes Reference: Tango::AttributeProxy Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Tango Core Classes Reference
 <span id="projectnumber">9.3.3</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classTango_1_1AttributeProxy.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="classTango_1_1AttributeProxy-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Tango::AttributeProxy Class Reference<div class="ingroups"><a class="el" href="group__Client.html">Client classes</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Easy to use interface to Tango device attribute.
<a href="classTango_1_1AttributeProxy.html#details">More...</a></p>
<p><code>#include "tango.h"</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr class="memitem:af54cba1f887abb8ef36db5a5a477b5d9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a> (string &<a class="el" href="classTango_1_1AttributeProxy.html#a8cb7eb5b0f09011511a35a04a4d5851c">name</a>)</td></tr>
<tr class="memdesc:af54cba1f887abb8ef36db5a5a477b5d9"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> object. <a href="#af54cba1f887abb8ef36db5a5a477b5d9">More...</a><br /></td></tr>
<tr class="separator:af54cba1f887abb8ef36db5a5a477b5d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8a6da05eb30b76b144557c8e20c5e81"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ab8a6da05eb30b76b144557c8e20c5e81">AttributeProxy</a> (const char *<a class="el" href="classTango_1_1AttributeProxy.html#a8cb7eb5b0f09011511a35a04a4d5851c">name</a>)</td></tr>
<tr class="memdesc:ab8a6da05eb30b76b144557c8e20c5e81"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> object. <a href="#ab8a6da05eb30b76b144557c8e20c5e81">More...</a><br /></td></tr>
<tr class="separator:ab8a6da05eb30b76b144557c8e20c5e81"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Miscellaneous methods</div></td></tr>
<tr class="memitem:a8cb7eb5b0f09011511a35a04a4d5851c"><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a8cb7eb5b0f09011511a35a04a4d5851c">name</a> ()</td></tr>
<tr class="memdesc:a8cb7eb5b0f09011511a35a04a4d5851c"><td class="mdescLeft"> </td><td class="mdescRight">Get attribute name. <a href="#a8cb7eb5b0f09011511a35a04a4d5851c">More...</a><br /></td></tr>
<tr class="separator:a8cb7eb5b0f09011511a35a04a4d5851c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae52a9e07a42cf0479aea39f158e957f2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTango_1_1DeviceProxy.html">DeviceProxy</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ae52a9e07a42cf0479aea39f158e957f2">get_device_proxy</a> ()</td></tr>
<tr class="memdesc:ae52a9e07a42cf0479aea39f158e957f2"><td class="mdescLeft"> </td><td class="mdescRight">Get associated <a class="el" href="classTango_1_1DeviceProxy.html" title="High level class which provides the client with an easy-to-use interface to TANGO devices.">DeviceProxy</a> instance. <a href="#ae52a9e07a42cf0479aea39f158e957f2">More...</a><br /></td></tr>
<tr class="separator:ae52a9e07a42cf0479aea39f158e957f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35c1411340ef0947044930bd794c78c8"><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a35c1411340ef0947044930bd794c78c8">status</a> ()</td></tr>
<tr class="memdesc:a35c1411340ef0947044930bd794c78c8"><td class="mdescLeft"> </td><td class="mdescRight">Get device status. <a href="#a35c1411340ef0947044930bd794c78c8">More...</a><br /></td></tr>
<tr class="separator:a35c1411340ef0947044930bd794c78c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b6e44665cbe3795fdf51c1bdfcc3455"><td class="memItemLeft" align="right" valign="top">virtual DevState </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a7b6e44665cbe3795fdf51c1bdfcc3455">state</a> ()</td></tr>
<tr class="memdesc:a7b6e44665cbe3795fdf51c1bdfcc3455"><td class="mdescLeft"> </td><td class="mdescRight">Get device state. <a href="#a7b6e44665cbe3795fdf51c1bdfcc3455">More...</a><br /></td></tr>
<tr class="separator:a7b6e44665cbe3795fdf51c1bdfcc3455"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a25983273509110295635516dc154129c"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a25983273509110295635516dc154129c">ping</a> ()</td></tr>
<tr class="memdesc:a25983273509110295635516dc154129c"><td class="mdescLeft"> </td><td class="mdescRight">Ping the device. <a href="#a25983273509110295635516dc154129c">More...</a><br /></td></tr>
<tr class="separator:a25983273509110295635516dc154129c"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Synchronous methods</div></td></tr>
<tr class="memitem:aa226b2ffd4e1919880e8a14f52851a79"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structTango_1_1AttributeInfoEx.html">AttributeInfoEx</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#aa226b2ffd4e1919880e8a14f52851a79">get_config</a> ()</td></tr>
<tr class="memdesc:aa226b2ffd4e1919880e8a14f52851a79"><td class="mdescLeft"> </td><td class="mdescRight">Get attribute configuration. <a href="#aa226b2ffd4e1919880e8a14f52851a79">More...</a><br /></td></tr>
<tr class="separator:aa226b2ffd4e1919880e8a14f52851a79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9ccb65756c54f27a84a35d8bea654ae"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ad9ccb65756c54f27a84a35d8bea654ae">set_config</a> (<a class="el" href="structTango_1_1AttributeInfo.html">AttributeInfo</a> &ai)</td></tr>
<tr class="memdesc:ad9ccb65756c54f27a84a35d8bea654ae"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute configuration. <a href="#ad9ccb65756c54f27a84a35d8bea654ae">More...</a><br /></td></tr>
<tr class="separator:ad9ccb65756c54f27a84a35d8bea654ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3dc74f8be387f704f4a44e14431b8adf"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a3dc74f8be387f704f4a44e14431b8adf">set_config</a> (<a class="el" href="structTango_1_1AttributeInfoEx.html">AttributeInfoEx</a> &ai)</td></tr>
<tr class="memdesc:a3dc74f8be387f704f4a44e14431b8adf"><td class="mdescLeft"> </td><td class="mdescRight">Set extended attribute configuration. <a href="#a3dc74f8be387f704f4a44e14431b8adf">More...</a><br /></td></tr>
<tr class="separator:a3dc74f8be387f704f4a44e14431b8adf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75523bd6d6703569a1ad769f1020059b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a75523bd6d6703569a1ad769f1020059b">read</a> ()</td></tr>
<tr class="memdesc:a75523bd6d6703569a1ad769f1020059b"><td class="mdescLeft"> </td><td class="mdescRight">Read attribute value. <a href="#a75523bd6d6703569a1ad769f1020059b">More...</a><br /></td></tr>
<tr class="separator:a75523bd6d6703569a1ad769f1020059b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af0614580818b32ff4939b013341b754a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#af0614580818b32ff4939b013341b754a">write</a> (<a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> &da)</td></tr>
<tr class="memdesc:af0614580818b32ff4939b013341b754a"><td class="mdescLeft"> </td><td class="mdescRight">Write attribute value. <a href="#af0614580818b32ff4939b013341b754a">More...</a><br /></td></tr>
<tr class="separator:af0614580818b32ff4939b013341b754a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a593a50120f54f4678764237f5214b9f9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a593a50120f54f4678764237f5214b9f9">write_read</a> (<a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> &da)</td></tr>
<tr class="memdesc:a593a50120f54f4678764237f5214b9f9"><td class="mdescLeft"> </td><td class="mdescRight">Write the Read attribute value. <a href="#a593a50120f54f4678764237f5214b9f9">More...</a><br /></td></tr>
<tr class="separator:a593a50120f54f4678764237f5214b9f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf8c234ac15a83f8f6699fcb6d963f94"><td class="memItemLeft" align="right" valign="top">virtual vector< <a class="el" href="classTango_1_1DeviceAttributeHistory.html">DeviceAttributeHistory</a> > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#abf8c234ac15a83f8f6699fcb6d963f94">history</a> (int depth)</td></tr>
<tr class="memdesc:abf8c234ac15a83f8f6699fcb6d963f94"><td class="mdescLeft"> </td><td class="mdescRight">Get attribute history from polling buffer. <a href="#abf8c234ac15a83f8f6699fcb6d963f94">More...</a><br /></td></tr>
<tr class="separator:abf8c234ac15a83f8f6699fcb6d963f94"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Asynchronous methods</div></td></tr>
<tr class="memitem:a5dcb9de15ebbcb991bc372e7ade13b93"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a5dcb9de15ebbcb991bc372e7ade13b93">read_asynch</a> ()</td></tr>
<tr class="memdesc:a5dcb9de15ebbcb991bc372e7ade13b93"><td class="mdescLeft"> </td><td class="mdescRight">Read attribute value asynchronously in polling model. <a href="#a5dcb9de15ebbcb991bc372e7ade13b93">More...</a><br /></td></tr>
<tr class="separator:a5dcb9de15ebbcb991bc372e7ade13b93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd2e7b7eeb40986f62970448b7031c8d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#afd2e7b7eeb40986f62970448b7031c8d">read_reply</a> (long id)</td></tr>
<tr class="memdesc:afd2e7b7eeb40986f62970448b7031c8d"><td class="mdescLeft"> </td><td class="mdescRight">Get asynchronous read attribute call reply. <a href="#afd2e7b7eeb40986f62970448b7031c8d">More...</a><br /></td></tr>
<tr class="separator:afd2e7b7eeb40986f62970448b7031c8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af375564aa69d17d8797974ba96e35800"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#af375564aa69d17d8797974ba96e35800">read_reply</a> (long id, long to)</td></tr>
<tr class="memdesc:af375564aa69d17d8797974ba96e35800"><td class="mdescLeft"> </td><td class="mdescRight">Get asynchronous read attribute call reply with timeout. <a href="#af375564aa69d17d8797974ba96e35800">More...</a><br /></td></tr>
<tr class="separator:af375564aa69d17d8797974ba96e35800"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68b5e779eab3bddad719e1037210625b"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a68b5e779eab3bddad719e1037210625b">write_asynch</a> (<a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> &da)</td></tr>
<tr class="memdesc:a68b5e779eab3bddad719e1037210625b"><td class="mdescLeft"> </td><td class="mdescRight">Write attribute value asynchrnously in polling model. <a href="#a68b5e779eab3bddad719e1037210625b">More...</a><br /></td></tr>
<tr class="separator:a68b5e779eab3bddad719e1037210625b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a372f8ccd607388b0d83276fbb2f65c6d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a372f8ccd607388b0d83276fbb2f65c6d">write_reply</a> (long id)</td></tr>
<tr class="memdesc:a372f8ccd607388b0d83276fbb2f65c6d"><td class="mdescLeft"> </td><td class="mdescRight">Get asynchronous write attribute call reply. <a href="#a372f8ccd607388b0d83276fbb2f65c6d">More...</a><br /></td></tr>
<tr class="separator:a372f8ccd607388b0d83276fbb2f65c6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49230d67f6d95ecc595df8603702f487"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a49230d67f6d95ecc595df8603702f487">write_reply</a> (long id, long to)</td></tr>
<tr class="memdesc:a49230d67f6d95ecc595df8603702f487"><td class="mdescLeft"> </td><td class="mdescRight">Get asynchronous write attribute call reply with timeout. <a href="#a49230d67f6d95ecc595df8603702f487">More...</a><br /></td></tr>
<tr class="separator:a49230d67f6d95ecc595df8603702f487"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46974f7849cce49aa8c136f7b3268a35"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a46974f7849cce49aa8c136f7b3268a35">read_asynch</a> (<a class="el" href="classTango_1_1CallBack.html">CallBack</a> &cb)</td></tr>
<tr class="memdesc:a46974f7849cce49aa8c136f7b3268a35"><td class="mdescLeft"> </td><td class="mdescRight">Read attribute asynchronously in callback model. <a href="#a46974f7849cce49aa8c136f7b3268a35">More...</a><br /></td></tr>
<tr class="separator:a46974f7849cce49aa8c136f7b3268a35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6ed266f3a4e48a3fc7232aded5d2127"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ae6ed266f3a4e48a3fc7232aded5d2127">write_asynch</a> (<a class="el" href="classTango_1_1DeviceAttribute.html">DeviceAttribute</a> &da, <a class="el" href="classTango_1_1CallBack.html">CallBack</a> &cb)</td></tr>
<tr class="memdesc:ae6ed266f3a4e48a3fc7232aded5d2127"><td class="mdescLeft"> </td><td class="mdescRight">Write attribute asynchronously in callback model. <a href="#ae6ed266f3a4e48a3fc7232aded5d2127">More...</a><br /></td></tr>
<tr class="separator:ae6ed266f3a4e48a3fc7232aded5d2127"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Polling related methods</div></td></tr>
<tr class="memitem:a22e280c80b96332363b35d43e1c0813d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a22e280c80b96332363b35d43e1c0813d">is_polled</a> ()</td></tr>
<tr class="memdesc:a22e280c80b96332363b35d43e1c0813d"><td class="mdescLeft"> </td><td class="mdescRight">Check if the attribute is polled. <a href="#a22e280c80b96332363b35d43e1c0813d">More...</a><br /></td></tr>
<tr class="separator:a22e280c80b96332363b35d43e1c0813d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d25e3cec680c7bac3c80f7f0b4dc340"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a9d25e3cec680c7bac3c80f7f0b4dc340">get_poll_period</a> ()</td></tr>
<tr class="memdesc:a9d25e3cec680c7bac3c80f7f0b4dc340"><td class="mdescLeft"> </td><td class="mdescRight">Get attribute polling period. <a href="#a9d25e3cec680c7bac3c80f7f0b4dc340">More...</a><br /></td></tr>
<tr class="separator:a9d25e3cec680c7bac3c80f7f0b4dc340"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fdd4897974bf3a0012d992c2a074bbe"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a9fdd4897974bf3a0012d992c2a074bbe">poll</a> (int period)</td></tr>
<tr class="memdesc:a9fdd4897974bf3a0012d992c2a074bbe"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute polling period. <a href="#a9fdd4897974bf3a0012d992c2a074bbe">More...</a><br /></td></tr>
<tr class="separator:a9fdd4897974bf3a0012d992c2a074bbe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d37e8d470f459d11708d25e73c41504"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a7d37e8d470f459d11708d25e73c41504">stop_poll</a> ()</td></tr>
<tr class="memdesc:a7d37e8d470f459d11708d25e73c41504"><td class="mdescLeft"> </td><td class="mdescRight">Stop attribute polling. <a href="#a7d37e8d470f459d11708d25e73c41504">More...</a><br /></td></tr>
<tr class="separator:a7d37e8d470f459d11708d25e73c41504"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Event related methods</div></td></tr>
<tr class="memitem:aec123c01ade81f0bb04d79a1c88235f6"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6">subscribe_event</a> (<a class="el" href="group__Client.html#ga5366e2a8cedf5aab5be8835974f787c6">EventType</a> event, <a class="el" href="classTango_1_1CallBack.html">CallBack</a> *cb)</td></tr>
<tr class="memdesc:aec123c01ade81f0bb04d79a1c88235f6"><td class="mdescLeft"> </td><td class="mdescRight">Subscribe to attribute event. <a href="#aec123c01ade81f0bb04d79a1c88235f6">More...</a><br /></td></tr>
<tr class="separator:aec123c01ade81f0bb04d79a1c88235f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a24802356f63dc5bc8b45671e7413aa"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a2a24802356f63dc5bc8b45671e7413aa">subscribe_event</a> (<a class="el" href="group__Client.html#ga5366e2a8cedf5aab5be8835974f787c6">EventType</a> event, <a class="el" href="classTango_1_1CallBack.html">CallBack</a> *cb, bool stateless)</td></tr>
<tr class="memdesc:a2a24802356f63dc5bc8b45671e7413aa"><td class="mdescLeft"> </td><td class="mdescRight">Stateless subscription to attribute event. <a href="#a2a24802356f63dc5bc8b45671e7413aa">More...</a><br /></td></tr>
<tr class="separator:a2a24802356f63dc5bc8b45671e7413aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ef45f45590ab6508afab0db55c00823"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a0ef45f45590ab6508afab0db55c00823">subscribe_event</a> (<a class="el" href="group__Client.html#ga5366e2a8cedf5aab5be8835974f787c6">EventType</a> event, int <a class="el" href="classTango_1_1AttributeProxy.html#a149cf6bb79d1e0a9c066395b7b286e4d">event_queue_size</a>, bool stateless=false)</td></tr>
<tr class="memdesc:a0ef45f45590ab6508afab0db55c00823"><td class="mdescLeft"> </td><td class="mdescRight">Stateless subscription to attribute event with event queue. <a href="#a0ef45f45590ab6508afab0db55c00823">More...</a><br /></td></tr>
<tr class="separator:a0ef45f45590ab6508afab0db55c00823"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae53bb772bd5c55030baa7be4abebe899"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ae53bb772bd5c55030baa7be4abebe899">unsubscribe_event</a> (int ev_id)</td></tr>
<tr class="memdesc:ae53bb772bd5c55030baa7be4abebe899"><td class="mdescLeft"> </td><td class="mdescRight">Unsubsribe to attribute event. <a href="#ae53bb772bd5c55030baa7be4abebe899">More...</a><br /></td></tr>
<tr class="separator:ae53bb772bd5c55030baa7be4abebe899"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae318688c635207dc084b843726c9fdab"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ae318688c635207dc084b843726c9fdab">get_events</a> (int event_id, <a class="el" href="classTango_1_1CallBack.html">CallBack</a> *cb)</td></tr>
<tr class="memdesc:ae318688c635207dc084b843726c9fdab"><td class="mdescLeft"> </td><td class="mdescRight">Get events from event queue (pull model) <a href="#ae318688c635207dc084b843726c9fdab">More...</a><br /></td></tr>
<tr class="separator:ae318688c635207dc084b843726c9fdab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa02afc4bb9c01566c31927860568ffdd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#aa02afc4bb9c01566c31927860568ffdd">get_events</a> (int event_id, EventDataList &event_list)</td></tr>
<tr class="memdesc:aa02afc4bb9c01566c31927860568ffdd"><td class="mdescLeft"> </td><td class="mdescRight">Get events from event queue (pull model) <a href="#aa02afc4bb9c01566c31927860568ffdd">More...</a><br /></td></tr>
<tr class="separator:aa02afc4bb9c01566c31927860568ffdd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a557787a6f0f8dbfad3d3746cd00761ac"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a557787a6f0f8dbfad3d3746cd00761ac">get_events</a> (int event_id, AttrConfEventDataList &event_list)</td></tr>
<tr class="memdesc:a557787a6f0f8dbfad3d3746cd00761ac"><td class="mdescLeft"> </td><td class="mdescRight">Get events from event queue (pull model) <a href="#a557787a6f0f8dbfad3d3746cd00761ac">More...</a><br /></td></tr>
<tr class="separator:a557787a6f0f8dbfad3d3746cd00761ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a149cf6bb79d1e0a9c066395b7b286e4d"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a149cf6bb79d1e0a9c066395b7b286e4d">event_queue_size</a> (int event_id)</td></tr>
<tr class="memdesc:a149cf6bb79d1e0a9c066395b7b286e4d"><td class="mdescLeft"> </td><td class="mdescRight">Get events number in queue. <a href="#a149cf6bb79d1e0a9c066395b7b286e4d">More...</a><br /></td></tr>
<tr class="separator:a149cf6bb79d1e0a9c066395b7b286e4d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88b91e0189b350080975a60b3b90595c"><td class="memItemLeft" align="right" valign="top">virtual TimeVal </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a88b91e0189b350080975a60b3b90595c">get_last_event_date</a> (int event_id)</td></tr>
<tr class="memdesc:a88b91e0189b350080975a60b3b90595c"><td class="mdescLeft"> </td><td class="mdescRight">Get last event date. <a href="#a88b91e0189b350080975a60b3b90595c">More...</a><br /></td></tr>
<tr class="separator:a88b91e0189b350080975a60b3b90595c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a058915ddab00f20210db286d92ba0b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a8a058915ddab00f20210db286d92ba0b">is_event_queue_empty</a> (int event_id)</td></tr>
<tr class="memdesc:a8a058915ddab00f20210db286d92ba0b"><td class="mdescLeft"> </td><td class="mdescRight">Check if the event queue is empty. <a href="#a8a058915ddab00f20210db286d92ba0b">More...</a><br /></td></tr>
<tr class="separator:a8a058915ddab00f20210db286d92ba0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Property related methods</div></td></tr>
<tr class="memitem:ad6e69af1b3948d3d0941dd8940e3823c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ad6e69af1b3948d3d0941dd8940e3823c">get_property</a> (string &prop_name, DbData &db)</td></tr>
<tr class="memdesc:ad6e69af1b3948d3d0941dd8940e3823c"><td class="mdescLeft"> </td><td class="mdescRight">Get single attribute property. <a href="#ad6e69af1b3948d3d0941dd8940e3823c">More...</a><br /></td></tr>
<tr class="separator:ad6e69af1b3948d3d0941dd8940e3823c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca240e15843814bc1ea2afa2ddd818b6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#aca240e15843814bc1ea2afa2ddd818b6">get_property</a> (vector< string > &prop_names, DbData &db)</td></tr>
<tr class="memdesc:aca240e15843814bc1ea2afa2ddd818b6"><td class="mdescLeft"> </td><td class="mdescRight">Get multiple attribute property. <a href="#aca240e15843814bc1ea2afa2ddd818b6">More...</a><br /></td></tr>
<tr class="separator:aca240e15843814bc1ea2afa2ddd818b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1ad69efff76d9ef5cd69aa9d84b3520"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ac1ad69efff76d9ef5cd69aa9d84b3520">get_property</a> (DbData &db)</td></tr>
<tr class="memdesc:ac1ad69efff76d9ef5cd69aa9d84b3520"><td class="mdescLeft"> </td><td class="mdescRight">Get attribute property(ies) <a href="#ac1ad69efff76d9ef5cd69aa9d84b3520">More...</a><br /></td></tr>
<tr class="separator:ac1ad69efff76d9ef5cd69aa9d84b3520"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a289096fa30a6f359fee3264135b18521"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a289096fa30a6f359fee3264135b18521">put_property</a> (DbData &db)</td></tr>
<tr class="memdesc:a289096fa30a6f359fee3264135b18521"><td class="mdescLeft"> </td><td class="mdescRight">Put attribute property(ies) <a href="#a289096fa30a6f359fee3264135b18521">More...</a><br /></td></tr>
<tr class="separator:a289096fa30a6f359fee3264135b18521"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6b4497b44f0668640c308e404d2eef7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#ac6b4497b44f0668640c308e404d2eef7">delete_property</a> (string &prop_name)</td></tr>
<tr class="memdesc:ac6b4497b44f0668640c308e404d2eef7"><td class="mdescLeft"> </td><td class="mdescRight">Delete a single attribute property. <a href="#ac6b4497b44f0668640c308e404d2eef7">More...</a><br /></td></tr>
<tr class="separator:ac6b4497b44f0668640c308e404d2eef7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef5a44a64e5d0c435a38f7163bbe2b98"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#aef5a44a64e5d0c435a38f7163bbe2b98">delete_property</a> (vector< string > &prop_names)</td></tr>
<tr class="memdesc:aef5a44a64e5d0c435a38f7163bbe2b98"><td class="mdescLeft"> </td><td class="mdescRight">Delete a list of attribute property. <a href="#aef5a44a64e5d0c435a38f7163bbe2b98">More...</a><br /></td></tr>
<tr class="separator:aef5a44a64e5d0c435a38f7163bbe2b98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c070a4ba0a3635b5556b0b169576719"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTango_1_1AttributeProxy.html#a5c070a4ba0a3635b5556b0b169576719">delete_property</a> (DbData &db)</td></tr>
<tr class="memdesc:a5c070a4ba0a3635b5556b0b169576719"><td class="mdescLeft"> </td><td class="mdescRight">Delete attribute property(ies) <a href="#a5c070a4ba0a3635b5556b0b169576719">More...</a><br /></td></tr>
<tr class="separator:a5c070a4ba0a3635b5556b0b169576719"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Easy to use interface to Tango device attribute. </p>
<p>The high level object which provides the client with an easy-to-use interface to TANGO device attributes. <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> is a handle to the real attribute (hence the name Proxy) and is not the real attribute (of course). The <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> manages timeouts, stateless connections (new <a class="el" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9" title="Create a AttributeProxy object.">AttributeProxy()</a> nearly always works), and reconnection if the device server is restarted.</p>
<dl class="section rcs"><dt>Author</dt><dd>taurel </dd></dl>
<dl class="section rcs"><dt>Revision</dt><dd>1 </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="af54cba1f887abb8ef36db5a5a477b5d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af54cba1f887abb8ef36db5a5a477b5d9">◆ </a></span>AttributeProxy() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Tango::AttributeProxy::AttributeProxy </td>
<td>(</td>
<td class="paramtype">string & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> object. </p>
<p>Create an <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> to an attribute of the specified name. The constructor will connect to the TANGO database, query for the device to which the attribute belongs to network address and build a connection to this device. If the device to which the attribute belongs to is defined in the TANGO database but the device server is not running, <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> will try to build a connection every time the client tries to access the attribute. If an alias name is defined for the attribute, this alias name can be used to create the <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> instance. If a device name alias is defined for the device, it can be used instead of the three fields device name. If the device to which the attribute belongs to is not defined in the database, an exception is thrown. Examples : </p><div class="fragment"><div class="line"><a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a> *my_attr = <span class="keyword">new</span> <a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a>(<span class="stringliteral">"my/own/device/attr"</span>);</div><div class="line"><a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a> *my_attr_bis = <span class="keyword">new</span> <a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a>(<span class="stringliteral">"attr_alias"</span>);</div><div class="line"><a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a> *my_attr_ter = <span class="keyword">new</span> <a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a>(<span class="stringliteral">"dev_alias/attr"</span>);</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>The attribute name </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab8a6da05eb30b76b144557c8e20c5e81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8a6da05eb30b76b144557c8e20c5e81">◆ </a></span>AttributeProxy() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Tango::AttributeProxy::AttributeProxy </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a> object. </p>
<p>Idem previous constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>The attribute name </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5c070a4ba0a3635b5556b0b169576719"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c070a4ba0a3635b5556b0b169576719">◆ </a></span>delete_property() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::delete_property </td>
<td>(</td>
<td class="paramtype">DbData & </td>
<td class="paramname"><em>db</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Delete attribute property(ies) </p>
<p>Delete property(ies) for an attribute. Properties to delete are specified using the DbData type. Refer to <a class="el" href="classTango_1_1DbDevice.html#a86b8f41493e382aac14b5013e792d019" title="Get device property from database.">DbDevice::get_property()</a> and DbData sections for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">db</td><td>The properties name </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ac6b4497b44f0668640c308e404d2eef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6b4497b44f0668640c308e404d2eef7">◆ </a></span>delete_property() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::delete_property </td>
<td>(</td>
<td class="paramtype">string & </td>
<td class="paramname"><em>prop_name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Delete a single attribute property. </p>
<p>Delete a single property for an attribute. The property to delete is specified as a string. Refer to <a class="el" href="classTango_1_1DbDevice.html" title="A high level object for a device interface to the database.">DbDevice</a>:: <a class="el" href="classTango_1_1AttributeProxy.html#ac6b4497b44f0668640c308e404d2eef7" title="Delete a single attribute property.">delete_property()</a> and DbData sections for details on the DbData type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">prop_name</td><td>The property name </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aef5a44a64e5d0c435a38f7163bbe2b98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef5a44a64e5d0c435a38f7163bbe2b98">◆ </a></span>delete_property() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::delete_property </td>
<td>(</td>
<td class="paramtype">vector< string > & </td>
<td class="paramname"><em>prop_names</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Delete a list of attribute property. </p>
<p>Delete a list of properties for an attribute. The properties to delete are specified as a vector of strings. Refer to <a class="el" href="classTango_1_1DbDevice.html#a86b8f41493e382aac14b5013e792d019" title="Get device property from database.">DbDevice::get_property()</a> and DbData sections for details on the DbData type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">prop_names</td><td>The properties name </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a149cf6bb79d1e0a9c066395b7b286e4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a149cf6bb79d1e0a9c066395b7b286e4d">◆ </a></span>event_queue_size()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int Tango::AttributeProxy::event_queue_size </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get events number in queue. </p>
<p>Returns the number of stored events in the event reception buffer. After every call to <a class="el" href="classTango_1_1DeviceProxy.html" title="High level class which provides the client with an easy-to-use interface to TANGO devices.">DeviceProxy</a>:<a class="el" href="classTango_1_1AttributeProxy.html#ae318688c635207dc084b843726c9fdab" title="Get events from event queue (pull model)">get_events()</a>, the event queue size is 0. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The event number in the queue </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa226b2ffd4e1919880e8a14f52851a79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa226b2ffd4e1919880e8a14f52851a79">◆ </a></span>get_config()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="structTango_1_1AttributeInfoEx.html">AttributeInfoEx</a> Tango::AttributeProxy::get_config </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get attribute configuration. </p>
<p>Return the attribute configuration</p>
<dl class="section return"><dt>Returns</dt><dd>The attribute configuration data </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">ConnectionFailed,CommunnicationFailed,DevFailed</td><td>from device </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae52a9e07a42cf0479aea39f158e957f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae52a9e07a42cf0479aea39f158e957f2">◆ </a></span>get_device_proxy()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classTango_1_1DeviceProxy.html">DeviceProxy</a>* Tango::AttributeProxy::get_device_proxy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get associated <a class="el" href="classTango_1_1DeviceProxy.html" title="High level class which provides the client with an easy-to-use interface to TANGO devices.">DeviceProxy</a> instance. </p>
<p>Returns the <a class="el" href="classTango_1_1DeviceProxy.html" title="High level class which provides the client with an easy-to-use interface to TANGO devices.">DeviceProxy</a> instance used to communicate with the device to which the attributes belongs</p>
<dl class="section return"><dt>Returns</dt><dd>The underlying <a class="el" href="classTango_1_1DeviceProxy.html" title="High level class which provides the client with an easy-to-use interface to TANGO devices.">DeviceProxy</a> object </dd></dl>
</div>
</div>
<a id="a557787a6f0f8dbfad3d3746cd00761ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a557787a6f0f8dbfad3d3746cd00761ac">◆ </a></span>get_events() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_events </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">AttrConfEventDataList & </td>
<td class="paramname"><em>event_list</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get events from event queue (pull model) </p>
<p>The method extracts all waiting attribute configuration events from the event reception buffer. The returned event_list is a vector of <a class="el" href="classTango_1_1AttrConfEventData.html" title="Attribute configuration change event callback execution data.">AttrConfEventData</a> pointers. The <a class="el" href="classTango_1_1AttrConfEventData.html" title="Attribute configuration change event callback execution data.">AttrConfEventData</a> object contains the event information as for the callback methods. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">event_list</td><td>The event list </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae318688c635207dc084b843726c9fdab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae318688c635207dc084b843726c9fdab">◆ </a></span>get_events() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_events </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classTango_1_1CallBack.html">CallBack</a> * </td>
<td class="paramname"><em>cb</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get events from event queue (pull model) </p>
<p>The method extracts all waiting events from the event reception buffer and executes the callback method cb for every event. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cb</td><td>The event callback </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa02afc4bb9c01566c31927860568ffdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa02afc4bb9c01566c31927860568ffdd">◆ </a></span>get_events() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_events </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">EventDataList & </td>
<td class="paramname"><em>event_list</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get events from event queue (pull model) </p>
<p>The method extracts all waiting events from the event reception buffer. The returned event_list is a vector of <a class="el" href="classTango_1_1EventData.html" title="Event callback execution data.">EventData</a> pointers. The <a class="el" href="classTango_1_1EventData.html" title="Event callback execution data.">EventData</a> object contains the event information as for the callback methods. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">event_list</td><td>The event list </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a88b91e0189b350080975a60b3b90595c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88b91e0189b350080975a60b3b90595c">◆ </a></span>get_last_event_date()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual TimeVal Tango::AttributeProxy::get_last_event_date </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get last event date. </p>
<p>Returns the arrival time of the last event stored in the event reception buffer. After every call to <a class="el" href="classTango_1_1AttributeProxy.html" title="Easy to use interface to Tango device attribute.">AttributeProxy</a>:<a class="el" href="classTango_1_1AttributeProxy.html#ae318688c635207dc084b843726c9fdab" title="Get events from event queue (pull model)">get_events()</a>, the event reception buffer is empty. In this case an exception will be returned. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The last event date </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9d25e3cec680c7bac3c80f7f0b4dc340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d25e3cec680c7bac3c80f7f0b4dc340">◆ </a></span>get_poll_period()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int Tango::AttributeProxy::get_poll_period </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get attribute polling period. </p>
<p>Returns the attribute polling period in mS. If the attribute is not polled, it returns 0.</p>
<dl class="section return"><dt>Returns</dt><dd>The polling period </dd></dl>
</div>
</div>
<a id="ac1ad69efff76d9ef5cd69aa9d84b3520"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1ad69efff76d9ef5cd69aa9d84b3520">◆ </a></span>get_property() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_property </td>
<td>(</td>
<td class="paramtype">DbData & </td>
<td class="paramname"><em>db</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get attribute property(ies) </p>
<p>Get property(ies) for the attribute. Properties to get are specified using the DbData type. Refer to <a class="el" href="classTango_1_1DbDevice.html" title="A high level object for a device interface to the database.">DbDevice</a>:: <a class="el" href="classTango_1_1AttributeProxy.html#ad6e69af1b3948d3d0941dd8940e3823c" title="Get single attribute property.">get_property()</a> and DbData sections for details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">db</td><td>Properties value </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad6e69af1b3948d3d0941dd8940e3823c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6e69af1b3948d3d0941dd8940e3823c">◆ </a></span>get_property() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_property </td>
<td>(</td>
<td class="paramtype">string & </td>
<td class="paramname"><em>prop_name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DbData & </td>
<td class="paramname"><em>db</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get single attribute property. </p>
<p>Get a single property for the attribute. The property to get is specified as a string. Refer to <a class="el" href="classTango_1_1DbDevice.html" title="A high level object for a device interface to the database.">DbDevice</a>:: <a class="el" href="classTango_1_1AttributeProxy.html#ad6e69af1b3948d3d0941dd8940e3823c" title="Get single attribute property.">get_property()</a> and DbData sections for details on the DbData type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">prop_name</td><td>The property name </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">db</td><td>Property value </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aca240e15843814bc1ea2afa2ddd818b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca240e15843814bc1ea2afa2ddd818b6">◆ </a></span>get_property() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Tango::AttributeProxy::get_property </td>
<td>(</td>
<td class="paramtype">vector< string > & </td>
<td class="paramname"><em>prop_names</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DbData & </td>
<td class="paramname"><em>db</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get multiple attribute property. </p>
<p>Get a list of properties for the attribute. The properties to get are specified as a vector of strings. Refer to <a class="el" href="classTango_1_1DbDevice.html#a86b8f41493e382aac14b5013e792d019" title="Get device property from database.">DbDevice::get_property()</a> and DbData sections for details on the DbData type.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">prop_names</td><td>The property names </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">db</td><td>Properties value </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">NonDbDevice,ConnectionFailed,CommunicationFailed,DevFailed</td><td>from database </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abf8c234ac15a83f8f6699fcb6d963f94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf8c234ac15a83f8f6699fcb6d963f94">◆ </a></span>history()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual vector<<a class="el" href="classTango_1_1DeviceAttributeHistory.html">DeviceAttributeHistory</a>>* Tango::AttributeProxy::history </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>depth</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get attribute history from polling buffer. </p>
<p>Retrieve attribute history from the attribute polling buffer. The argument is the wanted history depth. This method returns a vector of <a class="el" href="classTango_1_1DeviceAttributeHistory.html" title="Fundamental type for receiving data from device attribute polling buffers.">DeviceAttributeHistory</a> types. This method allocates memory for the vector of <a class="el" href="classTango_1_1DeviceAttributeHistory.html" title="Fundamental type for receiving data from device attribute polling buffers.">DeviceAttributeHistory</a> returned to the caller. It is the caller responsibility to delete this memory. See Tango book chapter on Advanced Feature for all details regarding polling. </p><div class="fragment"><div class="line"><a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a> attr = <span class="keyword">new</span> <a class="code" href="classTango_1_1AttributeProxy.html#af54cba1f887abb8ef36db5a5a477b5d9">AttributeProxy</a>(<span class="stringliteral">"my/own/device/Current"</span>);</div><div class="line">vector<DeviceAttributeHistory> *hist;</div><div class="line"> </div><div class="line">hist = attr->history(5);</div><div class="line"> </div><div class="line"><span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0;i < 5;i++)</div><div class="line">{</div><div class="line"> <span class="keywordtype">bool</span> fail = (*hist)[i].has_failed();</div><div class="line"> <span class="keywordflow">if</span> (fail == <span class="keyword">false</span>)</div><div class="line"> {</div><div class="line"> cout << <span class="stringliteral">"Attribute name = "</span> << (*hist)[i].get_name() << endl;</div><div class="line"> cout << <span class="stringliteral">"Attribute quality factor = "</span> << (*hist)[i].get_quality() << endl;</div><div class="line"> <span class="keywordtype">long</span> value;</div><div class="line"> (*hist)[i] >> value;</div><div class="line"> cout << <span class="stringliteral">"Current = "</span> << value << endl;</div><div class="line"> }</div><div class="line"> <span class="keywordflow">else</span></div><div class="line"> {</div><div class="line"> cout << <span class="stringliteral">"Attribute failed !"</span> << endl;</div><div class="line"> cout << <span class="stringliteral">"Error level 0 desc = "</span> << ((*hist)[i].get_err_stack())[0].desc << endl;</div><div class="line"> }</div><div class="line"> cout << <span class="stringliteral">"Date = "</span> << (*hist)[i].get_date().tv_sec << endl;</div><div class="line">}</div><div class="line"><span class="keyword">delete</span> hist;</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">depth</td><td>The required history depth </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The attribute value history </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">ConnectionFailed,CommunnicationFailed,NonSupportedFeature,DevFailed</td><td>from device </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8a058915ddab00f20210db286d92ba0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a058915ddab00f20210db286d92ba0b">◆ </a></span>is_event_queue_empty()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Tango::AttributeProxy::is_event_queue_empty </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>event_id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the event queue is empty. </p>
<p>Returns true when the event reception buffer is empty. During event subscription the client must have chosen the pull model for this event. event_id is the event identifier returned by the <a class="el" href="classTango_1_1AttributeProxy.html#aec123c01ade81f0bb04d79a1c88235f6" title="Subscribe to attribute event.">AttributeProxy::subscribe_event()</a>method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">event_id</td><td>The event identifier </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The event queue empty flag </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname">EventSystemFailed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a22e280c80b96332363b35d43e1c0813d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22e280c80b96332363b35d43e1c0813d">◆ </a></span>is_polled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Tango::AttributeProxy::is_polled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>