Scroom  0.14
Tile Class Reference

#include <tile.hh>

Collaboration diagram for Tile:
Collaboration graph

Public Types

using Ptr = boost::shared_ptr< Tile >
 
using WeakPtr = boost::weak_ptr< Tile >
 

Public Member Functions

 Tile (int width_, int height_, int bpp_, Scroom::MemoryBlobs::RawPageData::Ptr data_)
 

Static Public Member Functions

static Tile::Ptr create (int width, int height, int bpp, Scroom::MemoryBlobs::RawPageData::Ptr data)
 

Public Attributes

int width
 
int height
 
int bpp
 
Scroom::MemoryBlobs::RawPageData::Ptr data
 

Member Typedef Documentation

◆ Ptr

using Tile::Ptr = boost::shared_ptr<Tile>

◆ WeakPtr

using Tile::WeakPtr = boost::weak_ptr<Tile>

Constructor & Destructor Documentation

◆ Tile()

Tile::Tile ( int  width_,
int  height_,
int  bpp_,
Scroom::MemoryBlobs::RawPageData::Ptr  data_ 
)
inline
31  : width(width_)
32  , height(height_)
33  , bpp(bpp_)
34  , data(std::move(data_))
35  {
36  }

Referenced by create().

Here is the caller graph for this function:

Member Function Documentation

◆ create()

static Tile::Ptr Tile::create ( int  width,
int  height,
int  bpp,
Scroom::MemoryBlobs::RawPageData::Ptr  data 
)
inlinestatic
39  {
40  return Ptr(new Tile(width, height, bpp, std::move(data)));
41  }
Here is the call graph for this function:

Member Data Documentation

◆ bpp

int Tile::bpp

Referenced by create().

◆ data

◆ height

int Tile::height

Referenced by create().

◆ width

int Tile::width

Referenced by create().


The documentation for this class was generated from the following file:
Tile::data
Scroom::MemoryBlobs::RawPageData::Ptr data
Definition: tile.hh:27
Tile::bpp
int bpp
Definition: tile.hh:26
Tile::width
int width
Definition: tile.hh:24
Tile::height
int height
Definition: tile.hh:25
Tile::Ptr
boost::shared_ptr< Tile > Ptr
Definition: tile.hh:21
Tile::Tile
Tile(int width_, int height_, int bpp_, Scroom::MemoryBlobs::RawPageData::Ptr data_)
Definition: tile.hh:30