vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseClass.cpp File Reference
#include "precompiled.h"
#include <vrecko/BaseClass.h>
#include <vrecko/Ability.h>
#include <vrecko/Device.h>
#include <vrecko/Scene.h>
#include <vrecko/EnvironmentObject.h>
#include <vrecko/EventDispatcher.h>
#include <vrecko/Logger.h>
#include <cstdarg>
#include <sstream>
#include <xercesc/util/XMLUniDefs.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <xercesc/dom/DOMErrorHandler.hpp>
#include <xercesc/dom/DOMLocator.hpp>
#include <xercesc/dom/DOMImplementation.hpp>
#include <xercesc/dom/DOMImplementationRegistry.hpp>
#include <xercesc/dom/DOMImplementationLS.hpp>
#include <xercesc/dom/DOMBuilder.hpp>
#include <xercesc/framework/MemBufInputSource.hpp>
#include <xercesc/framework/Wrapper4InputSource.hpp>
#include <xercesc/util/XMLString.hpp>
#include <iostream.h>

Classes

class  BCLoaderErrorHandler
 

Macros

#define PIN_ADDITION(pin, list, pinClass, pinCheckMethod, ioType)
 
#define PIN_REMOVAL(pin, list)
 

Macro Definition Documentation

#define PIN_ADDITION (   pin,
  list,
  pinClass,
  pinCheckMethod,
  ioType 
)
Value:
{ \
if (pinCheckMethod(pin->getPinName().c_str())) \
logger.warningLog("Duplicate %s pin name detected (%s)", ioType, pin->getPinName().c_str()); \
list.push_back(osg::ref_ptr<pinClass>(pin)); \
}
#define PIN_REMOVAL (   pin,
  list 
)
Value:
{ \
if (pin) { \
for (auto itr = list.begin(); itr != list.end(); ++itr) { \
if ((*itr) == pin) { \
list.erase(itr); \
break; \
} \
} \
} \
}