MakerLabs ACM
app_actor.cpp File Reference

Implementation of actor app. More...

#include "actors.h"
#include "acm_helpers.h"
#include "filesystem.h"
#include "requests.h"
#include "timestamp.h"
#include "uuid.h"
#include "trace.h"
#include "flatbuffers/minireflect.h"
#include "esp_log.h"
#include <chrono>
#include <experimental/string_view>
#include <list>
#include <queue>
#include <string>

Detailed Description

Implementation of actor app.

Classes

struct  AppActorState
 

Typedefs

using string = std::string
 
using string_view = std::experimental::string_view
 
using RequestPayloadFlatbuffer = flatbuffers::DetachedBuffer
 
using UserFlatbuffer = flatbuffers::DetachedBuffer
 
using MutableUserFlatbuffer = std::vector< uint8_t >
 
using MutableActivityFlatbuffer = std::vector< uint8_t >
 
using MutableRequestPayloadFlatbuffer = std::vector< uint8_t >
 

Functions

auto send_progress_bar (const DisplayIntentFlatbuffer &display_intent_flatbuf) -> bool
 
auto send_activity (const ActivityFlatbuffer &activity_mutable_buf) -> bool
 
auto app_actor_behaviour (const Pid &self, StatePtr &_state, const Message &message) -> ResultUnion
 

Variables

constexpr char TAG [] = "app_actor"