Dreamforce 2014 Demo of RFID-based Salesforce Case generation for status reporting.

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

Committer:
ansond
Date:
Thu Aug 28 20:18:55 2014 +0000
Revision:
0:ba3327ba3a04
Child:
7:763c7a27e77a
initial checkin

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 0:ba3327ba3a04 1 /* Copyright C2014 ARM, MIT License
ansond 0:ba3327ba3a04 2 *
ansond 0:ba3327ba3a04 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
ansond 0:ba3327ba3a04 4 * and associated documentation files the "Software", to deal in the Software without restriction,
ansond 0:ba3327ba3a04 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
ansond 0:ba3327ba3a04 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
ansond 0:ba3327ba3a04 7 * furnished to do so, subject to the following conditions:
ansond 0:ba3327ba3a04 8 *
ansond 0:ba3327ba3a04 9 * The above copyright notice and this permission notice shall be included in all copies or
ansond 0:ba3327ba3a04 10 * substantial portions of the Software.
ansond 0:ba3327ba3a04 11 *
ansond 0:ba3327ba3a04 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
ansond 0:ba3327ba3a04 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
ansond 0:ba3327ba3a04 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ansond 0:ba3327ba3a04 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ansond 0:ba3327ba3a04 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ansond 0:ba3327ba3a04 17 */
ansond 0:ba3327ba3a04 18
ansond 0:ba3327ba3a04 19 #ifndef _STATUS_REPORTER_H_
ansond 0:ba3327ba3a04 20 #define _STATUS_REPORTER_H_
ansond 0:ba3327ba3a04 21
ansond 0:ba3327ba3a04 22 #include "Definitions.h"
ansond 0:ba3327ba3a04 23 #include "ErrorHandler.h"
ansond 0:ba3327ba3a04 24 #include "SalesForceCaseGenerator.h"
ansond 0:ba3327ba3a04 25 #include "WidgetDB.h"
ansond 0:ba3327ba3a04 26 #include "ID12RFID.h"
ansond 0:ba3327ba3a04 27
ansond 0:ba3327ba3a04 28 class StatusReporter {
ansond 0:ba3327ba3a04 29 private:
ansond 0:ba3327ba3a04 30 ErrorHandler *m_logger;
ansond 0:ba3327ba3a04 31 WidgetDB m_db;
ansond 0:ba3327ba3a04 32 SalesForceCaseGenerator m_case_generator;
ansond 0:ba3327ba3a04 33 ID12RFID m_rfid_reader;
ansond 0:ba3327ba3a04 34
ansond 0:ba3327ba3a04 35 public:
ansond 0:ba3327ba3a04 36 StatusReporter(ErrorHandler *logger);
ansond 0:ba3327ba3a04 37 virtual ~StatusReporter();
ansond 0:ba3327ba3a04 38
ansond 0:ba3327ba3a04 39 void checkAndReportOnStatus();
ansond 0:ba3327ba3a04 40 };
ansond 0:ba3327ba3a04 41
ansond 0:ba3327ba3a04 42 #endif // _STATUS_REPORTER_H_