format and no check before delete

This commit is contained in:
Erik Frojdh 2019-01-21 12:10:00 +01:00
parent 46036e5dde
commit a4fec1e750
2 changed files with 4568 additions and 4663 deletions

File diff suppressed because it is too large Load Diff

View File

@ -485,7 +485,7 @@ public:
* if ONLINE_FLAG, detector in online state (i.e. communication to the detector updating the local structure) * if ONLINE_FLAG, detector in online state (i.e. communication to the detector updating the local structure)
* @returns online/offline status * @returns online/offline status
*/ */
int setOnline(int const online=GET_ONLINE_FLAG); int setOnline(int value=GET_ONLINE_FLAG);
/** /**
* Checks if each of the detector is online/offline * Checks if each of the detector is online/offline
@ -510,7 +510,7 @@ public:
* @param num port number (-1 gets) * @param num port number (-1 gets)
* @returns port number * @returns port number
*/ */
int setPort(portType type, int num=-1); int setPort(portType index, int num=-1);
/** /**
* Returns the detector TCP control port \sa sharedSlsDetector * Returns the detector TCP control port \sa sharedSlsDetector
@ -1054,7 +1054,7 @@ public:
* @param imageVals image * @param imageVals image
* @returns OK or FAIL * @returns OK or FAIL
*/ */
int sendImageToDetector(imageType index,short int imageVals[]); int sendImageToDetector(imageType index, int16_t imageVals[]);
/** /**
* Writes the counter memory block from the detector (Gotthard) * Writes the counter memory block from the detector (Gotthard)
@ -1070,7 +1070,7 @@ public:
* @param startACQ 1 to start acquisition afterwards, else 0 * @param startACQ 1 to start acquisition afterwards, else 0
* @returns OK or FAIL * @returns OK or FAIL
*/ */
int getCounterBlock(short int image[],int startACQ=0); int getCounterBlock(int16_t image[],int startACQ=0);
/** /**
* Resets counter in detector * Resets counter in detector
@ -1320,7 +1320,7 @@ public:
* @param online 1 to set online, 0 to set offline, -1 gets * @param online 1 to set online, 0 to set offline, -1 gets
* @returns online, offline (from shared memory) * @returns online, offline (from shared memory)
*/ */
int setReceiverOnline(int const online=GET_ONLINE_FLAG); int setReceiverOnline(int value=GET_ONLINE_FLAG);
/** /**
* Checks if the receiver is really online * Checks if the receiver is really online