DiagnosticUtils.h File Reference

#include <string>
#include <vector>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  fesa::DiagnosticUtils::DiagStateCounter
 Diagnostic state counting information. More...
struct  fesa::DiagnosticUtils::DiagnosticMessage
 Diagnostic message. More...

Namespaces

namespace  fesa
namespace  fesa::DiagnosticUtils

Typedefs

typedef std::vector< std::pair
< int, std::string > > 
fesa::DiagnosticUtils::DiagnosticTopics
 A type for a list of framework/user diagnostic topics. Each element of the list is a pair of a bit-mask and a topic name. Topics are defined in a bit-enum, the bit-mask is used to check if a given topic is enabled.

Enumerations

enum  fesa::DiagnosticUtils::State {
  fesa::DiagnosticUtils::initDiag = 1 << 0, fesa::DiagnosticUtils::startDiag = 1 << 1, fesa::DiagnosticUtils::stopDiag = 1 << 2, fesa::DiagnosticUtils::requestState = 1 << 3,
  fesa::DiagnosticUtils::updateFwkTopic = 1 << 4, fesa::DiagnosticUtils::updateCustomTopic = 1 << 5, fesa::DiagnosticUtils::updateTsPeriod = 1 << 6
}
 

Specific actions to be activated on RT process during diagnostic setting.

More...
enum  fesa::DiagnosticUtils::FrameworkTopic {
  fesa::DiagnosticUtils::getActionProfiling = 1 << 0, fesa::DiagnosticUtils::setActionProfiling = 1 << 1, fesa::DiagnosticUtils::rtActionProfiling = 1 << 2, fesa::DiagnosticUtils::eventProfiling = 1 << 3,
  fesa::DiagnosticUtils::notificationProfiling = 1 << 4, fesa::DiagnosticUtils::getActionTracking = 1 << 5, fesa::DiagnosticUtils::setActionTracking = 1 << 6, fesa::DiagnosticUtils::rtActionTracking = 1 << 7,
  fesa::DiagnosticUtils::eventTracking = 1 << 8, fesa::DiagnosticUtils::notificationTracking = 1 << 9, fesa::DiagnosticUtils::persistencyTracking = 1 << 10, fesa::DiagnosticUtils::transactionTracking = 1 << 11,
  fesa::DiagnosticUtils::subscriptionTracking = 1 << 12, fesa::DiagnosticUtils::signalHandlerTracking = 1 << 13, fesa::DiagnosticUtils::rdaTracking = 1 << 14, fesa::DiagnosticUtils::startUpTracking = 1 << 15
}
 

Bit-enum of framework diagnostic topics.

More...
enum  fesa::DiagnosticUtils::Side { fesa::DiagnosticUtils::framework = 0, fesa::DiagnosticUtils::user = 1 }
 

Sides on which logging is performed.

More...
enum  fesa::DiagnosticUtils::Action { fesa::DiagnosticUtils::undefined = 0, fesa::DiagnosticUtils::start = 1, fesa::DiagnosticUtils::stop = 2 }
 

Actions for USR traces to be displayed in the profiler In case of modification, don't forget to update 'logActionStr' string-table. TODO: Change this doc, it was coppied from FesaLogger.h.

More...
enum  fesa::DiagnosticUtils::Source {
  fesa::DiagnosticUtils::main = 0, fesa::DiagnosticUtils::rt = 1, fesa::DiagnosticUtils::server = 2, fesa::DiagnosticUtils::event = 3,
  fesa::DiagnosticUtils::notification = 4
}
 

Source of the logging message.

More...

Functions

std::string fesa::DiagnosticUtils::convertFwkTopicToString (FrameworkTopic topic)
 Convert the topic enumeration value to string.
std::string fesa::DiagnosticUtils::convertActionToString (Action action)
 Convert the action enumeration value to string.
std::string fesa::DiagnosticUtils::convertSideToString (Side side)
 Convert the logging side enumeration value to string.
std::string fesa::DiagnosticUtils::convertSourceToString (Source source)
 Convert the souce of the logging message enumeration value to string.
std::string fesa::DiagnosticUtils::formatMessage (const DiagnosticMessage &diagMsg)
 Construct a string based on the diagnostic message structure.

Variables

const std::string fesa::DiagnosticUtils::fwkDiagLoggerNamePrefix = "FESA.DIAG.FWK."
const std::string fesa::DiagnosticUtils::userDiagLoggerNamePrefix = "FESA.DIAG.USR."
const std::string fesa::DiagnosticUtils::getActionProfilingStr = "GetActionProfiling"
const std::string fesa::DiagnosticUtils::setActionProfilingStr = "SetActionProfiling"
const std::string fesa::DiagnosticUtils::rtActionProfilingStr = "RTActionProfiling"
const std::string fesa::DiagnosticUtils::eventProfilingStr = "EventProfiling"
const std::string fesa::DiagnosticUtils::notificationProfilingStr = "NotificationProfiling"
const std::string fesa::DiagnosticUtils::getActionTrackingStr = "GetActionTracking"
const std::string fesa::DiagnosticUtils::setActionTrackingStr = "SetActionTracking"
const std::string fesa::DiagnosticUtils::rtActionTrackingStr = "RTActionTracking"
const std::string fesa::DiagnosticUtils::eventTrackingStr = "EventTracking"
const std::string fesa::DiagnosticUtils::notificationTrackingStr = "NotificationTracking"
const std::string fesa::DiagnosticUtils::persistencyTrackingStr = "PersistencyTracking"
const std::string fesa::DiagnosticUtils::transactionTrackingStr = "TransactionTracking"
const std::string fesa::DiagnosticUtils::subscriptionTrackingStr = "SubscriptionTracking"
const std::string fesa::DiagnosticUtils::signalHandlerTrackingStr = "SignalHandlerTracking"
const std::string fesa::DiagnosticUtils::rdaTrackingStr = "RDATracking"
const std::string fesa::DiagnosticUtils::startUpTrackingStr = "StartUpTracking"

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1