Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
ImageTileSet Class Reference

Public Types

enum  {
  kRecordExists = 0,
  kRecordUpload,
  kRecordReuse,
  kRecordCacheFull
}
 

Public Member Functions

 ImageTileSet (INodeUint32 max_capacity, INodeUint32 initial_size=4096)
 
void create (INodeUint32 max_tiles)
 
void destroy ()
 
void clear ()
 
INodeUint32 add (INodeUint64 id, INodeUint64 tile_occ, INodeUint32 &canvas_tile)
 
bool is_full () const
 
bool has_tile (INodeUint64 id)
 
INodeUint32 find_and_use (INodeUint64 id)
 
INodeUint64 get_time_stamp () const
 
void inc_time_stamp ()
 
INodeUint64 get_memory_usage () const
 
INodeUint32 get_max_records () const
 
INodeUint32 get_hash_size () const
 
INodeUint32 get_record_count () const
 
INodeUint32 get_max_capacity_count () const
 
void check ()