EMAN2
Public Member Functions | Public Attributes | Private Member Functions | List of all members
EMAN::Decoder Class Referenceabstract

#include <eerio.h>

Inheritance diagram for EMAN::Decoder:
Inheritance graph
[legend]

Public Member Functions

virtual unsigned int num_pix () const =0
 
auto operator() (unsigned int count, unsigned int sub_pix) const
 

Public Attributes

const unsigned int camera_size_bits = 12
 
const unsigned int camera_size = 1 << camera_size_bits
 

Private Member Functions

virtual unsigned int x (unsigned int count, unsigned int sub_pix) const =0
 
virtual unsigned int y (unsigned int count, unsigned int sub_pix) const =0
 

Detailed Description

Definition at line 120 of file eerio.h.

Member Function Documentation

◆ num_pix()

virtual unsigned int EMAN::Decoder::num_pix ( ) const
pure virtual

Implemented in EMAN::DecoderIx< I >.

◆ operator()()

auto Decoder::operator() ( unsigned int  count,
unsigned int  sub_pix 
) const

Definition at line 42 of file eerio.cpp.

42 {
43 return std::make_pair(x(count, sub_pix), y(count, sub_pix));
44}
virtual unsigned int x(unsigned int count, unsigned int sub_pix) const =0
virtual unsigned int y(unsigned int count, unsigned int sub_pix) const =0

References x(), and y().

◆ x()

virtual unsigned int EMAN::Decoder::x ( unsigned int  count,
unsigned int  sub_pix 
) const
privatepure virtual

Implemented in EMAN::DecoderIx< I >, and EMAN::DecoderIx< I >.

Referenced by operator()().

◆ y()

virtual unsigned int EMAN::Decoder::y ( unsigned int  count,
unsigned int  sub_pix 
) const
privatepure virtual

Implemented in EMAN::DecoderIx< I >, and EMAN::DecoderIx< I >.

Referenced by operator()().

Member Data Documentation

◆ camera_size

const unsigned int EMAN::Decoder::camera_size = 1 << camera_size_bits

Definition at line 126 of file eerio.h.

Referenced by decode_eer_data().

◆ camera_size_bits

const unsigned int EMAN::Decoder::camera_size_bits = 12

Definition at line 125 of file eerio.h.


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