Logo Search packages:      
Sourcecode: gaia version File versions  Download package

Tile::Tile ( int  x,
int  y,
int  level 

Constructor. Creates empty tile.

x x coordinate of tile
y y coordinate of tile
level level of tile

Definition at line 22 of file Tile.cc.

References Timer::GetFrame(), Timer::Instance(), m_IsNull, m_LastUsed, m_Level, m_RawData, m_RefCount, m_RefCountMutex, m_X, and m_Y.

      if (pthread_mutex_init(&m_RefCountMutex, 0) != 0)
            throw ErrnoException("pthread_mutex_init() failed", errno);

      m_RefCount = 0;

      m_X = x;
      m_Y = y;
      m_Level = level;

      m_LastUsed = Timer::Instance()->GetFrame();

      m_RawData = 0;
      m_IsNull = 0;

Generated by  Doxygen 1.6.0   Back to index