76 const std::string &message);
98 const std::string &url,
99 const std::string &description);
117 using taskcmd_t = std::underlying_type<TaskCommand>::type;
152 using msgtag_t = std::underlying_type<MessageTag>::type;
158 BE_MPI_TaskCommand_EnumToStringMap);
162 BE_MPI_TaskStatus_EnumToStringMap);
166 BE_MPI_MessageTag_EnumToStringMap);
BE_FRAMEWORK_ENUMERATION_DECLARATIONS(BiometricEvaluation::MPI::TaskCommand, BE_MPI_TaskCommand_EnumToStringMap)
A class to represent a logging mechanism.
TaskStatus
The status of an MPI distributor or receiver task.
@ RequestJobTermination
Requesting that Distributor stops the job.
std::underlying_type< TaskStatus >::type taskstat_t
Storage type for TaskStatus.
TaskCommand
The command given to an MPI task.
@ Continue
Normal operation.
@ Ignore
Ignore the message.
std::string generateUniqueID()
Obtain a unique ID for the current process.
std::shared_ptr< BiometricEvaluation::IO::Logsheet > openLogsheet(const std::string &url, const std::string &description)
Open a Logsheet object for a component of the MPI framework.
void printStatus(const std::string &message)
Print a status message to stdout.
void logMessage(IO::Logsheet &logsheet, const std::string &message)
Send a log message to the given Logsheet as a debug entry.
MessageTag
The types of messages sent between MPI task processes.
@ OOB
An out-of-band message, used when the normal control/data messaging cannot be used.
@ Control
A control message (start, exit, etc.)
void logEntry(IO::Logsheet &logsheet)
Send the current log stream to the log device as a debug entry.
std::underlying_type< MessageTag >::type msgtag_t
Storage type for MessageTag.
std::underlying_type< TaskCommand >::type taskcmd_t
Storage type for TaskCommand.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...