4S Device Communication Module Collection  Version 0.6-SNAPSHOT
Full documentation of the modules in the 4SDC collection (aimed at 4SDC module developers)
initialdemolib.cpp File Reference

(This file was last changed: 2015-03-16 10:38:08 +0100, by Jacob Andersen)

Implementation file for the 4SDC stacks main thread class. More...

#include "FSYS/log.h"
#include "FSYS/msgreceiver.h"
#include "FSYS/msgsender.h"
#include "PAL/personalhealthdevice.h"
#include "4SDC/simpledemowrapper.h"
#include "4SDC/core.h"
#include "Gateway/jsongateway.h"
#include "Gateway/4SDC2JSON/platformjsongateway.h"
#include <csignal>
#include <map>
#include <QtCore/QCoreApplication>
#include <QObject>
#include <QString>
#include <QVector>
#include <QDateTime>
#include <iostream>
#include <sstream>
+ Include dependency graph for initialdemolib.cpp:

Classes

class  PHDListener
 
struct  ConnectedDevice
 
class  Wrapper
 

Functions

char hexNibble (unsigned char c)
 
string hexByte (unsigned char c)
 
string timestamp (std::shared_ptr< std::vector< uint8_t > > message, int start)
 
string sfloat (u_int16_t val)
 
string ffloat (u_int32_t val)
 
void printMsg (std::shared_ptr< std::vector< uint8_t > > message)
 
bool validTimestamp (std::shared_ptr< std::vector< uint8_t > > message, int start)
 

Detailed Description

The class contained in this file has the responsibility of controlling the 4SDC stack's main thread, initialising the stack, and running its message loop.

Author
Jacob Andersen, The Alexandra Institute.
Mike Kristoffersen, The Alexandra Institute.