#include <DimServerServiceHandler.h>
Public Member Functions | |
DimServerServiceHandler (char) | |
~DimServerServiceHandler (void) | |
void | SetChNumber (int ChNumber) |
setter for the channel number | |
void | SetCommandName (char *) |
void | SetErrorName (char *, int) |
void | SetDataToSend (unsigned int *dttoSnd) |
void | SetDataToSendSize (unsigned int szDtToSend) |
int | UpdateServices () |
updates all services | |
int | UpdateServices (int ChNumber, char *cmdName, int errCode, char *errName, unsigned int *dttoSnd, unsigned int szDtToSend) |
updates all services settting the internal members, it calls UpdateServices(); | |
void | SendHearthbit () |
send the heartbit it gets th system milliseconds and sends it | |
int | UpdateChNumber () |
updates only thec hannel number | |
int | UpdateChNumber (int) |
int | UpdateCommandName () |
int | UpdateCommandName (char *) |
int | UpdateErrorName () |
int | UpdateErrorName (char *, int) |
int | UpdateDataToSend () |
int | UpdateDataToSend (unsigned int *, unsigned int) |
int | UpdateDataStream () |
int | UpdateDataStream (unsigned int *dttoSnd, unsigned int szDtToSend) |
Private Attributes | |
spdLogger * | logger |
logger instance | |
DimService * | SendChNumber |
DIM service sending back the channel number received. | |
DimService * | SendCommandName |
Dim service sending back the command string received. | |
DimService * | SendErrorReportCode |
Dim command sending back the error code of the last command (0 if everything is ok). | |
DimService * | SendErrorReport |
Dim service sending a string with the status. | |
DimService * | SendRetData |
sends the data output from a command (does not resend the data in received) | |
DimService * | SendDataStream |
sends the data stream to the external analisys tool | |
DimService * | Hearthbit |
sends the ehartbit to PVSS | |
char | side |
keeps the side of this FED server | |
int | ChannelNumber |
keeps the channel number that will be send to the DIM service | |
char * | CommandName |
keeps the command name to send through the DIM service | |
unsigned int | sizeCommandName |
keeps the size of the command name string | |
int | ErrorCode |
keeps the error code to be sent | |
char * | ErrorName |
string with the error string to be sent | |
unsigned int | sizeErrorName |
keeps the size of the error string | |
unsigned int * | DataToSend |
keeps the data to send through the dim service to PVSS | |
unsigned int | sizeDataToSend |
keeps the size of the data that was sent | |
unsigned int * | DataStream |
keeps the pixel raw data to be sent to the external analisys tool | |
unsigned int | sizeDataStream |
keeps the size of the data stream | |
int | heartBitTime |
the actual heartbit value |
DimServerServiceHandler::DimServerServiceHandler | ( | char | Side | ) |
DimServerServiceHandler::~DimServerServiceHandler | ( | void | ) |
void DimServerServiceHandler::SetChNumber | ( | int | ChNumber | ) | [inline] |
setter for the channel number
void DimServerServiceHandler::SetCommandName | ( | char * | cmdName | ) |
void DimServerServiceHandler::SetErrorName | ( | char * | errName, | |
int | errCode | |||
) |
void DimServerServiceHandler::SetDataToSend | ( | unsigned int * | dttoSnd | ) | [inline] |
void DimServerServiceHandler::SetDataToSendSize | ( | unsigned int | szDtToSend | ) | [inline] |
int DimServerServiceHandler::UpdateServices | ( | void | ) |
updates all services
int DimServerServiceHandler::UpdateServices | ( | int | ChNumber, | |
char * | cmdName, | |||
int | errCode, | |||
char * | errName, | |||
unsigned int * | dttoSnd, | |||
unsigned int | szDtToSend | |||
) |
updates all services settting the internal members, it calls UpdateServices();
void DimServerServiceHandler::SendHearthbit | ( | void | ) |
send the heartbit it gets th system milliseconds and sends it
int DimServerServiceHandler::UpdateChNumber | ( | ) |
updates only thec hannel number
int DimServerServiceHandler::UpdateChNumber | ( | int | ChNumber | ) |
int DimServerServiceHandler::UpdateCommandName | ( | ) |
int DimServerServiceHandler::UpdateCommandName | ( | char * | cmdName | ) |
int DimServerServiceHandler::UpdateErrorName | ( | ) |
int DimServerServiceHandler::UpdateErrorName | ( | char * | errName, | |
int | errCode | |||
) |
int DimServerServiceHandler::UpdateDataToSend | ( | ) |
int DimServerServiceHandler::UpdateDataToSend | ( | unsigned int * | dttoSnd, | |
unsigned int | szDtToSend | |||
) |
int DimServerServiceHandler::UpdateDataStream | ( | ) |
int DimServerServiceHandler::UpdateDataStream | ( | unsigned int * | dttoSnd, | |
unsigned int | szDtToSend | |||
) |
spdLogger* DimServerServiceHandler::logger [private] |
logger instance
DimService* DimServerServiceHandler::SendChNumber [private] |
DIM service sending back the channel number received.
DimService* DimServerServiceHandler::SendCommandName [private] |
Dim service sending back the command string received.
DimService* DimServerServiceHandler::SendErrorReportCode [private] |
Dim command sending back the error code of the last command (0 if everything is ok).
DimService* DimServerServiceHandler::SendErrorReport [private] |
Dim service sending a string with the status.
DimService* DimServerServiceHandler::SendRetData [private] |
sends the data output from a command (does not resend the data in received)
DimService* DimServerServiceHandler::SendDataStream [private] |
sends the data stream to the external analisys tool
DimService* DimServerServiceHandler::Hearthbit [private] |
sends the ehartbit to PVSS
char DimServerServiceHandler::side [private] |
keeps the side of this FED server
int DimServerServiceHandler::ChannelNumber [private] |
keeps the channel number that will be send to the DIM service
char* DimServerServiceHandler::CommandName [private] |
keeps the command name to send through the DIM service
unsigned int DimServerServiceHandler::sizeCommandName [private] |
keeps the size of the command name string
int DimServerServiceHandler::ErrorCode [private] |
keeps the error code to be sent
char* DimServerServiceHandler::ErrorName [private] |
string with the error string to be sent
unsigned int DimServerServiceHandler::sizeErrorName [private] |
keeps the size of the error string
unsigned int* DimServerServiceHandler::DataToSend [private] |
keeps the data to send through the dim service to PVSS
unsigned int DimServerServiceHandler::sizeDataToSend [private] |
keeps the size of the data that was sent
unsigned int* DimServerServiceHandler::DataStream [private] |
keeps the pixel raw data to be sent to the external analisys tool
unsigned int DimServerServiceHandler::sizeDataStream [private] |
keeps the size of the data stream
int DimServerServiceHandler::heartBitTime [private] |
the actual heartbit value