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

base/base File Reference

#include <iostream>
#include <string>
#include <sstream>
#include <list>
#include <stdexcept>
#include <algorithm>
#include <typeinfo>
#include <functional>
#include <base/reflist>
#include <string.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <base/MemoryTracer>
#include <base/debugtools>
#include <base/array>
#include <base/ref>

Include dependency graph for base:

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.

Namespaces

namespace  base

Defines

#define USE_OSG
#define _LOG_CALLER_NAME   base::className(typeid(*this)) << "::" << __func__ << " -- "
#define Log(o)   { base::_Log << _LOG_CALLER_NAME << o; }
#define Logln(o)   { base::_Log << _LOG_CALLER_NAME << o << "\n"; }
#define Logc(o)   { base::_Log << o; }
#define Logcln(o)   { base::_Log << o << "\n"; }
#define Logf(o)   { base::_Log << __func__ << " -- " << o; }
#define Logfln(o)   { base::_Log << __func__ << " -- " << o << "\n"; }
#define Logfc(o)   Logc(o)
#define Logfcln(o)   Logcln(o)
#define Console(o)   { base::_Console << o; }
#define Consoleln(o)   { base::_Console << o << std::endl; }
#define abortOnAssertionFailureEnabled(e)
#define exceptionOutputEnabled(e)
#define abortOnExceptionConstructionEnabled(e)
#define Exception(o)   String(String("exception thrown: ")+String(base::className(typeid(*this)))+"::"+String(__func__)+":\n - "+String(o))
#define Exceptionf(o)   String(String("exception thrown: ")+String(__func__)+":\n - "+String(o))
#define Assertion(o)   String(String("assertion failed: ")+String(base::className(typeid(*this)))+"::"+String(__func__)+" - "+String(o))
#define Assertionf(o)   String(String("assertion failed: ")+String(__func__)+" - "+String(o))
#define Assert(a)
#define Assertf(a)
#define Assertm(a, s)
#define Assertmf(a, s)
#define Assertifm(f, a, s)   Assertm(!f || a,s)
#define Assertifmf(f, a, s)   Assertmf(!f || a,s)
#define instanceof(var, type)   (dynamic_cast<type*>(&var) != 0)


Define Documentation

#define _LOG_CALLER_NAME   base::className(typeid(*this)) << "::" << __func__ << " -- "
 

Definition at line 283 of file base.

#define abortOnAssertionFailureEnabled  ) 
 

Definition at line 309 of file base.

#define abortOnExceptionConstructionEnabled  ) 
 

Definition at line 337 of file base.

#define Assert  ) 
 

Definition at line 401 of file base.

Referenced by robot::KinematicChain::activateLink(), physics::CollidableGroup::addCollidable(), robot::control::kinematics::BetaFormConstraints::addConstraint(), base::Externalizer::appendBreak(), base::Externalizer::appendElement(), base::Externalizer::appendNode(), robot::KinematicChain::at(), robot::KinematicChain::back(), base::Serializer::baseRef(), physics::Body::Body(), base::BitArray::ClearBit(), physics::CollisionResponseHandler::collide(), base::ExpressionNode::differentiate(), base::Externalizer::elementTagName(), base::matrix< T >::equals(), robot::control::kinematics::ReferenceOpVectorFormObjective::evaluate(), robot::control::kinematics::BetaFormConstraints::evaluate(), base::BitArray::FlipBit(), robot::KinematicChain::front(), robot::sim::SimulatedTool::getFirstLinkCollidable(), robot::sim::SimulatedTool::getFirstLinkProximitySensorCollidable(), robot::TestRobot::ProximitySensorInterface::getInput(), robot::TestRobot::PlatformControlInterface::getInput(), robot::TestRobot::ToolControlInterface::getInput(), robot::TestRobot::ManipulatorControlInterface::getInput(), robot::sim::SimulatedRobot::ProximitySensorInterface::getInput(), robot::sim::SimulatedRobot::PlatformControlInterface::getInput(), robot::sim::SimulatedRobot::ToolControlInterface::getInput(), robot::sim::SimulatedRobot::ManipulatorControlInterface::getInput(), robot::KinematicChain::getLinkFrame(), robot::sim::IKORTest::getTest(), base::Externalizer::input(), robot::sim::SimulatedRobot::ProximitySensorInterface::inputName(), base::BitArray::IsBitSet(), base::Externalizer::lastAppendedElement(), robot::KinematicChain::linkIndexOfVariable(), robot::KinematicChain::linkIsActive(), robot::KinematicChain::linkOfVariable(), base::Vector3::magNormalize(), base::matrix< T >::matrix(), base::matrixcolumn< T >::matrixcolumn(), matrixRow(), base::Externalizer::moreInput(), base::Vector3::normalize(), base::BitArray::operator &=(), operator *(), base::matrix< T >::operator *=(), base::const_vectorrange< T >::operator vector(), base::Serializer::operator()(), base::matrix< T >::operator+=(), base::const_vectorrange< T >::operator=(), base::BitArray::operator[](), base::BitArray::operator^=(), base::BitArray::operator|=(), base::Externalizer::output(), base::Externalizer::popContext(), base::Externalizer::pushContext(), demeter::TerrainBlock::RepairCracks(), base::BitArray::SetBit(), robot::KinematicChain::setLinkAt(), robot::KinematicChain::setLinkFrame(), robot::TestRobot::ProximitySensorInterface::setOutput(), robot::TestRobot::PlatformControlInterface::setOutput(), robot::TestRobot::ToolControlInterface::setOutput(), robot::TestRobot::ManipulatorControlInterface::setOutput(), robot::sim::SimulatedRobot::PlatformControlInterface::setOutput(), robot::sim::SimulatedRobot::ToolControlInterface::setOutput(), robot::sim::SimulatedRobot::ManipulatorControlInterface::setOutput(), robot::TestRobot::ManipulatorControlInterface::setOutputs(), robot::BasicControlInterface::setOutputs(), base::Math::sqrt(), physics::GJKCollisionModel::support(), base::matrixrange< T >::transpose(), robot::KinematicChain::Link::variable(), and robot::KinematicChain::variableUnitType().

#define Assertf  ) 
 

Definition at line 402 of file base.

#define Assertifm f,
a,
 )     Assertm(!f || a,s)
 

Definition at line 407 of file base.

#define Assertifmf f,
a,
 )     Assertmf(!f || a,s)
 

Definition at line 408 of file base.

#define Assertion  )     String(String("assertion failed: ")+String(base::className(typeid(*this)))+"::"+String(__func__)+" - "+String(o))
 

Definition at line 389 of file base.

#define Assertionf  )     String(String("assertion failed: ")+String(__func__)+" - "+String(o))
 

Definition at line 390 of file base.

#define Assertm a,
 ) 
 

Definition at line 403 of file base.

Referenced by physics::ODEJoint::checkAddedAndAttached(), physics::ODEFixedConstraint::checkAddedAndAttached(), physics::ODEContactConstraint::checkAddedAndAttached(), physics::ODEMotor::checkAttached(), base::Vector3::e(), base::Matrix4::e(), base::Matrix3::e(), base::Application::getInstance(), base::array< Real >::operator()(), base::array< Real >::operator[](), robot::sim::SimulatedRobot::ProximitySensorInterface::outputName(), and robot::sim::SimulatedRobot::ProximitySensorInterface::setOutput().

#define Assertmf a,
 ) 
 

Definition at line 404 of file base.

#define Console  )     { base::_Console << o; }
 

Definition at line 296 of file base.

#define Consoleln  )     { base::_Console << o << std::endl; }
 

Definition at line 297 of file base.

#define Exception  )     String(String("exception thrown: ")+String(base::className(typeid(*this)))+"::"+String(__func__)+":\n - "+String(o))
 

Definition at line 386 of file base.

Referenced by base::Vector4::at(), base::Vector3::at(), base::Vector2::at(), base::Quat4::at(), base::Matrix4::at(), base::Matrix3::at(), base::array< Real >::at(), base::array< Real >::back(), base::Serializer::baseRef(), base::VariableExpression::cacheValue(), demangleTypeidName(), base::Quat4::e(), base::array< Real >::front(), robot::Robot::getRobotDescription(), robot::control::ControllableAdaptor::indexOutOfRange(), demeter::TerrainLattice::Load(), nrerror(), base::Serializer::operator()(), base::PathName::operator[](), base::array< Real >::pop_back(), base::Referenced::Referenced(), demeter::Terrain::SetCommonTexture(), robot::control::kinematics::InverseKinematicsSolver::setParameter(), physics::SolidSystem::setParameter(), physics::Motor::setParameter(), physics::Constraint::setParameter(), demeter::Terrain::SetTexture(), physics::Cylinder::support(), physics::Cone::support(), physics::Capsule::support(), base::Matrix4::swapColumns(), base::Matrix3::swapColumns(), base::Matrix4::swapRows(), base::Matrix3::swapRows(), demeter::Terrain::Terrain(), base::Referenced::unreference(), robot::KinematicChain::Link::variable(), and base::Referenced::~Referenced().

#define Exceptionf  )     String(String("exception thrown: ")+String(__func__)+":\n - "+String(o))
 

Definition at line 388 of file base.

#define exceptionOutputEnabled  ) 
 

Definition at line 327 of file base.

#define instanceof var,
type   )     (dynamic_cast<type*>(&var) != 0)
 

Definition at line 410 of file base.

Referenced by base::Serializer::baseRef(), physics::CollisionResponseHandler::collide(), and base::Serializer::operator()().

#define Log  )     { base::_Log << _LOG_CALLER_NAME << o; }
 

Definition at line 286 of file base.

#define Logc  )     { base::_Log << o; }
 

Definition at line 288 of file base.

#define Logcln  )     { base::_Log << o << "\n"; }
 

Definition at line 289 of file base.

#define Logf  )     { base::_Log << __func__ << " -- " << o; }
 

Definition at line 291 of file base.

#define Logfc  )     Logc(o)
 

Definition at line 293 of file base.

#define Logfcln  )     Logcln(o)
 

Definition at line 294 of file base.

#define Logfln  )     { base::_Log << __func__ << " -- " << o << "\n"; }
 

Definition at line 292 of file base.

Referenced by stressTestAllocator().

#define Logln  )     { base::_Log << _LOG_CALLER_NAME << o << "\n"; }
 

Definition at line 287 of file base.

Referenced by gfx::Visual::createOSGVisual(), and demeter::DemeterDrawable::setUseDisplayList().

#define USE_OSG
 

Definition at line 51 of file base.


Generated on Thu Jul 29 16:00:56 2004 for OpenSim by doxygen 1.3.6