LogService
libdadi: utility tools for distributed applications
|
#include <PassiveTool.hh>
Public Member Functions | |
void | activate (PortableServer::POA_var poa, LogCentralTool_var aLCTref) |
void | checkConnect (const char *toolName, int retValExpected, bool *success) |
void | checkDisconnect (bool *success) |
void | checkDisconnect (const char *toolName, int retValExpected, bool *success) |
void | checkAddFilter (filter_t filter, bool *success) |
void | checkAddFilter (const char *toolName, filter_t filter, int retValExpected, bool *success) |
void | checkRemoveFilter (const char *filterName, bool *success) |
void | checkRemoveFilter (const char *toolName, const char *filterName, int retValExpected, bool *success) |
void | checkFlushAllFilters (bool *success) |
void | checkFlushAllFilters (const char *toolName, int retValExpected, bool *success) |
void | setExpectedMsgBuf (log_msg_buf_t expectedMsgBuf) |
void | addExpectedMsg (const char *componentName, const char *msg, const char *tag) |
void | addExpectedMsg (log_msg_t msg) |
void | checkMsgBuf (bool *success) |
Encapsulates all tool operations. Each operation has an expected result. Any other result will be treated as error. A message will be printed and the function will set the provided bool to false. Results of methods that will be called by the Monitor are stored and can be verified with the same mechanism from the main programm.