MipResources::RemoteKheperaVar Class Reference
[Mobile robot]

Specific variables of RemoteKhepera. More...

#include <RemoteKhepera.h>

Inheritance diagram for MipResources::RemoteKheperaVar:

MipResources::MobileRobVar

List of all members.

Public Member Functions

bool setLastScan (Scan &newScan)
bool getLastScan (Scan &scan, Time timeout)
bool getOldScan (Scan &scan, Time timeout)
 RemoteKheperaVar ()
 Default constructor.
 ~RemoteKheperaVar ()
 Destructor.
pthread_mutex_t * ptStateLogMutex ()
void lockTStateLog ()
 Lock the log list of the TStates.
void unlockTStateLog ()
 Unlock the log list of the TStates.
MotionModuleTStateLogptrTStateLog ()
 Gets a pointer to the log of the MotionModuleTStates.

Public Attributes

Scan_lastScan1
Scan_lastScan2
Time _lastScanTime
Timer _scanTimer
int _lastScanNum
int _lastStateNumber


Detailed Description

Specific variables of RemoteKhepera.

Author:
Antonio Franchi and Paolo Stegagno

Constructor & Destructor Documentation

MipResources::RemoteKheperaVar::RemoteKheperaVar (  ) 

Default constructor.

MipResources::RemoteKheperaVar::~RemoteKheperaVar (  )  [inline]

Destructor.


Member Function Documentation

bool MipResources::RemoteKheperaVar::setLastScan ( Scan newScan  ) 

Parameters:
newScan 

bool MipResources::RemoteKheperaVar::getLastScan ( Scan scan,
Time  timeout 
)

Parameters:
newScan 
Returns:

bool MipResources::RemoteKheperaVar::getOldScan ( Scan scan,
Time  timeout 
)

Parameters:
newScan 
Returns:

pthread_mutex_t* MipResources::RemoteKheperaVar::ptStateLogMutex (  )  [inline]

void MipResources::RemoteKheperaVar::lockTStateLog (  )  [inline]

Lock the log list of the TStates.

void MipResources::RemoteKheperaVar::unlockTStateLog (  )  [inline]

Unlock the log list of the TStates.

MotionModuleTStateLog* MipResources::RemoteKheperaVar::ptrTStateLog (  )  [inline]

Gets a pointer to the log of the MotionModuleTStates.

Returns:
Pointer to _tStateLog.


Member Data Documentation


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