ADC 400F Instrukcja Obsługi Strona 70

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 74
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 69
1 2 ... 65 66 67 68 69 70 71 72 73 74

Komentarze do niniejszej Instrukcji

Brak uwag