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.
Fork of mbedConnectorInterfaceWithDM by
ConnectionStatusInterface.h
00001 /** 00002 * @file ConnectionStatusInterface.h 00003 * @brief ConnectionStatusInterface (header) 00004 * @author Doug Anson 00005 * @version 1.0 00006 * @see 00007 * 00008 * Copyright (c) 2014 00009 * 00010 * Licensed under the Apache License, Version 2.0 (the "License"); 00011 * you may not use this file except in compliance with the License. 00012 * You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, software 00017 * distributed under the License is distributed on an "AS IS" BASIS, 00018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 * See the License for the specific language governing permissions and 00020 * limitations under the License. 00021 */ 00022 00023 #ifndef __CONNECTION_STATUS_INTERFACE_H__ 00024 #define __CONNECTION_STATUS_INTERFACE_H__ 00025 00026 // mbedConnectorInterface configuration 00027 #include "mbed-connector-interface/mbedConnectorInterface.h" 00028 00029 // mbed support 00030 #if defined(MCI_USE_YOTTA) 00031 // mbed support 00032 #include "mbed-drivers/mbed.h" 00033 #else 00034 // mbed support 00035 #include "mbed.h" 00036 #endif 00037 00038 // Connector namespace 00039 namespace Connector { 00040 00041 class ConnectionStatusInterface { 00042 public: 00043 // Default constructor 00044 ConnectionStatusInterface(); 00045 00046 // Copy constructor 00047 ConnectionStatusInterface(ConnectionStatusInterface &csi); 00048 00049 // Destructor 00050 virtual ~ConnectionStatusInterface(); 00051 00052 /** 00053 Registered 00054 */ 00055 virtual void object_registered(void *ep,void *security = NULL,void *data = NULL); 00056 00057 /** 00058 Re-registered 00059 */ 00060 virtual void registration_updated(void *ep,void *security = NULL,void *data = NULL); 00061 00062 /** 00063 Beginning de-registration 00064 */ 00065 virtual void begin_object_unregistering(void *ep); 00066 00067 /** 00068 De-registered 00069 */ 00070 virtual void object_unregistered(void *ep,void *data = NULL); 00071 00072 /** 00073 Bootstrapped 00074 */ 00075 virtual void bootstrapped(void *ep,void *data = NULL); 00076 00077 /** 00078 Value Updated 00079 */ 00080 virtual void value_updated(void *ep,void *data,int type); 00081 }; 00082 00083 } // namespace Connector 00084 00085 #endif // __CONNECTION_STATUS_INTERFACE_H__
Generated on Wed Jul 13 2022 01:24:02 by
