ADC 400F Manual Pagina 70

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 74
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 69
Chapter 5. Complete program listings.
present, SpecTcl must have a data source of some sort
connected to it... The default test data source produces a
fixed length event where all parameters are selected from
a gaussian distribution. If you can figure out how to do it,
you can setup your own data source... as long as you don’t
start analysis, the default one is harmless.
*/
void
CMySpecTclApp::SetupTestDataSource()
{ CTclGrammerApp::SetupTestDataSource();
}
// Function:
// void CreateAnalyzer(CEventSink* pSink)
// Operation Type:
// Override
/*
Purpose:
Creates an analyzer. The Analyzer is connected to the data
source which supplies buffers. Connected to the analyzer is a
buffer decoder and an event unpacker. The event unpacker is
the main experiment dependent chunk of code, not the analyzer.
The analyzer constructed by the base class is a CTclAnalyzer instance.
This is an analyzer which maintains statistics about itself in Tcl Variables.
*/
void
CMySpecTclApp::CreateAnalyzer(CEventSink* pSink)
{ CTclGrammerApp::CreateAnalyzer(pSink);
}
// Function:
// void SelectDecoder(CAnalyzer& rAnalyzer)
// Operation Type:
// Override
/*
Purpose:
Selects a decoder and attaches it to the analyzer.
A decoder is responsible for knowing the overall structure of
a buffer produced by a data analysis system. The default code
constructs a CNSCLBufferDecoder object which knows the format
of NSCL buffers.
*/
void
CMySpecTclApp::SelectDecoder(CAnalyzer& rAnalyzer)
{ CTclGrammerApp::SelectDecoder(rAnalyzer);
}
65
Vista de pagina 69
1 2 ... 65 66 67 68 69 70 71 72 73 74

Comentarios a estos manuales

Sin comentarios