Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BIAS::Debug Class Reference

#include <Base/Debug/Debug.hh>

Inherited by BIAS::BaseFactory< BaseClassType, TagType > [private], BIAS::BSplineCurve, BIAS::CamPoseCalib, BIAS::clfTrimmedICP, BIAS::ColorHarris, BIAS::ColorSegmentation, BIAS::Condensation, BIAS::Conic2D, BIAS::ConstantRegionDetector< StorageType, CalculationType >, BIAS::ContourBSplineData, BIAS::ContourDetectorBase< StorageType >, BIAS::ControlInterface, BIAS::ConvertBayerPattern< StorageType >, BIAS::CornerDetectorBase< StorageType >, BIAS::COSAC< SolutionType >, BIAS::CScommBase, BIAS::DC_GPS, BIAS::DC_inertial, BIAS::DC_ptu, BIAS::DistortionRendering, BIAS::EpipolarLine, BIAS::ExampleLevenbergMarquardt [private], BIAS::ExtendedKalman, BIAS::FFT, BIAS::FilterBase< InputStorageType, OutputStorageType >, BIAS::FilterMask, BIAS::FMatrix, BIAS::FMatrixEstimation, BIAS::GaussHelmert, BIAS::GLProjectionOutputAttachment, BIAS::GLProjectionParametersBase, BIAS::GuiBase, BIAS::Histogram1D< T >, BIAS::ImageAlignment, BIAS::ImageAttributes, BIAS::ImageBase, BIAS::ImageBlender, BIAS::ImageBlenderIncremental, BIAS::ImageCanvas, BIAS::ImageConvert [private], BIAS::Interpolator, BIAS::IselLinearControl, BIAS::IselLinearControlTwoAxis, BIAS::IteratedExtendedKalman, BIAS::Kalman, BIAS::LDA, BIAS::LeastSquaresBase, BIAS::MatchDataBase, BIAS::MSAC< SolutionType > [virtual], BIAS::OffscreenRendering, BIAS::Param, BIAS::PMatrixEstimation, BIAS::PMatrixLinear, BIAS::Polynom, BIAS::PolynomialSolve, BIAS::PreemptiveRANSAC< SolutionType > [virtual], BIAS::PyramidImage< T >, BIAS::Random, BIAS::RANSAC< SolutionType > [virtual], BIAS::RegionMatcher, BIAS::ROI, BIAS::RotationAveraging, BIAS::SceneBase, BIAS::SimilarityTransform, BIAS::SOCP, BIAS::SVD, BIAS::ThreeDOut, BIAS::TimeStampGen, BIAS::Tracker< StorageType, CalculationType >, BIAS::TrackerBaseInterface< StorageType >, BIAS::Triangulation, BIAS::TriangulationMidPoint, BIAS::UDPServer, BIAS::UncertaintyTransformBase, BIAS::UUID, BIAS::VideoServer, BIAS::VideoShMFeeder, BIAS::VideoSource, BIAS::VideoSource_MDcam, BIAS::VideoTransmitter, BIAS::ViscaControl, BIAS::XMLIO, BIAS::FilterBase< CalculationType, CalculationType >, BIAS::FilterBase< float, float >, BIAS::FilterBase< InputST, OutputST >, BIAS::FilterBase< OutputST, OutputST >, BIAS::FilterBase< OutputStorageType, OutputStorageType >, BIAS::FilterBase< StorageType, CalculationType >, BIAS::FilterBase< StorageType, StorageType >, BIAS::FilterBase< unsigned char, unsigned char >, BIAS::PyramidImage< float >, BIAS::PyramidImage< InputStorageType >, BIAS::PyramidImage< StorageType >, BIAS::PyramidImage< unsigned char >, BIAS::RANSAC< double > [virtual], BIAS::RANSAC< HomgPlane3D > [virtual], and BIAS::TrackerBaseInterface< CalculationType >.

+ Collaboration diagram for BIAS::Debug:

Public Member Functions

void AddDebugLevel (const long int lv)
 
void AddDebugLevel (const std::string &name)
 
 Debug ()
 
 Debug (const Debug &deb)
 
bool DebugLevelIsSet (const long int lv) const
 
bool DebugLevelIsSet (const std::string &name) const
 
int GetDebugLevel () const
 
std::ostream & GetDebugStream () const
 
void GetDebugStream (std::ostream &os) const
 
long int Name2DebugLevel (const std::string &name) const
 looks up a debuglevel in the internal map, returns 0 if not found More...
 
long int NewDebugLevel (const std::string &name)
 creates a new debuglevel More...
 
Debugoperator= (const Debug &deb)
 
void PrintDebugLevel (std::ostream &os=std::cout) const
 
void RemoveDebugLevel (const long int lv)
 
void RemoveDebugLevel (const std::string &name)
 
void SetDebugLevel (const long int lv)
 
void SetDebugLevel (const std::string &name)
 
void SetDebugStream (const std::ostream &os)
 
void ShowDebugLevel (std::ostream &os=std::cout) const
 prints all internally known debuglevels More...
 
 ~Debug ()
 

Static Public Member Functions

static long int GetGlobalDebugLevel ()
 
static void SetGlobalDebugLevel (long int lev)
 

Protected Member Functions

long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel More...
 

Protected Attributes

long int _liDebugLevel
 
long int _liNextDebugLevel
 new concept, debuglevel are managed here in the debug class More...
 
std::map< std::string, long int > _String2Debuglevel
 

Static Protected Attributes

static std::ostream _zDebugStream
 
static long int GlobalDebugLevel = 0
 

Detailed Description

Examples:
ExampleCopy.cpp, ExampleDebug.cpp, ExampleLevenbergMarquardt.cpp, and ExampleXMLBase.cpp.

Definition at line 298 of file Debug.hh.

Constructor & Destructor Documentation

BIAS::Debug::Debug ( )
inline

Definition at line 301 of file Debug.hh.

BIAS::Debug::Debug ( const Debug deb)
inline

Definition at line 309 of file Debug.hh.

BIAS::Debug::~Debug ( )
inline

Definition at line 316 of file Debug.hh.

Member Function Documentation

void BIAS::Debug::AddDebugLevel ( const long int  lv)
inline
void BIAS::Debug::AddDebugLevel ( const std::string &  name)
inline

Definition at line 362 of file Debug.hh.

long BIAS::Debug::ConsumeNextFreeDebuglevel_ ( )
inlineprotected

returns the next available debuglevel

Author
woelk 09/2006

Definition at line 521 of file Debug.hh.

bool BIAS::Debug::DebugLevelIsSet ( const long int  lv) const
inline
bool BIAS::Debug::DebugLevelIsSet ( const std::string &  name) const
inline

Definition at line 350 of file Debug.hh.

int BIAS::Debug::GetDebugLevel ( ) const
inline
std::ostream& BIAS::Debug::GetDebugStream ( ) const
inline

Definition at line 405 of file Debug.hh.

void BIAS::Debug::GetDebugStream ( std::ostream &  os) const
inline

Definition at line 414 of file Debug.hh.

static long int BIAS::Debug::GetGlobalDebugLevel ( )
inlinestatic

Definition at line 431 of file Debug.hh.

long int BIAS::Debug::Name2DebugLevel ( const std::string &  name) const
inline

looks up a debuglevel in the internal map, returns 0 if not found

Author
woelk 09/2006

Definition at line 454 of file Debug.hh.

long int BIAS::Debug::NewDebugLevel ( const std::string &  name)
inline
Debug& BIAS::Debug::operator= ( const Debug deb)
inline

Definition at line 440 of file Debug.hh.

References _liDebugLevel, _liNextDebugLevel, _String2Debuglevel, and _zDebugStream.

void BIAS::Debug::PrintDebugLevel ( std::ostream &  os = std::cout) const
inline

Definition at line 383 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const long int  lv)
inline

Definition at line 369 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const std::string &  name)
inline

Definition at line 376 of file Debug.hh.

void BIAS::Debug::SetDebugLevel ( const long int  lv)
inline
void BIAS::Debug::SetDebugLevel ( const std::string &  name)
inline

Definition at line 325 of file Debug.hh.

void BIAS::Debug::SetDebugStream ( const std::ostream &  os)
inline

Definition at line 398 of file Debug.hh.

static void BIAS::Debug::SetGlobalDebugLevel ( long int  lev)
inlinestatic

Definition at line 424 of file Debug.hh.

void BIAS::Debug::ShowDebugLevel ( std::ostream &  os = std::cout) const
inline

prints all internally known debuglevels

Author
woelk 09/2006

Definition at line 496 of file Debug.hh.

Member Data Documentation

long int BIAS::Debug::_liDebugLevel
protected

Definition at line 510 of file Debug.hh.

Referenced by operator=(), and BIAS::ImageBase::operator=().

long int BIAS::Debug::_liNextDebugLevel
protected

new concept, debuglevel are managed here in the debug class

Definition at line 516 of file Debug.hh.

Referenced by operator=().

std::map<std::string, long int> BIAS::Debug::_String2Debuglevel
protected

Definition at line 517 of file Debug.hh.

Referenced by operator=().

std::ostream BIAS::Debug::_zDebugStream
staticprotected

Definition at line 511 of file Debug.hh.

Referenced by operator=().

long int BIAS::Debug::GlobalDebugLevel = 0
staticprotected

Definition at line 513 of file Debug.hh.


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