![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvObject.h>
Public Types | |
| using | Shared = QSharedPointer< ccUniqueIDGenerator > |
| Shared type. More... | |
Public Member Functions | |
| ccUniqueIDGenerator () | |
| Default constructor. More... | |
| void | reset () |
| Resets the unique ID. More... | |
| unsigned | fetchOne () |
| Returns a (new) unique ID. More... | |
| unsigned | getLast () const |
| Returns the value of the last generated unique ID. More... | |
| void | update (unsigned ID) |
| Updates the value of the last generated unique ID with the current one. More... | |
Static Public Attributes | |
| static constexpr unsigned | InvalidUniqueID = 0xFFFFFFFF |
| static constexpr unsigned | MinUniqueID = 0x00000100 |
Protected Attributes | |
| unsigned | m_lastUniqueID |
Unique ID generator (should be unique for the whole application instance - with plugins, etc.)
Definition at line 22 of file ecvObject.h.
| using ccUniqueIDGenerator::Shared = QSharedPointer<ccUniqueIDGenerator> |
Shared type.
Definition at line 28 of file ecvObject.h.
|
inline |
Default constructor.
Definition at line 31 of file ecvObject.h.
|
inline |
Returns a (new) unique ID.
Definition at line 36 of file ecvObject.h.
|
inline |
Returns the value of the last generated unique ID.
Definition at line 38 of file ecvObject.h.
|
inline |
Resets the unique ID.
Definition at line 34 of file ecvObject.h.
|
inline |
Updates the value of the last generated unique ID with the current one.
Definition at line 40 of file ecvObject.h.
|
staticconstexpr |
Definition at line 24 of file ecvObject.h.
Referenced by define_ccCircle(), and cloudViewer::geometry::pybind_polyline().
|
protected |
Definition at line 45 of file ecvObject.h.
|
staticconstexpr |
Definition at line 25 of file ecvObject.h.