A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ss-manager.h
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2007,2008,2009 INRIA, UDcast
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Authors: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
19
* Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
20
* <amine.ismail@UDcast.com>
21
*/
22
23
#ifndef SS_MANAGER_H
24
#define SS_MANAGER_H
25
26
#include <stdint.h>
27
#include "cid.h"
28
#include "ss-record.h"
29
30
namespace
ns3 {
31
37
class
SSManager
:
public
Object
38
{
39
public
:
40
static
TypeId
GetTypeId (
void
);
41
SSManager
(
void
);
42
~
SSManager
(
void
);
43
SSRecord
* CreateSSRecord (
const
Mac48Address
&macAddress);
44
SSRecord
* GetSSRecord (
const
Mac48Address
&macAddress)
const
;
53
SSRecord
* GetSSRecord (
Cid
cid)
const
;
54
std::vector<SSRecord*>* GetSSRecords (
void
)
const
;
55
bool
IsInRecord (
const
Mac48Address
&macAddress)
const
;
56
bool
IsRegistered (
const
Mac48Address
&macAddress)
const
;
57
void
DeleteSSRecord (
Cid
cid);
58
Mac48Address
GetMacAddress (
Cid
cid)
const
;
59
uint32_t GetNSSs (
void
)
const
;
60
uint32_t GetNRegisteredSSs (
void
)
const
;
61
private
:
62
std::vector<SSRecord*> *m_ssRecords;
63
};
64
65
}
// namespace ns3
66
67
#endif
/* SS_MANAGER_H */
ns3::Cid
Definition:
cid.h:35
ns3::Mac48Address
an EUI-48 address
Definition:
mac48-address.h:41
ns3::SSManager
this class manages a list of SSrecord
Definition:
ss-manager.h:37
ns3::SSRecord
This class is used by the base station to store some information related to subscriber station in the...
Definition:
ss-record.h:43
ns3::Object
a base class which provides memory management and object aggregation
Definition:
object.h:63
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:44
src
wimax
model
ss-manager.h
Generated on Sun Mar 16 2014 11:25:12 for ns-3 by
1.8.6