DESERT 4.0.0
UWMinterpreter Class Reference

#include <uwminterpreter.h>

Inheritance diagram for UWMinterpreter:
Inheritance graph
Collaboration diagram for UWMinterpreter:
Collaboration graph

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).

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.

References debug_, UWMdriver::getDebug(), and pmDriver.

Here is the call graph for this function:

◆ ~UWMinterpreter() [1/2]

UWMinterpreter::~UWMinterpreter ( )

Class destructor.

◆ 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.

Referenced by UWMinterpreter().

◆ pmDriver

UWMdriver * UWMinterpreter::pmDriver
protected

Link to the UWMdriver object which contains this UWMinterpreter object.

Referenced by MinterpreterTEL::parse_TELEGRAM(), and UWMinterpreter().


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