CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Public Attributes | List of all members
Info Struct Reference

define a structure that holds information about how to parse and extract the info contained in a msgpack object. More...

+ Collaboration diagram for Info:

Public Member Functions

void clear ()
 clear the info's data from the msgpack More...
 

Public Attributes

bool isPerTrain
 flag that tell whether data is per bunch or per train More...
 
std::string CASSValueName
 the value name within the beamlinedata of the CASSEvent More...
 
std::string CASSDeviceType
 what type of data within the CASSEvent does this data belong to More...
 
int CASSID
 in case there multiple devices available, this will tell which device in the list of devices this data should belong to More...
 
size_t nPixels
 the number of pixels of one image within the data More...
 
size_t nCols
 the number of columns of one image within the data More...
 
size_t nRows
 the number of rows of one image within the data More...
 
std::vector< float > data
 the parsed data More...
 
std::vector< int > shape
 in case its multidimensional data, this contains the shape of the data More...
 

Detailed Description

define a structure that holds information about how to parse and extract the info contained in a msgpack object.

Template Parameters
typethe type of data wrapped in the msgpack object as string
Parameters
outreference to the vector where the data will be written to
objthe msgpack object who's payload will be written to the out vector
Author
Lutz Foucar
Examples:
SACLA-offline.ini.

Definition at line 58 of file zmq_input.cpp.

Member Function Documentation

void Info::clear ( )
inline

clear the info's data from the msgpack

Definition at line 61 of file zmq_input.cpp.

References data.

Member Data Documentation

std::string Info::CASSDeviceType

what type of data within the CASSEvent does this data belong to

Definition at line 74 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

int Info::CASSID

in case there multiple devices available, this will tell which device in the list of devices this data should belong to

Definition at line 79 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

std::string Info::CASSValueName

the value name within the beamlinedata of the CASSEvent

Definition at line 71 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

std::vector<float> Info::data

the parsed data

Definition at line 91 of file zmq_input.cpp.

Referenced by iterate(), and cass::ZMQInput::runthis().

bool Info::isPerTrain

flag that tell whether data is per bunch or per train

Definition at line 68 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

size_t Info::nCols

the number of columns of one image within the data

Definition at line 85 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

size_t Info::nPixels

the number of pixels of one image within the data

Definition at line 82 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

size_t Info::nRows

the number of rows of one image within the data

Definition at line 88 of file zmq_input.cpp.

Referenced by cass::ZMQInput::runthis().

std::vector<int> Info::shape

in case its multidimensional data, this contains the shape of the data

Definition at line 94 of file zmq_input.cpp.

Referenced by iterate(), and cass::ZMQInput::runthis().


The documentation for this struct was generated from the following file: