Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

RadioState Class Reference
[utils - utiltity classesblackboard - blackboard related stuff]

Class to hold the channel state of a certain radio of a nic. More...

#include <RadioState.h>

Inherits BBItem.

Inheritance diagram for RadioState:

Inheritance graph
Collaboration diagram for RadioState:

Collaboration graph
List of all members.

Public Types

enum  States {
 possible states of this channel of the radio

Public Member Functions

States getState () const
 function to get the state
void setState (States s)
 set the state of the radio
 RadioState (States s=RECV)
std::string info () const
 Enables inspection.

Protected Attributes

States state
 holds the state for this channel

Private Member Functions


Detailed Description

Class to hold the channel state of a certain radio of a nic.

SLEEP: the radio is sleeping SWITCH_TO_RECV: RECV: the radio is able to receive a message SWITCH_TO_SEND: SEND: the radio is sending a message

Andreas Köpke
See also:

The documentation for this class was generated from the following file:
Generated on Fri Jan 12 08:30:14 2007 for Mobility Framework by  doxygen 1.4.4