canaerodatamanager.h

00001 // Copyright (C) 2008,2009,2010 by Philipp Münzel. All rights reserved.
00002 // Released under the terms of the license described in license.txt
00003 
00004 #ifndef CANAERODATAMANAGER_H
00005 #define CANAERODATAMANAGER_H
00006 
00007 #include "dllexport.h"
00008 #include "canaerotypes.h"
00009 
00010 namespace SCS {
00011 
00023 class DLL_PUBLIC CanAeroDataManager {
00024 public:
00025 
00026     virtual ~CanAeroDataManager() {}
00027 
00033     virtual void handleSTS() = 0;
00034 
00041     virtual void handleMCS(uint16_t module, uint16_t mode) = 0;
00042 
00048     virtual uint32_t handleMIS() = 0;
00049 
00055     virtual bool handleDRS(uint32_t id) = 0;
00056 
00061     virtual void incomingData(const can_t& can) = 0;
00062 
00069     virtual void changeNodeId(uint8_t node_id) = 0;
00070 };
00071 }
00072 
00073 #endif // CANAERODATAMANAGER_H