Annwvyn::AnnPhysicsSetupParentError Class Reference

Exception to throw when a physics enabled object will cause object coordinates reset. More...

#include <AnnException.hpp>

Inheritance diagram for Annwvyn::AnnPhysicsSetupParentError:
Collaboration diagram for Annwvyn::AnnPhysicsSetupParentError:

Public Member Functions

 AnnPhysicsSetupParentError (AnnGameObject *origin)
 
const char * what () const override throw ()
 Pretty text to explain what's wrong. More...
 
AnnGameObjectgetObject () const
 
AnnGameObjectgetParentWithBody () const
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 

Static Private Member Functions

static AnnGameObjectrecurToBody (AnnGameObject *start)
 

Private Attributes

AnnGameObjectobjectWithProblem
 

Static Private Attributes

static std::ostringstream outputFormater
 

Detailed Description

Exception to throw when a physics enabled object will cause object coordinates reset.

Definition at line 13 of file AnnException.hpp.

Constructor & Destructor Documentation

◆ AnnPhysicsSetupParentError()

AnnPhysicsSetupParentError::AnnPhysicsSetupParentError ( AnnGameObject origin)

Definition at line 12 of file AnnException.cpp.

Member Function Documentation

◆ getObject()

AnnGameObject * AnnPhysicsSetupParentError::getObject ( ) const

Definition at line 40 of file AnnException.cpp.

◆ getParentWithBody()

AnnGameObject * AnnPhysicsSetupParentError::getParentWithBody ( ) const

Definition at line 42 of file AnnException.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recurToBody()

AnnGameObject * AnnPhysicsSetupParentError::recurToBody ( AnnGameObject start)
staticprivate

Definition at line 44 of file AnnException.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ what()

const char * AnnPhysicsSetupParentError::what ( ) const
throw (
)
override

Pretty text to explain what's wrong.

Definition at line 19 of file AnnException.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ objectWithProblem

AnnGameObject* Annwvyn::AnnPhysicsSetupParentError::objectWithProblem
private

Definition at line 27 of file AnnException.hpp.

◆ outputFormater

ostringstream AnnPhysicsSetupParentError::outputFormater
staticprivate

Definition at line 28 of file AnnException.hpp.


The documentation for this class was generated from the following files: