Upstream vwifi v7.0 (Raizo62/vwifi @ 4a9842e)
Unmodified upstream source from https://github.com/Raizo62/vwifi Commit: 4a9842e "CMakeLists.txt : VERSION = 7.0" Simulator of WiFi (802.11) interfaces to communicate between several Virtual Machines via mac80211_hwsim + TCP relay. License: Apache-2.0
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#ifndef _CINFOWIFI_H_
|
||||
#define _CINFOWIFI_H_
|
||||
|
||||
#include <iostream> // ostream
|
||||
#include <string>
|
||||
|
||||
#include "ccoordinate.h"
|
||||
#include "types.h" // TCID
|
||||
|
||||
const TCID TCID_GUEST_MIN=3;
|
||||
|
||||
using namespace std;
|
||||
|
||||
class CInfoWifi : public CCoordinate
|
||||
{
|
||||
TCID Cid;
|
||||
string Name;
|
||||
|
||||
public :
|
||||
|
||||
CInfoWifi();
|
||||
CInfoWifi(TCID cid, CCoordinate coo);
|
||||
|
||||
void SetCid(TCID cid);
|
||||
|
||||
TCID GetCid() const;
|
||||
|
||||
void SetName(string name);
|
||||
string GetName() const;
|
||||
int GetSizeName() const;
|
||||
bool HasName() const;
|
||||
|
||||
void Display(ostream& os) const;
|
||||
|
||||
friend ostream& operator<<(ostream& os, const CInfoWifi& infowifi);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user