9 #define MAX_INITHOSTNAME_LEN 25
13 const char* release_tag,
15 const char* output_module_label,
20 uint32 adler_chksum,
const char* host_name):
28 uint32 tag_len = strlen(release_tag);
29 assert(tag_len < 0x00ff);
33 memcpy(pos,release_tag,tag_len);
37 uint32 process_name_len = strlen(process_name);
38 assert(process_name_len < 0x00ff);
40 *pos++ = process_name_len;
42 memcpy(pos,process_name,process_name_len);
43 pos += process_name_len;
46 uint32 outmod_label_len = strlen(output_module_label);
47 assert(outmod_label_len < 0x00ff);
48 *pos++ = outmod_label_len;
49 memcpy(pos,output_module_label,outmod_label_len);
50 pos += outmod_label_len;
62 pos = pos +
sizeof(
uint32);
70 assert(host_name_len < 0x00ff);
72 *pos++ = host_name_len;
75 uint32 real_len = strlen(host_name);
76 if(real_len < host_name_len) {
78 memset(hostname_2use,
'\0',host_name_len);
79 memcpy(hostname_2use,host_name,real_len);
80 memcpy(pos,hostname_2use,host_name_len);
82 memcpy(pos,host_name,host_name_len);
96 std::vector<bool> dummyL1Bits(l1_names.size());
97 std::vector<char> dummyHLTBits(hlt_names.size());
98 const uint32 TEMP_BUFFER_SIZE = 256;
99 char msgBuff[TEMP_BUFFER_SIZE];
100 uint32_t adler32 = 0;
105 dummyL1Bits, (
uint8*) &dummyHLTBits[0],
106 hlt_names.size(), adler32, host_name);
void setDataLength(uint32 registry_length)
InitMsgBuilder(void *msg_mem, uint32 size, uint32 run, const Version &v, const char *release_tag, const char *process_name, const char *output_module_label, uint32 output_module_id, const Strings &hlt_names, const Strings &hlt_selections, const Strings &l1_names, uint32 adler32_chksum, const char *host_name)
#define MAX_INITHOSTNAME_LEN
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
uint32 headerSize() const
tuple size
Write out results.