PxObserver Class Reference
[Physics]
Observer interface to get notification on object state changes.
More...
#include <PxObserver.h>
Inheritance diagram for PxObserver:

Collaboration diagram for PxObserver:

Public Member Functions | |
virtual void | onRelease (const PxObservable &observable)=0 |
Notification if an object the observer registered with gets released. | |
Protected Member Functions | |
PxObserver (PxRefResolver &v) | |
PxObserver () | |
virtual | ~PxObserver () |
virtual bool | isKindOf (const char *name) const |
Detailed Description
Observer interface to get notification on object state changes.
- See also:
- PxObservable
Constructor & Destructor Documentation
PxObserver::PxObserver | ( | PxRefResolver & | v | ) | [inline, protected] |
PxObserver::PxObserver | ( | ) | [inline, protected] |
virtual PxObserver::~PxObserver | ( | ) | [inline, protected, virtual] |
Member Function Documentation
virtual bool PxObserver::isKindOf | ( | const char * | name | ) | const [inline, protected, virtual] |
virtual void PxObserver::onRelease | ( | const PxObservable & | observable | ) | [pure virtual] |
Notification if an object the observer registered with gets released.
- Note:
- It is not allowed to change the object state in this callback. Furthermore, when reading from the object it is the user's responsibility to make sure that no other thread is writing at the same time to the object (this includes the simulation itself, i.e., PxScene::fetchResults() must not get called at the same time).
- Parameters:
-
[out] observable The object that's going to be released
- See also:
- PxObservable
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com