#include <LogTrace.h>
Public Member Functions | |
MIPObject () | |
virtual string | getObjectName () const =0 |
Method that gives the name of the class as it will be displayed by the tracer. | |
void | fatal (const string &fatalMessage) const |
Fatal error, print an error message and exit. | |
void | warning (const string &warningMessage) const |
Warning error, print an warning message on cerr. | |
void | info (const string &infoMessage) const |
Info message, print an info message on cout. | |
void | debug (int level, const string &debugMessage) const |
Debug message, print an info message on cout. | |
void | setCustomDebugLevel (int customDebugLevel) |
Sets a custom level for the debug of the task. | |
int | getDebugLevel () |
Sets a custom level for the debug of the task. |
MIPObject::MIPObject | ( | ) | [inline] |
virtual string MIPObject::getObjectName | ( | ) | const [pure virtual] |
Method that gives the name of the class as it will be displayed by the tracer.
Implemented in FormCtrlOptions, SpringDampFormCtrlPar, ArtPotentialFormCtrlPar, FormationControl, kybalg::MutLocQuad, kybalg::mutLocQuadStereoCam, kybalg::ProbMultiRegCam3DQuadSol, kybalg::ProbMultiRegCam3DCam, kybalg::Triangle, kybalg::ProbPolFusion, kybalg::probMultiRegStereoCam3DQuadSol, kybalg::probMultiRegStereoCam3DCam, kybalg::triangleAssObs, kybalg::probPolFusionDist, ObsAvoiAlgoDynOptions, ObsAvoiAlgoDynBoxPar, ObsAvoiAlgoBangBangPar, ObsAvoiAlgoDyn, MipAlgorithms::ObsAvoiAlgoLIPOptions, MipAlgorithms::ObsAvoiAlgoLIPParams, MipAlgorithms::ObsAvoiAlgoLIP, MipAlgorithms::ObsAvoiAlgoPFM, MipAlgorithms::ObsAvoiAlgoSNDOptions, MipAlgorithms::ObsAvoiAlgoSNDParams, MipAlgorithms::ObsAvoiAlgoSND, MipAlgorithms::ObsAvoiAlgoVFH, PspmOptions, PspmPar, Pspm, MipAlgorithms::GMIDPHDUnicycle2DRCFilter, MipAlgorithms::GMPHDLinear2DTargetNoIdFilter, MipAlgorithms::GMPHDUnicycle2DCamIdRCFilter, MipAlgorithms::GMPHDUnicycle2DIdCentrFilter, MipAlgorithms::GMPHDUnicycle2DIdCoop3Filter, MipAlgorithms::GMPHDUnicycle2DIdCoop4Filter, MipAlgorithms::GMPHDUnicycle2DIdCoopFilter, MipAlgorithms::GMPHDUnicycle2DIdCoopFilter2, MipAlgorithms::GMPHDUnicycle2DIdCoopRCFilter, MipAlgorithms::GMPHDUnicycle2DIdFilter, MipAlgorithms::GMPHDUnicycle2DIdRCFilter, MipAlgorithms::GMPHDUnicycle2DNoIdFilter, UavControlOptions, UavControlPar, UavControl, File, MipBaselib::Frontier, MipBaselib::PerceptionFrontier, MipBaselib::PerceptionGridPar, MipBaselib::PerceptionGrid, SocketUDP, Wrapper, ListenerUDP, SenderUDP, BroadcasterUDP, LinuxShMem, CommonOptions, GenericOption, DecimalOption, PositionOption, Position3DOption, PoseOption, Pose3DOption, DecimalArrayOption, IntOption, StringOption, BoolOption, Options, MipBaselib::CameraCCDPar3DArma, MipBaselib::MotionModuleState, KheperaServerOptions, MipResources::KheperaServerROSOptions, MipResources::CameraOptions, MipResources::CameraCVDOptions, MipResources::CameraRosOptions, MipResources::DirectStreamCommModuleOptions, MipResources::IPCommModuleOptions, MipResources::DraWinGLOptions, MipResources::ExternScanMatchOptions, MipResources::Imu_sensorOptions, MipResources::MobileRobOptions, MipResources::OfflineMR, MipResources::RemoteKheperaOptions, MipResources::MobileRob3DOptions, MipResources::MotionModuleOptions, MipResources::RangeSensOptions, MipResources::URG04LXCommand, MipResources::URG04LXmmCommand, MipResources::RemoteDeviceOptions, MipResources::Resource, MipResources::ROSNodeOptions, MipResources::asctecUavOptions, MipResources::HummingBirdUavOptions, MipResources::OfflineUav, MipResources::UavOptions, MipTasks::AntiSimmetryTaskOptions, MipTasks::ClearingOptions, MipTasks::ClocheOptions, MipTasks::DeployOptions, MipTasks::DriverOptions, MipTasks::FeatExtrCamOptions, MipTasks::FeatExtrOptions, MipTasks::FormControlTaskOptions, MipTasks::JoystickOptions, MipTasks::LaserNavigationTaskOptions, MipTasks::LineFollowingOptions, MipTasks::Localization3DOptions, MipTasks::MutLocOptions, MipTasks::ObstacleAvoidanceOptions, MipTasks::OfflinerTaskOptions, MipTasks::ParticleMutLocOptions, MipTasks::ParticleMutLocCamOffOptions, MipTasks::ParticleMutLocCamOptions, MipTasks::ParticleMutLocNoMROptions, MipTasks::CentralizedPHDFilterTaskOptions, MipTasks::PHDCamFilterTaskOptions, MipTasks::PHDFilterTaskOptions, MipTasks::PursuingComm, MipTasks::PursuingOptions, MipTasks::RemoteRobTaskOptions, MipTasks::ScanMatchingOptions, MipTasks::Task, MipTasks::TrackerOptions, MipTasks::UavHeightControlOptions, MipTasks::UavHeiConOnboardOptions, MipTasks::ExampleTaskOptions, MipTasks::UAVPositioningSystemOptions, and MipTasks::VisualHoveringOptions.
void MIPObject::fatal | ( | const string & | fatalMessage | ) | const [inline] |
Fatal error, print an error message and exit.
[in] | fatalMessage | Error message to print |
void MIPObject::warning | ( | const string & | warningMessage | ) | const [inline] |
Warning error, print an warning message on cerr.
[in] | warningMessage | Error message to print |
void MIPObject::info | ( | const string & | infoMessage | ) | const [inline] |
Info message, print an info message on cout.
[in] | infoMessage | Info message to print |
void MIPObject::debug | ( | int | level, | |
const string & | debugMessage | |||
) | const [inline] |
Debug message, print an info message on cout.
[in] | level | Debug level. |
[in] | debugMessage | Debug message to print. |
void MIPObject::setCustomDebugLevel | ( | int | customDebugLevel | ) | [inline] |
Sets a custom level for the debug of the task.
[in] | customDebugLevel | Custom debug level. |
int MIPObject::getDebugLevel | ( | ) | [inline] |
Sets a custom level for the debug of the task.