Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ID12RFID ReportDB SalesforceCaseGenerator SalesforceInterface
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: StatusReporter.h
- Revision:
- 19:1cf0bad37c62
- Parent:
- 16:d196d812f651
--- a/StatusReporter.h Wed Sep 24 19:09:30 2014 +0000
+++ b/StatusReporter.h Fri Sep 26 04:34:10 2014 +0000
@@ -1,5 +1,7 @@
/* Copyright C2014 ARM, MIT License
*
+ * Author: Doug Anson (doug.anson@arm.com)
+ *
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files the "Software", to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
@@ -20,26 +22,27 @@
#define _STATUS_REPORTER_H_
#include "Definitions.h"
- #include "ErrorHandler.h"
+ #include "Logger.h"
#include "SalesForceCaseGenerator.h"
#include "ReportDB.h"
#include "ID12RFID.h"
class StatusReporter {
private:
- ErrorHandler *m_logger;
+ Logger *m_logger;
ReportDB m_db;
SalesForceCaseGenerator m_case_generator;
ID12RFID m_rfid_reader;
public:
- StatusReporter(ErrorHandler *logger,void *transport);
+ StatusReporter(HTTPClient *http,Logger *logger);
virtual ~StatusReporter();
void checkAndReportOnStatus();
private:
int getLocalTemperature();
+ Logger *logger();
};
#endif // _STATUS_REPORTER_H_
\ No newline at end of file