#include <DacCol.h>
Public Member Functions | |
DacCol (std::vector< int > *vals) | |
DacCol (std::vector< unsigned > *vals=0) | |
DacCol (std::vector< int > *vals) | |
DacCol (std::vector< unsigned > *vals=0) | |
const std::vector< unsigned > * | getDacs () const |
const std::vector< unsigned > * | getDacs () const |
void | update (const DacCol *other) |
Deep copy. | |
void | update (const DacCol *other) |
Deep copy. | |
~DacCol () | |
~DacCol () | |
Private Attributes | |
std::vector< unsigned > | m_dacs |
std::vector< unsigned > | m_dacs |
|
00007 { 00008 if (vals) { 00009 m_dacs.clear(); 00010 for (unsigned int iDac = 0; iDac < vals->size(); iDac++) { 00011 m_dacs.push_back((*vals)[iDac]); 00012 } 00013 } 00014 }
|
|
00015 { 00016 if (vals) { 00017 m_dacs.clear(); 00018 for (unsigned int iDac = 0; iDac < vals->size(); iDac++) { 00019 unsigned val = (*vals)[iDac]; 00020 m_dacs.push_back(val); 00021 } 00022 } 00023 }
|
|
00016 {}
|
|
|
|
|
|
00016 {}
|
|
00018 {return &m_dacs;}
|
|
00018 {return &m_dacs;}
|
|
Deep copy.
|
|
Deep copy.
00025 { 00026 m_dacs.clear(); 00027 for (unsigned int iDac = 0; iDac < other->m_dacs.size(); iDac++) { 00028 m_dacs.push_back((other->m_dacs)[iDac]); 00029 } 00030 }
|
|
|
|
|