MySQL 5.6.14 Source Code Document
|
Public Types | |
enum | LogMode { LogOff = 0, LogIn = 1, LogOut = 2, LogInOut = 3 } |
Public Member Functions | |
FILE * | setOutputStream (FILE *output) |
FILE * | getOutputStream () const |
void | flushSignalLog () |
void | executeDirect (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node) |
void | executeSignal (const SignalHeader &sh, Uint8 prio, const Uint32 *theData, Uint32 node) |
void | executeSignal (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node, const SegmentedSectionPtr ptr[3], Uint32 secs) |
void | executeSignal (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node, const LinearSectionPtr ptr[3], Uint32 secs) |
void | sendSignal (const SignalHeader &sh, Uint8 prio, const Uint32 *theData, Uint32 node) |
void | sendSignal (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node, const SegmentedSectionPtr ptr[3], Uint32 secs) |
void | sendSignal (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node, const LinearSectionPtr ptr[3], Uint32 secs) |
void | sendSignal (const SignalHeader &, Uint8 prio, const Uint32 *theData, Uint32 node, const GenericSectionPtr ptr[3], Uint32 secs) |
void | sendSignalWithDelay (Uint32 delayInMilliSeconds, const SignalHeader &sh, Uint8 prio, const Uint32 *data, Uint32 node) |
void | sendSignalWithDelay (Uint32 delayInMilliSeconds, const SignalHeader &, Uint8 prio, const Uint32 *data, Uint32 node, const SegmentedSectionPtr ptr[3], Uint32 secs) |
void | log (BlockNumber bno, const char *msg,...) ATTRIBUTE_FORMAT(printf |
int | log (LogMode logMode, const char *params) |
int | logOn (bool allBlocks, BlockNumber bno, LogMode logMode) |
int | logOff (bool allBlocks, BlockNumber bno, LogMode logMode) |
int | logToggle (bool allBlocks, BlockNumber bno, LogMode logMode) |
void | setTrace (unsigned long trace) |
unsigned long | getTrace () const |
void | setOwnNodeId (int nodeId) |
void | setLogDistributed (bool val) |
void | lock () |
void | unlock () |
bool | logMatch (BlockNumber bno, LogMode mask) |
Static Public Member Functions | |
static void | printSignalHeader (FILE *output, const SignalHeader &sh, Uint8 prio, Uint32 node, bool printReceiversSignalId) |
static void | printSignalData (FILE *out, const SignalHeader &sh, const Uint32 *) |
static void | printLinearSection (FILE *output, const SignalHeader &sh, const LinearSectionPtr ptr[3], unsigned i) |
static void | printSegmentedSection (FILE *output, const SignalHeader &sh, const SegmentedSectionPtr ptr[3], unsigned i) |
static void | printGenericSection (FILE *output, const SignalHeader &sh, const GenericSectionPtr ptr[3], unsigned i) |
static void | printDataWord (FILE *output, Uint32 &pos, const Uint32 data) |
Definition at line 34 of file SignalLoggerManager.hpp.
LogModes
Definition at line 120 of file SignalLoggerManager.hpp.
void SignalLoggerManager::executeDirect | ( | const SignalHeader & | sh, |
Uint8 | prio, | ||
const Uint32 * | theData, | ||
Uint32 | node | ||
) |
For direct signals also SimulatedBlock EXECUTE_DIRECT
Definition at line 237 of file SignalLoggerManager.cpp.
|
inline |
For input signals
Definition at line 63 of file SignalLoggerManager.hpp.
void SignalLoggerManager::executeSignal | ( | const SignalHeader & | sh, |
Uint8 | prio, | ||
const Uint32 * | theData, | ||
Uint32 | node, | ||
const SegmentedSectionPtr | ptr[3], | ||
Uint32 | secs | ||
) |
For input signals
Definition at line 266 of file SignalLoggerManager.cpp.
FILE * SignalLoggerManager::getOutputStream | ( | ) | const |
Gets current output
Definition at line 80 of file SignalLoggerManager.cpp.
void SignalLoggerManager::log | ( | BlockNumber | bno, |
const char * | msg, | ||
... | |||
) |
Generic messages in the signal log
Definition at line 451 of file SignalLoggerManager.cpp.
int SignalLoggerManager::log | ( | LogMode | logMode, |
const char * | params | ||
) |
Returns no of loggers affected
Definition at line 151 of file SignalLoggerManager.cpp.
|
static |
Print data word in hex. Adds line break before the word when pos > 0 && pos % 7 == 0. Increments pos.
Definition at line 654 of file SignalLoggerManager.cpp.
|
static |
Print generic section.
Definition at line 628 of file SignalLoggerManager.cpp.
|
static |
Print linear section.
Definition at line 606 of file SignalLoggerManager.cpp.
|
static |
Print segmented section.
Definition at line 426 of file TransporterCallback.cpp.
|
static |
Function for printing the Signal Data
Definition at line 576 of file SignalLoggerManager.cpp.
|
static |
Print header
Definition at line 495 of file SignalLoggerManager.cpp.
|
inline |
For output signals
Definition at line 79 of file SignalLoggerManager.hpp.
void SignalLoggerManager::sendSignal | ( | const SignalHeader & | sh, |
Uint8 | prio, | ||
const Uint32 * | theData, | ||
Uint32 | node, | ||
const SegmentedSectionPtr | ptr[3], | ||
Uint32 | secs | ||
) |
For output signals
Definition at line 359 of file SignalLoggerManager.cpp.
void SignalLoggerManager::sendSignal | ( | const SignalHeader & | sh, |
Uint8 | prio, | ||
const Uint32 * | theData, | ||
Uint32 | node, | ||
const LinearSectionPtr | ptr[3], | ||
Uint32 | secs | ||
) |
For output signals
Definition at line 327 of file SignalLoggerManager.cpp.
|
inline |
For output signals
Definition at line 99 of file SignalLoggerManager.hpp.
FILE * SignalLoggerManager::setOutputStream | ( | FILE * | output | ) |
Sets output old output stream
Definition at line 68 of file SignalLoggerManager.cpp.