DESERT 3.5.1
Loading...
Searching...
No Matches
UWMinterpreter Class Reference

#include <uwminterpreter.h>

Inheritance diagram for UWMinterpreter:
Collaboration diagram for UWMinterpreter:

Public Member Functions

 UWMinterpreter (UWMdriver *)
 
 ~UWMinterpreter ()
 
 UWMinterpreter (UWMdriver *)
 
 ~UWMinterpreter ()
 

Protected Attributes

UWMdriverpmDriver
 
int debug_
 

Detailed Description

This class is in charge of building/parsing the necessary messages to make the UWMdriver able to communicate with the modem.

This class provides a basic interface to implement an interpreter for an UWMdriver object. NOTE: any class which inherits from UWMinterpreter should implements its own methods to build and parse messages between host and modem; therefore, such derived class should know the reception variables of the UWMdriver object to which it points, along with all the methods to update them (since the UWMdriver object can be extended through inheritance, any new class that extends UWMdriver must provide all the necessary methods to allow the update of its reception variables).

Definition at line 56 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwminterpreter.h.

Constructor & Destructor Documentation

◆ UWMinterpreter() [1/2]

UWMinterpreter::UWMinterpreter ( UWMdriver pmDriver_)

Class constructor.

Parameters
pmDriver_pointer to the UWMdriver object to link with this UWMinterpreter object.

Definition at line 40 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwminterpreter.cpp.

◆ ~UWMinterpreter() [1/2]

UWMinterpreter::~UWMinterpreter ( )

Class destructor.

Definition at line 46 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwminterpreter.cpp.

◆ UWMinterpreter() [2/2]

UWMinterpreter::UWMinterpreter ( UWMdriver )

Class constructor.

Parameters
pmDriver_pointer to the UWMdriver object to link with this UWMinterpreter object.

◆ ~UWMinterpreter() [2/2]

UWMinterpreter::~UWMinterpreter ( )

Class destructor.

Member Data Documentation

◆ debug_

int UWMinterpreter::debug_
protected

Flag to enable debug mode (i.e., printing of debug messages) if set to 1.

Definition at line 81 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwminterpreter.h.

◆ pmDriver

UWMdriver * UWMinterpreter::pmDriver
protected

Link to the UWMdriver object which contains this UWMinterpreter object.

Definition at line 79 of file DESERT_Framework/DESERT/physical/uwmphy_modem/uwminterpreter.h.


The documentation for this class was generated from the following files: