MipResources::CommModuleVar Class Reference
[Communication module]

Represents the fundamental variables an abstract communication module. More...

#include <CommModule.h>

List of all members.

Public Member Functions

 CommModuleVar ()
 Default constructor.
 CommModuleVar (const CommModuleVar &v)
 Copy constructor.
CommModuleVaroperator= (const CommModuleVar &v)
 Assigment operator =.
string print ()
 Print function.

Public Attributes

list< CommPacketstoredPackets
 packets internal storage
pthread_mutex_t rcvMutex
map< int, CommBoxboxes
 associative array indexed by task numbers and containing CommBoxes
map< int, CommBox >::iterator boxesIt
vector< string > assignedBoxes
 this


Detailed Description

Represents the fundamental variables an abstract communication module.

Author:
Fabrizio Ramundo
Todo:
eliminate the PACKETS_RESERV_SIZE

Constructor & Destructor Documentation

MipResources::CommModuleVar::CommModuleVar (  ) 

Default constructor.

This constructor only initialize the mutex.

MipResources::CommModuleVar::CommModuleVar ( const CommModuleVar v  ) 

Copy constructor.

This constructor completely create a set of variables, copying it from another CommModuleVar.


Member Function Documentation

CommModuleVar & MipResources::CommModuleVar::operator= ( const CommModuleVar v  ) 

Assigment operator =.

string MipResources::CommModuleVar::print (  ) 

Print function.

This function returns a string that can be printed, with all the informations contained in the class.

Returns:
The string that can be printed.


Member Data Documentation

packets internal storage

Todo:
change this vector to a list

associative array indexed by task numbers and containing CommBoxes

this


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6