PAASS
Software suite to Acquire and Analyze Data from Pixie16
ScanorInterface Class Reference

#include <ScanorInterface.hpp>

Collaboration diagram for ScanorInterface:

Public Member Functions

 ~ScanorInterface ()
 
void Hissub (unsigned short *sbuf[], unsigned short *nhw)
 
void SetUnpacker (Unpacker *a)
 

Static Public Member Functions

static ScanorInterfaceget ()
 

Private Member Functions

 ScanorInterface ()
 Default Constructor. More...
 
 ScanorInterface (const ScanorInterface &)
 
ScanorInterfaceoperator= (ScanorInterface const &)
 Overloaded constructor. More...
 
bool MakeModuleData (const uint32_t *data, unsigned long nWords, unsigned int maxWords)
 inserts a delimiter in between individual module data and at end of buffer. Data is then passed to hissub_sec() for processing. More...
 

Private Attributes

Unpackerunpacker_
 decode the data. More...
 

Static Private Attributes

static ScanorInterfaceinstance_ = NULL
 The only instance of ScanorInterface. More...
 

Detailed Description

Definition at line 9 of file ScanorInterface.hpp.

Constructor & Destructor Documentation

§ ~ScanorInterface()

ScanorInterface::~ScanorInterface ( )
inline

Definition at line 13 of file ScanorInterface.hpp.

Here is the call graph for this function:

§ ScanorInterface() [1/2]

ScanorInterface::ScanorInterface ( )
inlineprivate

Default Constructor.

Definition at line 22 of file ScanorInterface.hpp.

Here is the caller graph for this function:

§ ScanorInterface() [2/2]

ScanorInterface::ScanorInterface ( const ScanorInterface )
inlineprivate

Definition at line 23 of file ScanorInterface.hpp.

Here is the call graph for this function:

Member Function Documentation

§ get()

ScanorInterface * ScanorInterface::get ( )
static

The get method returns the only instance of ScanorInterface that will ever be created. This is the core feature that will make this a singleton.

Definition at line 22 of file ScanorInterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ Hissub()

void ScanorInterface::Hissub ( unsigned short *  sbuf[],
unsigned short *  nhw 
)

Definition at line 105 of file ScanorInterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ MakeModuleData()

bool ScanorInterface::MakeModuleData ( const uint32_t *  data,
unsigned long  nWords,
unsigned int  maxWords 
)
private

inserts a delimiter in between individual module data and at end of buffer. Data is then passed to hissub_sec() for processing.

Parameters
[in]data: the data to parse
[in]nWords: the length of the data
[in]maxWords: the maximum words to get
Returns
true if successful

Definition at line 34 of file ScanorInterface.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ operator=()

ScanorInterface& ScanorInterface::operator= ( ScanorInterface const &  )
private

Overloaded constructor.

Equality constructor

Here is the caller graph for this function:

§ SetUnpacker()

void ScanorInterface::SetUnpacker ( Unpacker a)
inline
Parameters
[in]a: A pointer to an Unpacker object.

Definition at line 18 of file ScanorInterface.hpp.

Here is the caller graph for this function:

Field Documentation

§ instance_

ScanorInterface * ScanorInterface::instance_ = NULL
staticprivate

The only instance of ScanorInterface.

Definition at line 28 of file ScanorInterface.hpp.

§ unpacker_

Unpacker* ScanorInterface::unpacker_
private

decode the data.

The unpacker object that we are going to use to

Definition at line 29 of file ScanorInterface.hpp.


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