FrameFactory baseclass. More...
#include <framefactory.h>
FrameFactory baseclass.
The FrameFactory creates frames of different types according to the parameters and the method called. Subclass this class if you want to create driviates of the various types of frames.
| TPProto::FrameFactory::FrameFactory | ( | ) |
| AccountCreate * TPProto::FrameFactory::createAccountCreate | ( | ) | [virtual] |
Creates an AccountCreate Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::GameLayer::createAccount().
| AddCategory * TPProto::FrameFactory::createAddCategory | ( | ) | [virtual] |
Creates an AddCategory Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CategoryCache::addCategory().
| AddDesign * TPProto::FrameFactory::createAddDesign | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::DesignCache::addDesign().
| Board * TPProto::FrameFactory::createBoard | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| BoardIdsList * TPProto::FrameFactory::createBoardIdsList | ( | ) | [virtual] |
Creates a BoardIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Category * TPProto::FrameFactory::createCategory | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| CategoryIdsList * TPProto::FrameFactory::createCategoryIdsList | ( | ) | [virtual] |
Creates a CategoryIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Command * TPProto::FrameFactory::createCommand | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::AdminLayer::sendCommand().
| CommandDescription * TPProto::FrameFactory::createCommandDescription | ( | ) | [virtual] |
Creates a CommandDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| CommandResult * TPProto::FrameFactory::createCommandResult | ( | ) | [virtual] |
Creates a CommandResult Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| CommandTypesList * TPProto::FrameFactory::createCommandTypesList | ( | ) | [virtual] |
Creates a CommandTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Component * TPProto::FrameFactory::createComponent | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| ComponentIdsList * TPProto::FrameFactory::createComponentIdsList | ( | ) | [virtual] |
Creates a ComponentIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Connect * TPProto::FrameFactory::createConnect | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::GameLayer::connect(), and TPProto::AdminLayer::connect().
| Design * TPProto::FrameFactory::createDesign | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| DesignIdsList * TPProto::FrameFactory::createDesignIdsList | ( | ) | [virtual] |
Creates a DesignIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| FailFrame * TPProto::FrameFactory::createFail | ( | ) | [virtual] |
Creates a FailFrame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Features * TPProto::FrameFactory::createFeatures | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| FinishedFrame * TPProto::FrameFactory::createFinished | ( | ) | [virtual] |
Creates a Finished Turn Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::GameLayer::finishedTurn().
| GameInfo * TPProto::FrameFactory::createGameInfo | ( | ) | [virtual] |
Creates a Game Info Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| GetBoard * TPProto::FrameFactory::createGetBoard | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::BoardCache::createGetByIdFrame(), and TPProto::BoardCache::update().
| GetBoardIdsList * TPProto::FrameFactory::createGetBoardIdsList | ( | ) | [virtual] |
Creates a GetBoardIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::BoardCache::createGetIdSequenceFrame().
| GetCategory * TPProto::FrameFactory::createGetCategory | ( | ) | [virtual] |
Creates a GetCategory Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CategoryCache::createGetByIdFrame().
| GetCategoryIdsList * TPProto::FrameFactory::createGetCategoryIdsList | ( | ) | [virtual] |
Creates a GetCategoryIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CategoryCache::createGetIdSequenceFrame().
| GetCommandDescription * TPProto::FrameFactory::createGetCommandDescription | ( | ) | [virtual] |
Creates a GetCommandDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CommandDescCache::createGetByIdFrame().
| GetCommandTypesList * TPProto::FrameFactory::createGetCommandTypesList | ( | ) | [virtual] |
Creates a GetCommandTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CommandDescCache::createGetIdSequenceFrame().
| GetComponent * TPProto::FrameFactory::createGetComponent | ( | ) | [virtual] |
Creates a GetComponent Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ComponentCache::createGetByIdFrame().
| GetComponentIdsList * TPProto::FrameFactory::createGetComponentIdsList | ( | ) | [virtual] |
Creates a GetComponentIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ComponentCache::createGetIdSequenceFrame().
| GetDesign * TPProto::FrameFactory::createGetDesign | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::DesignCache::createGetByIdFrame().
| GetDesignIdsList * TPProto::FrameFactory::createGetDesignIdsList | ( | ) | [virtual] |
Creates a GetDesignIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::DesignCache::createGetIdSequenceFrame().
| GetFeatures * TPProto::FrameFactory::createGetFeatures | ( | ) | [virtual] |
Creates a GetFeatures Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetGameInfo * TPProto::FrameFactory::createGetGameInfo | ( | ) | [virtual] |
Creates a Get Game Info Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetMessage * TPProto::FrameFactory::createGetMessage | ( | ) | [virtual] |
Creates a GetMessage Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetObjectById * TPProto::FrameFactory::createGetObjectById | ( | ) | [virtual] |
Creates a GetObjectById Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ObjectCache::createGetByIdFrame().
| GetObjectByPos * TPProto::FrameFactory::createGetObjectByPos | ( | ) | [virtual] |
Creates a GetObjectByPos Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetObjectDescription * TPProto::FrameFactory::createGetObjectDescription | ( | ) | [virtual] |
Creates a Get Object Description Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ObjectDescCache::createGetByIdFrame().
| GetObjectIdsByContainer * TPProto::FrameFactory::createGetObjectIdsByContainer | ( | ) | [virtual] |
Creates a GetObjectIdsByContainer Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetObjectIdsByPos * TPProto::FrameFactory::createGetObjectIdsByPos | ( | ) | [virtual] |
Creates a GetObjectIdsByPos Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| GetObjectIdsList * TPProto::FrameFactory::createGetObjectIdsList | ( | ) | [virtual] |
Creates a GetObjectIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ObjectCache::createGetIdSequenceFrame().
| GetObjectTypesList * TPProto::FrameFactory::createGetObjectTypesList | ( | ) | [virtual] |
Creates a Get Object Types List Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ObjectDescCache::createGetIdSequenceFrame().
| GetOrder * TPProto::FrameFactory::createGetOrder | ( | ) | [virtual] |
| GetOrderDescription * TPProto::FrameFactory::createGetOrderDescription | ( | ) | [virtual] |
Creates a GetOrderDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::OrderDescCache::createGetByIdFrame().
| GetOrderTypesList * TPProto::FrameFactory::createGetOrderTypesList | ( | ) | [virtual] |
Creates a GetOrderTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::OrderDescCache::createGetIdSequenceFrame().
| GetPlayer * TPProto::FrameFactory::createGetPlayer | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::PlayerCache::createGetByIdFrame(), and TPProto::PlayerCache::update().
| GetPlayerIdsList * TPProto::FrameFactory::createGetPlayerIdsList | ( | ) | [virtual] |
Creates a GetPlayerIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::PlayerCache::createGetIdSequenceFrame().
| GetProperty * TPProto::FrameFactory::createGetProperty | ( | ) | [virtual] |
Creates a GetProperty Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::PropertyCache::createGetByIdFrame().
| GetPropertyIdsList * TPProto::FrameFactory::createGetPropertyIdsList | ( | ) | [virtual] |
Creates a GetPropertyIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::PropertyCache::createGetIdSequenceFrame().
| GetResourceDescription * TPProto::FrameFactory::createGetResourceDescription | ( | ) | [virtual] |
Creates a GetResoureceDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ResourceCache::createGetByIdFrame().
| GetResourceTypesList * TPProto::FrameFactory::createGetResourceTypesList | ( | ) | [virtual] |
Creates a GetResourceTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::ResourceCache::createGetIdSequenceFrame().
| GetTime * TPProto::FrameFactory::createGetTimeRemaining | ( | ) | [virtual] |
Creates a GetTimeRemaining Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::GameLayer::getTimeRemaining().
| Order * TPProto::FrameFactory::createInsertOrder | ( | ) | [virtual] |
| Login * TPProto::FrameFactory::createLogin | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::GameLayer::login(), and TPProto::AdminLayer::login().
| LogMessage * TPProto::FrameFactory::createLogMessage | ( | ) | [virtual] |
Creates a LogMessage Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Message * TPProto::FrameFactory::createMessage | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame(), TPProto::GameLayer::createMessage(), and createPostMessage().
| ModifyDesign * TPProto::FrameFactory::createModifyDesign | ( | ) | [virtual] |
Creates a ModifyDesign Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::DesignCache::modifyDesign().
| Object * TPProto::FrameFactory::createObject | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| ObjectDescription * TPProto::FrameFactory::createObjectDescription | ( | ) | [virtual] |
Creates an Object Description Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| ObjectIdsList * TPProto::FrameFactory::createObjectIdsList | ( | ) | [virtual] |
Creates an ObjectIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| ObjectTypesList * TPProto::FrameFactory::createObjectTypesList | ( | ) | [virtual] |
Creates an Object Types List Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| OkFrame * TPProto::FrameFactory::createOk | ( | ) | [virtual] |
Creates an OkFrame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Order * TPProto::FrameFactory::createOrder | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame(), and createInsertOrder().
| OrderDescription * TPProto::FrameFactory::createOrderDescription | ( | ) | [virtual] |
Creates an OrderDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| OrderTypesList * TPProto::FrameFactory::createOrderTypesList | ( | ) | [virtual] |
Creates an OrderTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Ping * TPProto::FrameFactory::createPing | ( | ) | [virtual] |
| Player * TPProto::FrameFactory::createPlayer | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| PlayerIdsList * TPProto::FrameFactory::createPlayerIdsList | ( | ) | [virtual] |
Creates a PlayerIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Message * TPProto::FrameFactory::createPostMessage | ( | ) | [virtual] |
| ProbeOrder * TPProto::FrameFactory::createProbeOrder | ( | ) | [virtual] |
Creates a ProbeOrder Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| Property * TPProto::FrameFactory::createProperty | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| PropertyIdsList * TPProto::FrameFactory::createPropertyIdsList | ( | ) | [virtual] |
Creates a PropertyIdsList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Redirect * TPProto::FrameFactory::createRedirect | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| RemoveCategory * TPProto::FrameFactory::createRemoveCategory | ( | ) | [virtual] |
Creates a RemoveCategory Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::CategoryCache::removeCategory().
| RemoveDesign * TPProto::FrameFactory::createRemoveDesign | ( | ) | [virtual] |
Creates a RemoveDesign Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::DesignCache::removeDesign().
| RemoveMessage * TPProto::FrameFactory::createRemoveMessage | ( | ) | [virtual] |
Creates a RemoveMessage Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| RemoveOrder * TPProto::FrameFactory::createRemoveOrder | ( | ) | [virtual] |
Creates a RemoveOrder Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| ResourceDescription * TPProto::FrameFactory::createResourceDescription | ( | ) | [virtual] |
Creates a ResourceDescription Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| ResourceTypesList * TPProto::FrameFactory::createResourceTypesList | ( | ) | [virtual] |
Creates a ResourceTypesList Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| Sequence * TPProto::FrameFactory::createSequence | ( | ) | [virtual] |
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| SetFilters * TPProto::FrameFactory::createSetFilters | ( | ) | [virtual] |
Creates a Set Filters Frame.
References pver, and TPProto::Frame::setProtocolVersion().
| TimeRemaining * TPProto::FrameFactory::createTimeRemaining | ( | ) | [virtual] |
Creates a TimeRemaining Frame.
References pver, and TPProto::Frame::setProtocolVersion().
Referenced by TPProto::FrameBuilder::buildFrame().
| int TPProto::FrameFactory::getProtocolVersion | ( | ) | const |
Gets the protocol version.
References pver.
Referenced by TPProto::GameLayer::finishedTurn().
| void TPProto::FrameFactory::setProtocolLayer | ( | ProtocolLayer * | pl | ) |
Sets the ProtocolLayer.
This method sets the ProtocolLayer.
| pl | The ProtocolLayer to use. |
References layer.
Referenced by TPProto::ProtocolLayer::ProtocolLayer(), and TPProto::ProtocolLayer::setFrameFactory().
| void TPProto::FrameFactory::setProtocolVersion | ( | int | pv | ) |
Sets the protocol version the frames should have.
| pv | The protocol version number. |
References pver.
1.6.1