trikRuntime
trikKernel Namespace Reference

Namespaces

 coreDumping
 

Classes

class  ApplicationInitHelper
 Helper class for correct initialization of trikRuntime applications — TrikRun, TrikGui and TrikServer. More...
 
class  CommandLineParser
 Parser of command-line parameters. More...
 
class  Configurer
 Generic configuration helper, parses configuration XML files and presents configuration as a set of attributes with their values for each configurable device. More...
 
class  Debugger
 Debug helper that logs function entry and exit. More...
 
class  DeinitializationHelper
 RAII-style helper class that performs deferred deinitialization, intended to be used in main programs or test cases (with Q_UNUSED macro). More...
 
class  DifferentOwnerPointer
 Smart pointer that can hold two different kinds of pointers: where ownership belongs to someone else and where ownership belongs to this object (some mix of shared pointer and weak pointer). More...
 
class  FailedToOpenFileException
 Exception that is thrown when file opening operation failed. More...
 
class  FailedToParseXmlException
 Exception that is thrown when XML file is corrupt and "setContent" method of QDomDocument has failed. More...
 
class  FileUtils
 Helper class with file helper functions. More...
 
class  InternalErrorException
 Exception that is thrown when something is wrong with implementation of trikRuntime. More...
 
class  LoggingHelper
 Helper for working with QsLog library. More...
 
class  MalformedConfigException
 Exception that is thrown when something is wrong with runtime configuration files. More...
 
class  Paths
 Service that provides information about file paths used by system. More...
 
class  RcReader
 Simple trikrc file parser. More...
 
class  SynchronizedVar
 Helper template for syncing reader and writer. More...
 
class  TimeVal
 Structure of a time value in a convenient format. More...
 
class  TranslationsHelper
 Service for loading translations corresponding to current locale settings. More...
 
class  TrikRuntimeException
 Base class for all exceptions in TRIKRuntime. More...
 

Functions

template<typename T >
DifferentOwnerPointer< T > createDifferentOwnerPointer (T &foreignObject)
 Helper function that creates DifferentOwnerPointer that does not own object. More...
 
template<typename T >
DifferentOwnerPointer< T > createDifferentOwnerPointer (const QSharedPointer< T > &sharedObject)
 Helper function that creates DifferentOwnerPointer that shares object. More...
 
template<typename T >
DifferentOwnerPointer< T > createDifferentOwnerPointer (T *const ownObject)
 Helper function that creates DifferentOwnerPointer that owns object. More...
 
int operator- (const TimeVal &left, const TimeVal &right)
 

Variables

const QString version = "3.1.4"
 

Function Documentation

template<typename T >
DifferentOwnerPointer<T> trikKernel::createDifferentOwnerPointer ( T &  foreignObject)
inline

Helper function that creates DifferentOwnerPointer that does not own object.

template<typename T >
DifferentOwnerPointer<T> trikKernel::createDifferentOwnerPointer ( const QSharedPointer< T > &  sharedObject)
inline

Helper function that creates DifferentOwnerPointer that shares object.

template<typename T >
DifferentOwnerPointer<T> trikKernel::createDifferentOwnerPointer ( T *const  ownObject)
inline

Helper function that creates DifferentOwnerPointer that owns object.

int trikKernel::operator- ( const TimeVal left,
const TimeVal right 
)
inline
Parameters
left- a value before sign, usually "time after event".
right- a value after sign, usually "time before event".

Variable Documentation

const QString trikKernel::version = "3.1.4"