World Ocean Simulation System (WOSS) library
uw-woss-clmsg-channel-estimation.h
Go to the documentation of this file.
1/* WOSS - World Ocean Simulation System -
2 *
3 * Copyright (C) 2009 Federico Guerra
4 * and regents of the SIGNET lab, University of Padova
5 *
6 * Author: Federico Guerra - federico@guerra-tlc.com
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation;
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22/*
23 * This software has been developed by Federico Guerra and SIGNET lab,
24 * University of Padova, in collaboration with the NATO Centre for
25 * Maritime Research and Experimentation (http://www.cmre.nato.int ;
26 * E-mail: pao@cmre.nato.int), whose support is gratefully acknowledged.
27 */
28
29
40#ifndef UW_WOSS_CLMSG_CHANNEL_ESTIMATION_H
41#define UW_WOSS_CLMSG_CHANNEL_ESTIMATION_H
42
43
44#include <clmessage.h>
45// #include <coordinates-definitions.h>
46
47#define CLMSG_CH_ESTIMATION_VERBOSITY 2 // verbosity of this message
48
49
50extern ClMessage_t CLMSG_CHANNEL_ESTIMATION;
51
52
53namespace woss {
54 class TimeArr;
55}
56
57
64class ClMsgChannelEstimation : public ClMessage {
65
66
67 public:
68
69
70 ClMsgChannelEstimation( int i, int j, woss::TimeArr* time_arr = NULL );
71
73
74 virtual ClMessage* copy(); // copy the message
75
76
77 const int getTx() { return tx; }
78
79 const int getRx() { return rx; }
80
81
82 void setTimeArr( woss::TimeArr* time_arr ) { ch_estimation = time_arr; }
83
84 woss::TimeArr* getTimeArr() { return ch_estimation; }
85
86
87 void setDeletable() { deletable = true; }
88
89 void unsetDeletable() { deletable = false; }
90
91
92 bool isQuery() {return query; }
93
94 bool isDeletable() { return deletable; }
95
96
97 protected:
98
99
100 bool query;
101
102 bool deletable;
103
104 int tx;
105
106 int rx;
107
108 woss::TimeArr* ch_estimation;
109
110
111};
112
113
114#endif //UW_WOSS_CLMSG_CHANNEL_ESTIMATION_H
115
Class for channel estimation synchronous cross-layer messaging.
Definition uw-woss-clmsg-channel-estimation.h:64
Channel power delay profile class.
Definition time-arrival-definitions.h:82