Sirikata
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
Sirikata::SQLiteObjectFactory Class Reference

SQLiteObjectFactory generates objects from an input SQLite file. More...

#include <SQLiteObjectFactory.hpp>

Inheritance diagram for Sirikata::SQLiteObjectFactory:
Collaboration diagram for Sirikata::SQLiteObjectFactory:

List of all members.

Classes

struct  ObjectInfo

Public Types

typedef std::vector< String > StringList

Public Member Functions

 SQLiteObjectFactory (ObjectHostContext *ctx, ObjectHost *oh, const SpaceID &space, const String &filename)
virtual ~SQLiteObjectFactory ()
virtual void generate (const String &timestamp="current")
 Generate objects for the scene and connect them to the space.

Private Types

typedef std::queue< ObjectInfoObjectInfoQueue

Private Member Functions

void connectObjects ()

Private Attributes

ObjectHostContextmContext
ObjectHostmOH
SpaceID mSpace
String mDBFilename
int32 mConnectRate
ObjectInfoQueue mIncompleteObjects

Detailed Description

SQLiteObjectFactory generates objects from an input SQLite file.


Member Typedef Documentation

typedef std::vector<String> Sirikata::SQLiteObjectFactory::StringList

Constructor & Destructor Documentation

Sirikata::SQLiteObjectFactory::SQLiteObjectFactory ( ObjectHostContext ctx,
ObjectHost oh,
const SpaceID space,
const String &  filename 
)
virtual Sirikata::SQLiteObjectFactory::~SQLiteObjectFactory ( ) [inline, virtual]

Member Function Documentation

void Sirikata::SQLiteObjectFactory::connectObjects ( ) [private]
void Sirikata::SQLiteObjectFactory::generate ( const String &  timestamp = "current") [virtual]

Member Data Documentation

Referenced by connectObjects().

Referenced by connectObjects().

Referenced by generate().

Referenced by connectObjects(), and generate().

Referenced by connectObjects().


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