/usr/include/tango/fwdattribute.h is in libtango-dev 9.2.5a+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | //===================================================================================================================
//
// file : fwdattribute.h
//
// description : Include file for the FwdAttribute classes.
//
// project : TANGO
//
// author(s) : E.Taurel
//
// Copyright (C) : 2013,2014,2015
// European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
// FRANCE
//
// This file is part of Tango.
//
// Tango is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tango is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License along with Tango.
// If not, see <http://www.gnu.org/licenses/>.
//
// $Revision: 27410 $
//
//====================================================================================================================
#ifndef _FWDATTRIBUTE_H
#define _FWDATTRIBUTE_H
#include <tango.h>
#ifdef _TG_WINDOWS_
#include <sys/types.h>
#include <sys/timeb.h>
#endif
namespace Tango
{
class FwdAttribute: public WAttribute
{
public:
FwdAttribute(vector<AttrProperty> &,Attr &,string &,long);
~FwdAttribute();
virtual bool is_fwd_att() {return true;}
string &get_fwd_dev_name() {return fwd_dev_name;}
string &get_fwd_att_name() {return fwd_att_name;}
void set_att_config(const Tango::AttributeConfig_5 &);
void set_att_config(const Tango::AttributeConfig_3 &) {}
void set_att_config(AttributeInfoEx *);
void upd_att_config_base(const char *);
void upd_att_config(const Tango::AttributeConfig_5 &);
void upd_att_config(const Tango::AttributeConfig_3 &);
void upd_att_label(const char *);
bool new_att_conf(const Tango::AttributeConfig_3 *,const Tango::AttributeConfig_5 *);
Attr_Value &get_root_ptr() {return r_val;}
template<typename T>
void set_local_attribute(DeviceAttribute &, T* &);
template<typename T,typename V>
void propagate_writen_data(DeviceAttribute &da,WAttribute &attr,T *&,V *&);
template<typename T>
bool new_att_conf_base(const T&);
DevAttrHistory_5 *read_root_att_history(long n);
AttributeValueList_5 *write_read_root_att(AttributeValueList_4&);
protected:
void convert_event_prop(string &,double *);
string fwd_dev_name; // Root dev name for fwd attribute
string fwd_att_name; // Root att name for fwd attribute
AttrQuality qual;
#ifdef _TG_WINDOWS_
struct _timeb tv;
#else
timeval tv;
#endif
Attr_Value r_val;
};
} // End of Tango namespace
#endif // _FWDATTRIBUTE_H
|