#include <AMCSpec.h>
Public Member Functions | |
void | addPayload (const uint64_t *, unsigned int) |
std::vector< uint64_t > | block (unsigned int id) const |
unsigned int | blocks () const |
std::unique_ptr< uint64_t[]> | data () |
Header | header (unsigned int block=0) const |
Packet (const uint64_t *d) | |
Packet (unsigned int amc, unsigned int board, const std::vector< uint64_t > &load) | |
unsigned int | size () const |
Private Attributes | |
Header | header_ |
std::vector< uint64_t > | payload_ |
Packet::Packet | ( | unsigned int | amc, |
unsigned int | board, | ||
const std::vector< uint64_t > & | load | ||
) |
Definition at line 74 of file AMCSpec.cc.
void Packet::addPayload | ( | const uint64_t * | data, |
unsigned int | size | ||
) |
std::vector< uint64_t > Packet::block | ( | unsigned int | id | ) | const |
Definition at line 87 of file AMCSpec.cc.
References amc::Header::getBlocks(), header_, payload_, and amc::split_block_size.
|
inline |
std::unique_ptr< uint64_t[]> Packet::data | ( | ) |
Definition at line 99 of file AMCSpec.cc.
Referenced by cuy.FindIssue::__init__(), and addPayload().
|
inline |
|
inline |
Definition at line 69 of file AMCSpec.h.
References amc::Header::getSize(), and header_.
Referenced by addPayload().
|
private |
|
private |
Definition at line 73 of file AMCSpec.h.
Referenced by addPayload(), block(), and data().