playrho::d2::JointAtty Class Reference

Joint attorney. More...

#include <JointAtty.hpp>

Friends

class World
 

Detailed Description

Joint attorney.

This is the "joint attorney" which provides limited privileged access to the Joint class for the World class.

Note
This class uses the "attorney-client" idiom to control the granularity of friend-based access to the Joint class. This is meant to help preserve and enforce the invariants of the Joint class.
See also
https://en.wikibooks.org/wiki/More_C++_Idioms/Friendship_and_the_Attorney-Client

Definition at line 43 of file JointAtty.hpp.

Friends And Related Function Documentation

◆ World

friend class World
friend

Definition at line 99 of file JointAtty.hpp.


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