author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Fri, 08 Jan 2010 17:52:29 +0100 | |
changeset 5901 | a24cd8dce646 |
parent 4722 | aa87bed09e3f |
permissions | -rw-r--r-- |
4722
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
2 |
/* |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
3 |
* Copyright (c) 2005 INRIA |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
4 |
* |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
8 |
* |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
13 |
* |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
17 |
* |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
18 |
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
19 |
*/ |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
20 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
21 |
#ifndef DCF_H |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
22 |
#define DCF_H |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
23 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
24 |
#include "ns3/object.h" |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
25 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
26 |
namespace ns3 { |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
27 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
28 |
class Dcf : public Object |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
29 |
{ |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
30 |
public: |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
31 |
static TypeId GetTypeId (void); |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
32 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
33 |
virtual void SetMinCw (uint32_t minCw) = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
34 |
virtual void SetMaxCw (uint32_t maxCw) = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
35 |
virtual void SetAifsn (uint32_t aifsn) = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
36 |
virtual uint32_t GetMinCw (void) const = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
37 |
virtual uint32_t GetMaxCw (void) const = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
38 |
virtual uint32_t GetAifsn (void) const = 0; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
39 |
}; |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
40 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
41 |
} // namespace ns3 |
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
42 |
|
aa87bed09e3f
bug 641: forgot to add files.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
43 |
#endif /* DCF_H */ |