QParserFinder Class Reference
[NetworkingApollo]

List of all members.


Detailed Description

container for the command parser to be used by a specific server

Author:
Marco Pallavicini
The correct parser for a given server can be set only by the main program: this is reflected by the fact that the SetParser() method is private and only main() has friendship.

Public Member Functions

virtual ~QParserFinder ()
 dtor
QBaseCmdParserGetParser ()
 get parser

Static Public Member Functions

static QParserFinderGet ()
 singleton getter

Private Member Functions

 QParserFinder ()
void SetParser (QBaseCmdParser *p)

Private Attributes

QBaseCmdParserfParser

Static Private Attributes

static QParserFinderme = 0

Friends

int main (int, char **)

Constructor & Destructor Documentation

QParserFinder::QParserFinder (  )  [private]

ctor

Referenced by Get().


Member Function Documentation

void QParserFinder::SetParser ( QBaseCmdParser p  )  [inline, private]

associate parser to this object

References fParser.


Member Data Documentation

QParserFinder * QParserFinder::me = 0 [static, private]

ptr to this object

Referenced by Get().

ptr to parser returned by GetParser()

Referenced by GetParser(), and SetParser().


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

Generated on Tue Nov 16 10:50:08 2010 for CUORE Software by  doxygen 1.5.6