ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers baidu_ca_configuration.h Source File

baidu_ca_configuration.h

00001 // Copyright 2017 Baidu Inc. All Rights Reserved.
00002 // Author: Su Hao (suhao@baidu.com)
00003 //
00004 // Description: Configuration
00005 
00006 #ifndef BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_SCHEDULER_BAIDU_CA_CONFIGURATION_H
00007 #define BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_SCHEDULER_BAIDU_CA_CONFIGURATION_H
00008 
00009 #include "baidu_ca_types.h"
00010 
00011 namespace duer {
00012 
00013 class Configuration {
00014 public:
00015 
00016     Configuration();
00017 
00018     virtual ~Configuration();
00019 
00020     virtual const void* get_data() const;
00021 
00022     virtual bca_size_t get_size() const;
00023 
00024 private:
00025 
00026     const void*     _data;
00027     bca_size_t      _size;
00028 };
00029 
00030 } // namespace duer
00031 
00032 #endif // BAIDU_IOT_TINYDU_IOT_OS_SRC_IOT_BAIDU_CA_SCHEDULER_BAIDU_CA_CONFIGURATION_H