PCMException.h File Reference


Detailed Description

Contains declaration of class Exception.

Definition in file PCMException.h.

#include "PCMPremeditations.h"
#include "PCMException_impl.h"

Include dependency graph for PCMException.h:

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

Go to the source code of this file.


Namespaces

namespace  ParCompMark

Classes

class  ParCompMark::Exception

Defines

#define Except(type, func, desc)   throw(ParCompMark::Exception(Exception::type, desc, __FILE__, func, __LINE__ ))
 > Macro for throwing exception.
#define Assert(cond, type, func)   if(!(cond)) Except(Exception::type, func, "Assertion error: " #cond)
 > Macro for asserting.

Define Documentation

#define Assert ( cond,
type,
func   )     if(!(cond)) Except(Exception::type, func, "Assertion error: " #cond)

> Macro for asserting.

Definition at line 44 of file PCMException.h.

Referenced by ParCompMark::RendererPlugin::_bufferGetter(), ParCompMark::RendererPlugin::_initFastFunctions(), ParCompMark::Application::_pseudoStop(), ParCompMark::OpenGLRenderingEngine::_registerRenderer(), ParCompMark::OpenGLRenderingEngine::_renderObject(), ParCompMark::Application::_start(), ParCompMark::Application::_stop(), ParCompMark::OutputNode::addChildNode(), ParCompMark::Application::autoDetection(), ParCompMark::Client::closeConnection(), ParCompMark::Application::commanderOperation(), ParCompMark::Context::Context(), ParCompMark::OutputNode::createChildNode(), ParCompMark::OpenGLRenderingEngine::createCustomRenderer(), ParCompMark::RendererPlugin::createRenderer(), ParCompMark::GLXRenderWindow::createWindow(), ParCompMark::GLXRenderWindow::destroyWindow(), ParCompMark::OpenGLRenderingEngine::executeDisplayList(), ParCompMark::XDisplay::finalize(), ParCompMark::SqVM::finalize(), ParCompMark::Renderer::finalize(), ParCompMark::PluginManager::finalize(), ParCompMark::Plugin::finalize(), ParCompMark::Node::finalize(), ParCompMark::NetServer::finalize(), ParCompMark::NetClient::finalize(), ParCompMark::Host::finalize(), ParCompMark::HandleClient::finalize(), ParCompMark::GLXRenderWindow::finalize(), ParCompMark::GLXGLContext::finalize(), ParCompMark::FileSystemManager::finalize(), ParCompMark::Context::finalize(), ParCompMark::ConfigOptions::finalize(), ParCompMark::Buffer::finalize(), ParCompMark::Application::finalize(), ParCompMark::OpenGLRenderingEngine::generateRandomTriangles(), ParCompMark::OutputNode::getAttribute(), ParCompMark::Application::getEnvironmentVariable(), ParCompMark::OutputNode::getFirstChildNode(), ParCompMark::DynLoad::getFunction(), ParCompMark::PluginManager::getPlugin(), ParCompMark::ConfigOptions::getValue(), ParCompMark::GLXGLContext::GLXGLContext(), ParCompMark::OutputNode::hasAttribute(), ParCompMark::DynLoad::hasFunction(), ParCompMark::XDisplay::initialize(), ParCompMark::SqVM::initialize(), ParCompMark::Renderer::initialize(), ParCompMark::PluginManager::initialize(), ParCompMark::Plugin::initialize(), ParCompMark::Node::initialize(), ParCompMark::NetServer::initialize(), ParCompMark::NetClient::initialize(), ParCompMark::Logger::initialize(), ParCompMark::HandleClient::initialize(), ParCompMark::GLXRenderWindow::initialize(), ParCompMark::GLXGLContext::initialize(), ParCompMark::FileSystemManager::initialize(), ParCompMark::Context::initialize(), ParCompMark::ConfigOptions::initialize(), ParCompMark::Application::initialize(), ParCompMark::Process::initPC(), ParCompMark::Thread::initThread(), ParCompMark::Thread::joinThread(), ParCompMark::PluginManager::loadPlugins_old(), ParCompMark::Node::Node(), ParCompMark::HandleClient::openConnection(), ParCompMark::Client::openConnection(), ParCompMark::FileSystemManager::openFileC(), ParCompMark::OutputNode::OutputNode(), ParCompMark::Process::Process(), ParCompMark::Client::recieveMessage(), ParCompMark::GLXGLContext::releaseCurrent(), ParCompMark::ConfigOptions::removeOption(), ParCompMark::Application::retrieveDynamicScriptParameters(), ParCompMark::Client::sendMessage(), ParCompMark::OutputNode::serialize2XML(), ParCompMark::OutputNode::setAttribute(), ParCompMark::OpenGLRenderingEngine::setAutoRenderOrder(), ParCompMark::GLXGLContext::setCurrent(), ParCompMark::Thread::shutDownThread(), ParCompMark::Thread::startThread(), ParCompMark::Process::task(), ParCompMark::HandleClient::task(), ParCompMark::Process::threadInitialize(), and ParCompMark::GLXGLContext::~GLXGLContext().

#define Except ( type,
func,
desc   )     throw(ParCompMark::Exception(Exception::type, desc, __FILE__, func, __LINE__ ))

> Macro for throwing exception.

Definition at line 42 of file PCMException.h.

Referenced by ParCompMark::OpenGLExtensionLoader::_init(), ParCompMark::OpenGLExtensionLoader::_load(), ParCompMark::PluginManager::_loadPlugin(), ParCompMark::Application::_start(), ParCompMark::Buffer::Buffer(), ParCompMark::SqVM::compileAndExecuteScript(), ParCompMark::Context::Context(), ParCompMark::FileSystemManager::createDirectory(), ParCompMark::OpenGLRenderingEngine::drawCube(), ParCompMark::OpenGLRenderingEngine::drawDodecahedron(), ParCompMark::OpenGLRenderingEngine::drawIcosahedron(), ParCompMark::OpenGLRenderingEngine::drawOctahedron(), ParCompMark::OpenGLRenderingEngine::drawTeapot(), ParCompMark::OpenGLRenderingEngine::drawTetrahedron(), ParCompMark::OpenGLRenderingEngine::drawTorus(), ParCompMark::Thread::entryPoint(), ParCompMark::XDisplay::errorHandler(), ParCompMark::FileSystemManager::existsFile(), ParCompMark::Context::finalize(), ParCompMark::Application::finalize(), ParCompMark::FileSystemManager::findDataDirectory(), ParCompMark::FileSystemManager::findLibraryPath(), ParCompMark::SqVM::findOrAddScript(), ParCompMark::SqVM::findScript(), ParCompMark::Buffer::freeBuffers(), ParCompMark::Process::gatherStatistics(), ParCompMark::DynLoad::getFunction(), ParCompMark::OpenGLRenderingEngine::getSortOrderFromRenderers(), ParCompMark::ConfigOptions::getValue(), ParCompMark::Thread::go(), ParCompMark::Client::handleMessage(), ParCompMark::NetServer::initialize(), ParCompMark::NetClient::initialize(), ParCompMark::Context::initialize(), ParCompMark::Buffer::initialize(), ParCompMark::Application::initialize(), ParCompMark::Process::initPC(), ParCompMark::Thread::joinThread(), ParCompMark::FileSystemManager::listDirectory(), ParCompMark::DynLoad::load(), ParCompMark::ConfigOptions::loadFromIniFile(), ParCompMark::PluginManager::loadPlugins_old(), ParCompMark::Node::Node(), ParCompMark::Client::openConnection(), ParCompMark::FileSystemManager::openFileCpp(), ParCompMark::OpenGLRenderingEngine::OpenGLRenderingEngine(), ParCompMark::Process::Process(), ParCompMark::Client::recieveMessage(), ParCompMark::HostInfo::refreshData(), ParCompMark::GLXGLContext::releaseCurrent(), ParCompMark::Renderer::Renderer(), ParCompMark::Application::retrieveDynamicScriptParameters(), ParCompMark::NetServer::sendBroadcastMessage(), ParCompMark::Client::sendMessage(), ParCompMark::GLXGLContext::setCurrent(), ParCompMark::Application::setUserInterface(), ParCompMark::Thread::shutDownThread(), ParCompMark::Process::task(), ParCompMark::NetServer::task(), ParCompMark::NetClient::task(), ParCompMark::Thread::Thread(), ParCompMark::DynLoad::unload(), and ParCompMark::Thread::wait().