Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

rs_error.h File Reference

Include file for the RoboSoc macros RS_ERROR, RS_WARNING, and RS_FATAL. More...

Include dependency graph for rs_error.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define RS_WARNING(str)   RS_LOG( RS_NAMESPACE::LA_WARNING, "WARNING[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 This macro is used to report warnings.

#define RS_ERROR(str)   RS_LOG( RS_NAMESPACE::LA_ERROR, "ERROR[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 This macro is used to report errors.

#define RS_FATAL(str)   RS_LOG( RS_NAMESPACE::LA_FATAL, "FATAL[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 This macro is used to report fatal errors.


Detailed Description

Include file for the RoboSoc macros RS_ERROR, RS_WARNING, and RS_FATAL.

The macros are used for reporting errors.

Unit:
Library
Revision
1.2
Author
frehe
Date
2000/09/05 11:07:42

Definition in file rs_error.h.


Define Documentation

#define RS_WARNING str       RS_LOG( RS_NAMESPACE::LA_WARNING, "WARNING[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 

This macro is used to report warnings.

The warning contains the file and line where the warning was reported and also a string with warning information.

Definition at line 73 of file rs_error.h.

Referenced by RS::SensorInterface::forceNewCycle(), RS::AccelerateBallToVelocity::generateStep(), RS::WorldFacts::getPlayerType(), RS::WithError< T >::improve(), RS::SensorInterface::newCycle(), RS::WorldFacts::readOptions(), RS::ChangeModeCommand::serverString(), RS::WorldFacts::setTeammateType(), and RS::BasicCommandStrategy::updateAfterCommand().

#define RS_ERROR str       RS_LOG( RS_NAMESPACE::LA_ERROR, "ERROR[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 

This macro is used to report errors.

The error contains the file and line where the error was reported and also a string with error information.

Definition at line 74 of file rs_error.h.

Referenced by RS::FrameworkSensorInterface::hearReferee(), RS::BasicSensorInterface::hearReferee(), RS::FrameworkSensorInterface::setLastSensorType(), and RS::BasicSensorInterface::setLastSensorType().

#define RS_FATAL str       RS_LOG( RS_NAMESPACE::LA_FATAL, "FATAL[On line " << __LINE__ << " in " << __FILE__ << "]: " << str )
 

This macro is used to report fatal errors.

The fatal error contains the file and line where the fatal error was reported and also a string with fatal error information.

Definition at line 75 of file rs_error.h.

Referenced by RS::View::newCycle(), RS::FrameworkAgent::start(), RS::View::updateAfterCoachMessage(), RS::View::updateAfterCommand(), RS::BasicCommandStrategy::updateAfterCommand(), RS::View::updateAfterHear(), RS::View::updateAfterInit(), RS::View::updateAfterSee(), and RS::View::updateAfterSense().


Generated on Mon Aug 29 08:12:49 2011 for RoboSoc by doxygen1.3-rc3