- Main Page
- Classes
- Files

- File List
- File Members

# slsReceiverUsers.h

Go to the documentation of this file.

    00001 #pragma once
    00002
    00003 #include <stdio.h>
    00004 #include <stdint.h>
    00005
    00006
    00007 class slsReceiver;
    00008
    00016 class slsReceiverUsers {
    00017
    00018 public:
    00026         slsReceiverUsers(int argc, char *argv[], int &success);
    00027
    00028
    00030         ~slsReceiverUsers();
    00031
    00036         int start();
    00037
    00039         void stop();
    00040
    00045         int64_t getReceiverVersion();
    00046
    00053         void registerCallBackStartAcquisition(int (*func)(char* filepath, char* filename, uint64_t fileindex, uint32_t datasize, void*),void *arg);
    00054
    00055
    00061         void registerCallBackAcquisitionFinished(void (*func)(uint64_t nf, void*),void *arg);
    00062
    00063
    00064
    00070         void registerCallBackRawDataReady(void (*func)(uint64_t frameNumber, uint32_t expLength, uint32_t packetNumber, uint64_t bunchId, uint64_t timestamp,
    00071                         uint16_t modId, uint16_t xCoord, uint16_t yCoord, uint16_t zCoord, uint32_t debug, uint16_t roundRNumber, uint8_t detType, uint8_t version,
    00072                         char* datapointer, uint32_t datasize, void*),void *arg);
    00073
    00074         //receiver object
    00075         slsReceiver* receiver;
    00076 };
    00077

All Classes Files Functions Variables Defines