#include <AspectPool.h>
This class represents an allocated aspect. AspectPool returns a smart pointer to an object of this class to give the aspect ownership to the caller. It is safe to use this class from several threads.
| Public Member Functions | |
| int | aspectID () const | 
| void | add_ref () | 
| void | release () | 
| Friends | |
| class | AspectPool | 
| void sofa::core::objectmodel::Aspect::add_ref | ( | ) | 
Add a reference to this aspect. Note that you should avoid using this method directly, use AspectRef instead to handle it automatically
| 
 | inline | 
| void sofa::core::objectmodel::Aspect::release | ( | ) | 
Release a reference to this aspect. Note that you should avoid using this method directly, use AspectRef instead to handle it automatically
| 
 | friend |