Room configuration information. More...
#include <Room.h>
Public Member Functions | |
void | addSurface (const Surface &surface) |
Surface adder. | |
const Surface & | findSurface (const std::string &name) const |
Surface finder. | |
const std::string & | getFrameID () const |
Frame ID value accessor. | |
const std::string & | getName () const |
Name value accessor. | |
size_t | getNumSurfaces () const |
Surfaces size accessor. | |
const Surface & | getSurface (const size_t index) const |
Surface value accessor. | |
const std::vector< Surface > & | getSurfaces () const |
Surfaces value accessor. | |
void | removeSurface (const size_t index) |
Surface remover. | |
Room (const std::string &name="", const std::string &frame_id="") | |
Create a new Room. | |
void | setFrameID (const std::string &frame_id) |
Frame ID value mutator. | |
void | setName (const std::string &name) |
Name value mutator. | |
Private Attributes | |
std::string | frame_id_ |
std::string | name_ |
std::vector< Surface > | surfaces_ |
Room::Room | ( | const std::string & | name = "" , |
const std::string & | frame_id = "" |
||
) |
void Room::addSurface | ( | const Surface & | surface | ) |
const Surface & Room::findSurface | ( | const std::string & | name | ) | const |
const string & Room::getFrameID | ( | ) | const |
const string & Room::getName | ( | ) | const |
size_t Room::getNumSurfaces | ( | ) | const |
const Surface & Room::getSurface | ( | const size_t | index | ) | const |
const vector< Surface > & Room::getSurfaces | ( | ) | const |
void Room::removeSurface | ( | const size_t | index | ) |
void Room::setFrameID | ( | const std::string & | frame_id | ) |
void Room::setName | ( | const std::string & | name | ) |
std::string rail::interactive_world::Room::frame_id_ [private] |
std::string rail::interactive_world::Room::name_ [private] |
std::vector<Surface> rail::interactive_world::Room::surfaces_ [private] |