From 31ff5ce755d00cf12ea2ffc96c33ed9acd36358f Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Wed, 21 Nov 2018 16:32:29 +0800 Subject: update doc add new sequence and update doxygen files. Change-Id: I6737939eb2628577d58b2d1d65086e46e7cb14a4 Signed-off-by: wang_zhiqiang --- doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html | 131 ++++++++++++------------ 1 file changed, 66 insertions(+), 65 deletions(-) (limited to 'doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html') diff --git a/doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html b/doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html index 1aec416..bed43cb 100644 --- a/doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html +++ b/doc/api-ref/html/d0/d8a/libhomescreen_8cpp.html @@ -3,8 +3,7 @@ - - + HomeScreenBinding: libhomescreen/libhomescreen.cpp File Reference @@ -12,6 +11,9 @@ + @@ -29,19 +31,39 @@ - + - - - - + +
#include <sys/socket.h>
#include <iostream>
#include <algorithm>
-#include <thread>
#include <errno.h>
#include <cassert>
#include <cctype>
@@ -82,7 +103,7 @@ $(function() { #include <cstdlib>
#include <cstring>
#include <libhomescreen.hpp>
-#include "hmi-debug.h"
+#include "hmi-debug.h"

Go to the source code of this file.

@@ -94,22 +115,20 @@ Functions - + - -
 
static void _on_call_static (void *closure, const char *api, const char *verb, struct afb_wsj1_msg *msg)
 
static void _on_event_static (void *closure, const char *event, struct afb_wsj1_msg *msg)
static void _on_event_static (void *closure, const char *event, struct afb_wsj1_msg *msg)
 
static void _on_reply_static (void *closure, struct afb_wsj1_msg *msg)
 
static void * event_loop_run (void *args)
 
+ +

Variables

static const char API [] = "homescreen"
 
static const char ApplicationId [] = "application_id"
 

Function Documentation

- -

◆ _on_call_static()

- +
@@ -153,13 +172,11 @@ Variables
-

Definition at line 64 of file libhomescreen.cpp.

-
65 {
66  /* LibHomeScreen is not called from other process */
67 }
+

Definition at line 74 of file libhomescreen.cpp.

+
75 {
76  /* LibHomeScreen is not called from other process */
77 }
- -

◆ _on_event_static()

- +
@@ -197,15 +214,12 @@ Variables
-

Definition at line 69 of file libhomescreen.cpp.

-
70 {
71  static_cast<LibHomeScreen*>(closure)->on_event(NULL,event,msg);
72 }
- +

Definition at line 79 of file libhomescreen.cpp.

+
80 {
81  static_cast<LibHomeScreen*>(closure)->on_event(NULL,event,msg);
82 }
- -

◆ _on_hangup_static()

- +
@@ -238,14 +252,12 @@ Variables

websocket

-

Definition at line 59 of file libhomescreen.cpp.

-
60 {
61  static_cast<LibHomeScreen*>(closure)->on_hangup(NULL,wsj);
62 }
+

Definition at line 69 of file libhomescreen.cpp.

+
70 {
71  static_cast<LibHomeScreen*>(closure)->on_hangup(NULL,wsj);
72 }
- -

◆ _on_reply_static()

- +
@@ -277,14 +289,12 @@ Variables
-

Definition at line 74 of file libhomescreen.cpp.

-
75 {
76  static_cast<LibHomeScreen*>(closure)->on_reply(NULL,msg);
77 }
+

Definition at line 84 of file libhomescreen.cpp.

+
85 {
86  static_cast<LibHomeScreen*>(closure)->on_reply(NULL,msg);
87 }
- -

◆ event_loop_run()

- +
@@ -292,10 +302,10 @@ Variables
- + - - + +
static void* event_loop_run static bool has_verb (void * args)const string & verb)
@@ -306,14 +316,14 @@ Variables
-

Definition at line 201 of file libhomescreen.cpp.

-
202 {
203  struct sd_event* loop = (struct sd_event*)(args);
204  HMI_DEBUG("libhomescreen","start eventloop");
205  for(;;)
206  sd_event_run(loop, 30000000);
207 }
#define HMI_DEBUG(prefix, args,...)
Definition: hmi-debug.h:22
+

Definition at line 705 of file libhomescreen.cpp.

+
706 {
707  HMI_DEBUG("libhomescreen","verb is %s", verb.c_str());
708  if(find(LibHomeScreen::api_list.begin(), LibHomeScreen::api_list.end(), verb) != LibHomeScreen::api_list.end())
709  return true;
710  else
711  return false;
712 }
#define HMI_DEBUG(prefix, args,...)
Definition: hmi-debug.h:42
+
static const std::vector< std::string > api_list
- -

◆ has_verb()

- +

Variable Documentation

+
@@ -321,11 +331,7 @@ Variables @@ -335,16 +341,11 @@ Variables
- - - - - +
static bool has_verb (const string & verb)const char API[] = "homescreen"
-

Definition at line 518 of file libhomescreen.cpp.

-
519 {
520  HMI_DEBUG("libhomescreen","verb is %s", verb.c_str());
521  if(find(LibHomeScreen::api_list.begin(), LibHomeScreen::api_list.end(), verb) != LibHomeScreen::api_list.end())
522  return true;
523  else
524  return false;
525 }
#define HMI_DEBUG(prefix, args,...)
Definition: hmi-debug.h:22
-
static const std::vector< std::string > api_list
-
+

Definition at line 35 of file libhomescreen.cpp.

+
-

Variable Documentation

- -

◆ API

- +
@@ -352,7 +353,7 @@ Variables @@ -362,7 +363,7 @@ Variables
- +
const char API[] = "homescreen"const char ApplicationId[] = "application_id"
-

Definition at line 36 of file libhomescreen.cpp.

+

Definition at line 36 of file libhomescreen.cpp.

@@ -371,7 +372,7 @@ Variables -- cgit 1.2.3-korg