Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CCAENV792Creator Class Reference

#include <CCAENV792Creator.h>

Inheritance diagram for CCAENV792Creator:

Inheritance graph
[legend]
Collaboration diagram for CCAENV792Creator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CCAENV792Creator ()
virtual ~CCAENV792Creator ()
 CCAENV792Creator (const CCAENV792Creator &aCCAENV792Creator)
CCAENV792Creatoroperator= (const CCAENV792Creator &aCCAENV792Creator)
int operator== (const CCAENV792Creator &aCCAENV792Creator) const
virtual CReadableObjectCreate (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char **pArgs)
virtual string Help ()
 CCAENV792Creator ()
virtual ~CCAENV792Creator ()
 CCAENV792Creator (const CCAENV792Creator &aCCAENV792Creator)
CCAENV792Creatoroperator= (const CCAENV792Creator &aCCAENV792Creator)
int operator== (const CCAENV792Creator &aCCAENV792Creator) const
virtual CDigitizerModuleCreate (CTCLInterpreter &rInterp, CTCLResult &rResult, int nArgs, char **pArgs)
virtual string Help ()

Detailed Description

Objects of this class can be registered with the Module command to create CAEN V792 QDC modules. This is done by overriding the Create member function. The Create member now serves two purpoes:

Definition at line 303 of file CCAENV792Creator.h.


Constructor & Destructor Documentation

CCAENV792Creator::CCAENV792Creator  ) 
 

Construct an instance of a CAEN V 792 module creator. The module creator can then be registered withy CModuleCommand::AddCreator.

Definition at line 292 of file CCAENV792Creator.cpp.

CCAENV792Creator::~CCAENV792Creator  )  [virtual]
 

Definition at line 300 of file CCAENV792Creator.cpp.

CCAENV792Creator::CCAENV792Creator const CCAENV792Creator rhs  ) 
 

Creates temporary copy objects.

Parameters:
rhs const CCAENV792Creator& [in] Reference to copy from.

Definition at line 309 of file CCAENV792Creator.cpp.

CCAENV792Creator::CCAENV792Creator  ) 
 

virtual CCAENV792Creator::~CCAENV792Creator  )  [virtual]
 

CCAENV792Creator::CCAENV792Creator const CCAENV792Creator aCCAENV792Creator  ) 
 


Member Function Documentation

virtual CDigitizerModule* CCAENV792Creator::Create CTCLInterpreter &  rInterp,
CTCLResult &  rResult,
int  nArgs,
char **  pArgs
[virtual]
 

Implements CModuleCreator.

CDigitizerModule * CCAENV792Creator::Create CTCLInterpreter &  rInterp,
CTCLResult &  rResult,
int  nArgs,
char **  pArgs
[virtual]
 

Returns a new instance of the digitizer module creaetd by this creator. The mdule is new'd into being and therefore must be deleted by the ultimate user. The parameters passed in are also passed to the module's configuration function.

Parameters:
rInterp CTCLInterpreter& [in] Reference to the interpreter running the command.
rResult CTCLResult& [in] Referenc to the result string to return.
nArgs int [in] Number of parameters left on the line.
pArgs char** [in] The parameter strings.
Returns:
CReadableObject* The resulting module.
The command line invoking is is of the form:
	module mname type config params
The caller has only eaten up the module command keyword:
  • mname is used to set the modulen name.
  • type is asserted against our type.
  • The remaining parameters are passed to the instantiated module's configuration member.

Implements CModuleCreator.

Definition at line 365 of file CCAENV792Creator.cpp.

References CDigitizerModule::Configure(), and CModuleCreator::getModuleType().

virtual string CCAENV792Creator::Help  )  [virtual]
 

Implements CModuleCreator.

string CCAENV792Creator::Help  )  [virtual]
 

Function: string Help() Operation Type:

Purpose:

Returns a string describing the module type and whatever else the module driver author wants to display about that module type in response to the module -help command.

Implements CModuleCreator.

Definition at line 401 of file CCAENV792Creator.cpp.

CCAENV792Creator& CCAENV792Creator::operator= const CCAENV792Creator aCCAENV792Creator  ) 
 

CCAENV792Creator & CCAENV792Creator::operator= const CCAENV792Creator rhs  ) 
 

Assigns a rhs object to *this.

Parameters:
rhs const CCAENV792Creator& [in] Reference to rhs of assignment operator.
Returns:
reference to *this after the copy in.

Definition at line 322 of file CCAENV792Creator.cpp.

References CModuleCreator::operator=().

int CCAENV792Creator::operator== const CCAENV792Creator aCCAENV792Creator  )  const
 

int CCAENV792Creator::operator== const CCAENV792Creator aCCAENV792Creator  )  const
 

Definition at line 331 of file CCAENV792Creator.cpp.

References CModuleCreator::operator==().


The documentation for this class was generated from the following files:
Generated on Fri Mar 12 13:04:33 2004 for Scripted Readout by doxygen 1.3.4