builds
This commit is contained in:
@@ -15,23 +15,28 @@
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "ecmcDAQChannelItem.h"
|
||||
|
||||
/* Class for an data channel */
|
||||
class ecmcDAQDataChannel {
|
||||
public:
|
||||
ecmcDAQDataChannel(int type);
|
||||
~ecmcDAQDataChannel();
|
||||
void connectToSources();
|
||||
void addDataItem(char* name, int timeFormat);
|
||||
void connectToDataSources();
|
||||
void addDataItem(const char* name, int format);
|
||||
size_t getDataElementCount();
|
||||
double getData();
|
||||
double getData(int first);
|
||||
bool empty();
|
||||
double getType();
|
||||
|
||||
private:
|
||||
std::vector<ecmcDAQChannelItem*> dataItems_;
|
||||
size_t itemCounter_;
|
||||
double type_;
|
||||
size_t itemCounter_;
|
||||
size_t dataElementCount_;
|
||||
size_t returnedDataCounter_;
|
||||
size_t currItemIndex_;
|
||||
int dataSourcesLinked_;
|
||||
};
|
||||
|
||||
#endif /* ECMC_DAQ_DATA_CHANNEL_H_ */
|
||||
|
||||
Reference in New Issue
Block a user