summaryrefslogtreecommitdiff
path: root/maximus/common/interfaces/IPhy.h
diff options
context:
space:
mode:
Diffstat (limited to 'maximus/common/interfaces/IPhy.h')
-rw-r--r--maximus/common/interfaces/IPhy.h72
1 files changed, 15 insertions, 57 deletions
diff --git a/maximus/common/interfaces/IPhy.h b/maximus/common/interfaces/IPhy.h
index bc28aa1256..e89f9becc3 100644
--- a/maximus/common/interfaces/IPhy.h
+++ b/maximus/common/interfaces/IPhy.h
@@ -28,7 +28,6 @@ This file was generated on %date% at %time%
The original location of this file is /home/buret/eclipse/maximus/common/interfaces/IPhy.h
**************************************************************************/
-
#ifndef IPHY_H
#define IPHY_H
@@ -44,6 +43,7 @@ The original location of this file is /home/buret/eclipse/maximus/common/interfa
class IPhy
{
+
public:
// Constructors/Destructors
@@ -52,31 +52,23 @@ public:
/**
* Empty Constructor
*/
- IPhy ( ) { };
+ IPhy ( ) { }
/**
* Empty Destructor
*/
- virtual ~IPhy ( ) { };
-
+ virtual ~IPhy ( ) { }
- // public attribute accessor methods
- //
-
-
- // public attribute accessor methods
+ // public methods
//
-
-
/**
* @return bool
* @param station1
* @param station2
* @param link_quality
*/
- virtual bool checkLinkQuality (Station * station1, Station * station2, Phy_Link_Quality & link_quality ) = 0;
-
+ virtual bool checkLinkQuality ( const Station * station1, const Station * station2, Phy_Link_Quality & link_quality ) const = 0;
/**
* @return bool
@@ -84,8 +76,7 @@ public:
* @param station2
* @param link_quality
*/
- virtual bool manageLinkQuality (Station * station1, Station * station2, Phy_Link_Quality link_quality ) = 0;
-
+ virtual bool manageLinkQuality ( const Station * station1, const Station * station2, const Phy_Link_Quality link_quality ) = 0;
/**
* @return bool
@@ -93,8 +84,7 @@ public:
* @param data_length
* @param data
*/
- virtual bool sendEthernetData (Station * destination_station, short int data_length, unsigned char * data ) = 0;
-
+ virtual bool sendEthernetData ( const Station * destination_station, const short int data_length, const unsigned char * data ) const = 0;
/**
* @return bool
@@ -106,47 +96,15 @@ public:
* @param pb_size
* @param mpdu_payload
*/
- virtual bool sendAvData (Station * destination_station, char mpdu_format, unsigned long fc_10, unsigned long fc_av[4], unsigned char nb_of_pbs, char pb_size, unsigned char * mpdu_payload ) = 0;
-
-protected:
-
-public:
-
-
- // protected attribute accessor methods
- //
-
-protected:
-
-public:
-
-
- // protected attribute accessor methods
- //
-
-protected:
-
-
-private:
-
-public:
-
-
- // private attribute accessor methods
- //
-
-private:
-
-public:
-
-
- // private attribute accessor methods
- //
-
-private:
-
-
+ virtual bool sendAvData ( const Station * destination_station,
+ const char mpdu_format,
+ const unsigned long fc_10,
+ const unsigned long fc_av[4],
+ const unsigned char nb_of_pbs,
+ const char pb_size,
+ const unsigned char * mpdu_payload ) const = 0;
};
+
#endif // IPHY_H