Changeset 19699

Show
Ignore:
Timestamp:
12/18/06 17:08:52 (2 years ago)
Author:
patrick
Message:

Ensure that the exception types (which are all polymorphic) are compiled
into the correct shared library.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/vrj/Display/Exceptions.h

    r19697 r19699  
    2828#define _VRJ_DISPLAY_EXCEPTIONS_H_ 
    2929 
     30#include <vrj/vrjConfig.h> 
     31 
    3032#include <vpr/Util/Exception.h> 
    3133 
     
    4143 * @since 2.1.12 
    4244 */ 
    43 class InvalidSurfaceException : public vpr::Exception 
     45class VJ_CLASS_API InvalidSurfaceException : public vpr::Exception 
    4446{ 
    4547public: 
    4648   InvalidSurfaceException(const std::string& msg, 
    4749                           const std::string& location = "") 
    48       throw () 
    49       : vpr::Exception(msg, location) 
    50    { 
    51       ; 
    52    } 
     50      throw (); 
    5351 
    54    virtual ~InvalidSurfaceException() throw () 
    55    { 
    56       ; 
    57    } 
     52   virtual ~InvalidSurfaceException() throw (); 
    5853}; 
    5954 
  • juggler/trunk/modules/vrjuggler/vrj/Display/Makefile.in

    r18824 r19699  
    4444SRCS=           CameraProjection.cpp            \ 
    4545                Display.cpp                     \ 
     46                DisplayExceptions.cpp           \ 
    4647                DisplayManager.cpp              \ 
    4748                Frustum.cpp                     \ 
  • juggler/trunk/modules/vrjuggler/vrj/Kernel/Exceptions.h

    r18824 r19699  
    2828#define _VRJ_KERNEL_EXCEPTIONS_H_ 
    2929 
     30#include <vrj/vrjConfig.h> 
     31 
    3032#include <vpr/Util/Exception.h> 
    3133 
     
    3840 * General exception type for managers held by vrj::Kernel. 
    3941 */ 
    40 class ManagerException : public vpr::Exception 
     42class VJ_CLASS_API ManagerException : public vpr::Exception 
    4143{ 
    4244public: 
    4345   ManagerException(const std::string& msg, const std::string& location = "") 
    44       : vpr::Exception(msg, location) 
    45    { 
    46       ; 
    47    } 
     46      throw (); 
    4847 
    49    virtual ~ManagerException() throw () 
    50    { 
    51       ; 
    52    } 
     48   virtual ~ManagerException() throw (); 
    5349}; 
    5450 
     
    5753 * Exception type to be used by Draw Managers. 
    5854 */ 
    59 class DrawMgrException : public ManagerException 
     55class VJ_CLASS_API DrawMgrException : public ManagerException 
    6056{ 
    6157public: 
    6258   DrawMgrException(const std::string& msg, const std::string& location = "") 
    63       : ManagerException(msg, location) 
    64    { 
    65       ; 
    66    } 
     59      throw (); 
    6760 
    68    virtual ~DrawMgrException() throw () 
    69    { 
    70       ; 
    71    } 
     61   virtual ~DrawMgrException() throw (); 
    7262}; 
    7363 
  • juggler/trunk/modules/vrjuggler/vrj/Kernel/Makefile.in

    r18824 r19699  
    4343EXTRA_CXXFLAGS+=        -DVJ_ROOT_DIR="\"$(instprefix)\"" 
    4444 
    45 SRCS=           App.cpp         \ 
    46                 Kernel.cpp      \ 
     45SRCS=           App.cpp                 \ 
     46                Kernel.cpp              \ 
     47                KernelExceptions.cpp    \ 
    4748                User.cpp 
    4849