Class Index | Cross Index | Namespace Index |
Raw Data.
Contained in: FrameCPP::Version_3_4_5
Derived from:
FrameCPP::Version_3_4_5::Base
Derived by:
none
#include "../../../../../lib/framecpp/src/Version3_4_5/rawdata.hh"
public function member index: |
|||
RawData | (); | Default Constructor. | |
RawData | (const RawData& rawData); | Copy Constructor. | |
RawData | (const std::string& name); | Constructor. | |
virtual | ~RawData | (); | |
const AdcData* | findAdc | (INT_4U channel) const; | |
AdcData* | findAdc | (INT_4U channel); | |
virtual INT_2U | getClassId | () const; | |
const std::string& | getName | () const; | |
static SH | getSH | (); | Constructs the Structure Header for this class. |
static SH | getSH3 | (); | Constructs frame data vesion 3 Structure Header for this class. |
inline bool | operator != | (const RawData& rawData) const; | Not-equal comparison. |
const RawData& | operator += | (const RawData& rawData); | |
const RawData& | operator = | (const RawData& rawData); | Assignment Operator. |
bool | operator == | (const RawData& rawData) const; | |
inline AdcDataContainer& | refAdc | (); | Get the container holding the ADC data. |
inline const AdcDataContainer& | refAdc | () const; | Get the container holding the ADC data. |
inline MoreContainer& | refMore | (); | |
inline const MoreContainer& | refMore | () const; | |
inline MsgContainer& | refMsg | (); | |
inline const MsgContainer& | refMsg | () const; | |
inline SerDataContainer& | refSerial | (); | Get the container holding the serial data. |
inline const SerDataContainer& | refSerial | () const; | Get the container holding the serial data. |
inline TableContainer& | refTable | (); | |
inline const TableContainer& | refTable | () const; | |
private function member index: |
|||
static RawData* | read | (FrameReaderBase& in); | Reads an RawData object from an FrameReaderBase object. |
static RawData* | read3 | (FrameReaderBase& in); | Version 3 frame input method. |
virtual void | write | (Output& out) const; | Writes an RawData object to an Output object. |
This creates an RawData object with the following properties:
- name = "none"
- No other data.
Exceptions:
Exception | Description |
None. |
This performs a deep copy of the object.
Parameters:
Parameter | Description |
const RawData& rawData | Object to be copied. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const std::string& name | Raw data name. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Exceptions:
Exception | Description |
None. |
Return value:
SH- RawData structure header.
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Return value:
SH- RawData structure header.
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const RawData& rawData | The object to compare with. |
Return value:
bool- True if the objects are not equal.
Exceptions:
Exception | Description |
None. | |
None. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
frame_mismatch | Raw Data or ADC structures are different |
Parameters:
Parameter | Description |
const RawData& rawData | Object to be assigned. |
Return value:
const RawData&- This object.
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
None. |
This method creates a dynamically allocated object.*NOTE* This method allocates memory and returns a pointer to it. The user is responsible for freeing this memory.
Parameters:
Parameter | Description |
FrameReaderBase& in | Input data stream object. |
Return value:
RawData*- Newly created.
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
read_failure | Read failure happened. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
read_failure | Read failure happened. |
Return value:
AdcDataContainer& AdcDataContainer&- Adc data.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the ADC data.
Return value:
const AdcDataContainer& const AdcDataContainer&- Adc data.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the user-define data.
Return value:
MoreContainer& MoreContainer&- User defined data.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the user-define data.
Return value:
const MoreContainer< Vect, &Vect::getName >& const SearchContainer< Vect, &Vect::getName >&- User defined data.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the error messages.
Return value:
MsgContainer& MsgContainer&- Messages.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the error messages.
Return value:
const MsgContainer& const MsgContainer&- Messages.
Exceptions:
Exception | Description |
None. | |
None. |
Return value:
SerDataContainer&- Serial data.
Exceptions:
Exception | Description |
None. | |
None. |
Return value:
const SerDAtaContainer&- Serial data.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the user-define table data.
Return value:
TableContainer& TableContainer&- Table.
Exceptions:
Exception | Description |
None. | |
None. |
Get the container holding the user-define table data.
Return value:
const TableContainer& const TableContainer&- Table.
Exceptions:
Exception | Description |
None. | |
None. |
Parameters:
Parameter | Description |
Output& out out | Output data stream object. |
Exceptions:
Exception | Description |
write_failure | Write failure occured. |