📄 geo-attr.cc
字号:
//// geo-attr.cc : GEAR Filter Attribute Instantiations// authors : Yan Yu and Fabio Silva//// Copyright (C) 2000-2002 by the University of Southern California// Copyright (C) 2000-2002 by the University of California// $Id: geo-attr.cc,v 1.2 2002/05/28 00:47:34 fabio Exp $//// This program is free software; you can redistribute it and/or// modify it under the terms of the GNU General Public License,// version 2, as published by the Free Software Foundation.//// This program 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 General Public License for more details.//// You should have received a copy of the GNU General Public License along// with this program; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.////#include "geo-attr.hh"// This file creates all attribute factories for attributes used in// GEARNRSimpleAttributeFactory<int> GeoBeaconTypeAttr(GEO_BEACON_TYPE_KEY, NRAttribute::INT32_TYPE);NRSimpleAttributeFactory<double> GeoLongitudeAttr(GEO_LONGITUDE_KEY, NRAttribute::FLOAT64_TYPE);NRSimpleAttributeFactory<double> GeoLatitudeAttr(GEO_LATITUDE_KEY, NRAttribute::FLOAT64_TYPE);NRSimpleAttributeFactory<double> GeoRemainingEnergyAttr(GEO_REMAINING_ENERGY_KEY, NRAttribute::FLOAT64_TYPE);NRSimpleAttributeFactory<int> GeoInterestModeAttr(GEO_INTEREST_MODE_KEY, NRAttribute::INT32_TYPE);NRSimpleAttributeFactory<void *> GeoHeaderAttr(GEO_HEADER_KEY, NRAttribute::BLOB_TYPE);NRSimpleAttributeFactory<void *> GeoHeuristicValueAttr(GEO_H_VALUE_KEY, NRAttribute::BLOB_TYPE);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -