Tinman  1.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TrackLoader Class Reference

#include <trackloader.h>

Collaboration diagram for TrackLoader:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< TrackLoadershared
 

Public Member Functions

 TrackLoader (Scene::shared scene, Physics::shared physics)
 
virtual ~TrackLoader ()
 
std::vector< Sectioncreate_circuit (std::string data_file)
 

Private Member Functions

Parser::Results load (std::string data_file)
 
Section create_section (Ogre::Vector3 position, std::string name, std::string mesh, Ogre::Degree angle, std::string direction, int index)
 
Section::Type get_section_type (std::string mesh, std::string direction="")
 

Private Attributes

Parser parser
 
Scene::shared scene_
 
Physics::shared physics_
 

Member Typedef Documentation

typedef std::shared_ptr<TrackLoader> TrackLoader::shared

Constructor & Destructor Documentation

TrackLoader::TrackLoader ( Scene::shared  scene,
Physics::shared  physics 
)
TrackLoader::~TrackLoader ( )
virtual

Member Function Documentation

std::vector< Section > TrackLoader::create_circuit ( std::string  data_file)
Section TrackLoader::create_section ( Ogre::Vector3  position,
std::string  name,
std::string  mesh,
Ogre::Degree  angle,
std::string  direction,
int  index 
)
private
Section::Type TrackLoader::get_section_type ( std::string  mesh,
std::string  direction = "" 
)
private
Parser::Results TrackLoader::load ( std::string  data_file)
private

Member Data Documentation

Parser TrackLoader::parser
private
Physics::shared TrackLoader::physics_
private
Scene::shared TrackLoader::scene_
private

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