|
Classes |
| class | MsgUtil |
Defines |
| #define | memTraceMsg(classname) static const char* _classname_ = classname; |
| #define | traceMsg(message) ((void)0) |
| #define | traceId(classname) static const char* _classname_ = classname; |
| #define | assertMsg(e) ((void)0) |
| #define | verboseMsg(message) |
| #define | verboseMsg1(format, arg1) |
| #define | verboseMsg2(format, arg1, arg2) |
| #define | verboseMsg3(format, arg1, arg2, arg3) |
| #define | verboseMsg4(format, arg1, arg2, arg3, arg4) |
| #define | verboseMsg5(format, arg1, arg2, arg3, arg4, arg5) |
| #define | verboseMsg6(format, arg1, arg2, arg3, arg4, arg5, arg6) |
| #define | debugMsg(message) |
| #define | debugMsg1(format, arg1) |
| #define | debugMsg2(format, arg1, arg2) |
| #define | debugMsg3(format, arg1, arg2, arg3) |
| #define | debugMsg4(format, arg1, arg2, arg3, arg4) |
| #define | debugMsg5(format, arg1, arg2, arg3, arg4, arg5) |
| #define | debugMsg6(format, arg1, arg2, arg3, arg4, arg5, arg6) |
| #define | infoMsg(message) |
| #define | infoMsg1(format, arg1) |
| #define | infoMsg2(format, arg1, arg2) |
| #define | infoMsg3(format, arg1, arg2, arg3) |
| #define | infoMsg4(format, arg1, arg2, arg3, arg4) |
| #define | infoMsg5(format, arg1, arg2, arg3, arg4, arg5) |
| #define | infoMsg6(format, arg1, arg2, arg3, arg4, arg5, arg6) |
| #define | warnMsg(message) |
| #define | warnMsg1(format, arg1) |
| #define | warnMsg2(format, arg1, arg2) |
| #define | warnMsg3(format, arg1, arg2, arg3) |
| #define | warnMsg4(format, arg1, arg2, arg3, arg4) |
| #define | warnMsg5(format, arg1, arg2, arg3, arg4, arg5) |
| #define | warnMsg6(format, arg1, arg2, arg3, arg4, arg5, arg6) |
|
|
Function trace traceId(const char *className) Use this macro at the start of every function. This does two things. First it sets up a variable called _classname_ which is used in all the following macros. Second, it sends an empty trace message so that you can trace the function calls during a run. Since this can result in lots of messages, TRACE level messaging is turned off by default.
Definition at line 285 of file MsgUtil.h.
Referenced by VWorld::addGeometry(), MObject::addGeometry(), MBody::addMassDistribution(), MWorld::advanceModel(), MHingeJoint::applyTorque(), MJoint::body1(), MJoint::body2(), VWorld::cleanup(), VLight::cleanup(), VGeometry::cleanup(), MWorld::cleanup(), MObject::cleanup(), MJoint::cleanup(), MBody::cleanup(), VGeomFactory::createGeometry(), MGeomFactory::createGeometry(), MJointFactory::createJoint(), VLight::draw(), VGeometry::draw(), VWorld::drawAllObjects(), VLight::drawBox(), VLighting::drawLights(), VSphereGeom::drawObject(), VPlaneGeom::drawObject(), VBoxGeom::drawObject(), MGeometry::encapsulatedGeomID(), MJointFactory::factory(), MGeomFactory::factory(), VWorld::findGeometry(), MPlaneGeom::getAbsolutePosition(), MGeometry::getAbsolutePosition(), MPlaneGeom::getAbsoluteQuaternion(), MGeometry::getAbsoluteQuaternion(), VLighting::getAmbientLight(), MHingeJoint::getAnchor(), MHingeJoint::getAngle(), MHingeJoint::getAngleRange(), VLighting::getAvailableData(), VLight::getAvailableData(), VGeometry::getAvailableData(), MTransformable::getAvailableData(), MPlaneGeom::getAvailableData(), MJoint::getAvailableData(), MBoxGeom::getAvailableData(), MBody::getAvailableData(), MHingeJoint::getAxis(), MBody::getBodyForID(), MBody::getCenterOfMass(), VLight::getColor(), VLight::getConstantAttenuation(), VLighting::getDataValue(), VLight::getDataValue(), VGeometry::getDataValue(), MTransformable::getDataValue(), MSphereGeom::getDataValue(), MPlaneGeom::getDataValue(), MJoint::getDataValue(), MHingeJoint::getDataValue(), MBoxGeom::getDataValue(), MBody::getDataValue(), MBoxGeom::getDimensions(), VLight::getDirection(), MHingeJoint::getForceMax(), MGeometry::getGeomForID(), MWorld::getJoint(), VLighting::getLightParameters(), VLight::getLinearAttenuation(), MBody::getMassDistribution(), MSphereGeom::getMassDistro(), MPlaneGeom::getMassDistro(), MBoxGeom::getMassDistro(), MWorld::getObject(), MPlaneGeom::getPlaneEquation(), VLight::getPosition(), MPlaneGeom::getPosition(), MGeometry::getPosition(), MBody::getPosition(), VLight::getQuadraticAttenuation(), MPlaneGeom::getQuaternion(), MGeometry::getQuaternion(), MBody::getQuaternion(), MHingeJoint::getRotationRate(), MWorld::getSpace(), MObject::getSpace(), VLight::getSpotCutoff(), VLight::getSpotDirection(), VLight::getSpotExponent(), MBody::getTotalMass(), MBody::getVelocity(), MWorld::handleGravityNode(), MWorld::handleJointNode(), MWorld::handleObjectNode(), MWorld::handleSpaceNode(), VWorld::initFromXML(), VLighting::initFromXML(), VLight::initFromXML(), ViewerGUI::initFromXML(), ViewerApp::initFromXML(), VGeometry::initFromXML(), VControlPanel::initFromXML(), VCanvas::initFromXML(), MWorld::initFromXML(), MSphereGeom::initFromXML(), MPlaneGeom::initFromXML(), MObject::initFromXML(), MHingeJoint::initFromXML(), MBoxGeom::initFromXML(), MBody::initFromXML(), VCanvas::InitGL(), VGeometry::name(), MGeometry::nearCallback(), VGeometry::objectName(), VControlPanel::onAccuracyChoice(), VCanvas::onEnterWindow(), VControlPanel::onFFBtn(), VWorldTree::onGridChanged(), ViewerGUI::onGridDataChanged(), ViewerGUI::onIdle(), ViewerApp::OnInit(), VCanvas::onKey(), VCanvas::onMouse(), VControlPanel::onResetBtn(), VWorldTree::onSelectionChanged(), ViewerGUI::onSelectionChanged(), VCanvas::onSize(), VControlPanel::onSpeedChoice(), MBody::parseMassNode(), MTransformable::parseTransformNode(), MSphereGeom::radius(), ViewerApp::reInit(), VWorldTree::selectObject(), ViewerGUI::selectObject(), VLighting::setAmbientLight(), MHingeJoint::setAnchor(), MHingeJoint::setAngleRange(), MHingeJoint::setAxis(), MObject::setBody(), VCanvas::setCameraPosition(), MBody::setCenterOfMass(), VLight::setColor(), VLight::setConstantAttenuation(), VLighting::setDataValue(), VLight::setDataValue(), VGeometry::setDataValue(), MTransformable::setDataValue(), MSphereGeom::setDataValue(), MPlaneGeom::setDataValue(), MJoint::setDataValue(), MHingeJoint::setDataValue(), MBoxGeom::setDataValue(), MBody::setDataValue(), MBoxGeom::setDimensions(), VLight::setDirection(), MHingeJoint::setForceMax(), VLighting::setLightParameters(), VLight::setLinearAttenuation(), MBody::setMassDistribution(), MHingeJoint::setMotorVelocity(), MPlaneGeom::setPlaneEquation(), VLight::setPosition(), MPlaneGeom::setPosition(), MGeometry::setPosition(), MBody::setPosition(), VLight::setQuadraticAttenuation(), MPlaneGeom::setQuaternion(), MGeometry::setQuaternion(), MBody::setQuaternion(), MPlaneGeom::setRotation(), MGeometry::setRotation(), MBody::setRotation(), VLight::setSpotCutoff(), VLight::setSpotDirection(), VLight::setSpotExponent(), VGeometry::setTextureFromJPEG(), MBody::setTotalMass(), MBody::setVelocity(), VCanvas::setViewProjection(), VWorldTree::setWorld(), MGeometry::spaceID(), VWorldTree::updateGrid(), and VControlPanel::updateGUI(). |