RobWorkProject  23.9.11-
Public Types | Public Member Functions | Public Attributes | List of all members
Scanner2DModel::Scanner2DModelCache Class Reference

cache to allow storing state information More...

#include <Scanner2DModel.hpp>

Inherits StateCache.

Public Types

typedef rw::core::Ptr< Scanner2DModelCachePtr
 
- Public Types inherited from StateCache
typedef rw::core::Ptr< StateCachePtr
 Smart pointer type.
 

Public Member Functions

 Scanner2DModelCache (int width)
 constructor
 
size_t size () const
 An integer ID for the StateCache. More...
 
virtual rw::core::Ptr< StateCache > clone () const
 this creates a deep copy of this cache More...
 
- Public Member Functions inherited from StateCache
virtual ~StateCache ()
 destructor
 

Public Attributes

rw::geometry::PointCloud _cloud
 

Detailed Description

cache to allow storing state information

Member Function Documentation

◆ clone()

virtual rw::core::Ptr<StateCache> clone ( ) const
inlinevirtual

this creates a deep copy of this cache

Implements StateCache.

◆ size()

size_t size ( ) const
inlinevirtual

An integer ID for the StateCache.

IDs are assigned to the state data upon insertion State. StateCache that are not in a State have an ID of -1.

StateCache present in different trees may have identical IDs.

IDs are used for the efficient implementation of State. Normally, you should not make use of frame IDs yourself.

Returns
An integer ID for the frame.

The number of doubles allocated by this StateCache in each State object.

Returns
The number of doubles allocated by the StateCache

Implements StateCache.


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