MakerLabs ACM
behaviour.h File Reference
#include "mailbox.h"
#include "pid.h"
#include "uuid.h"
#include "actor_model_generated.h"
#include "delegate.hpp"
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  ActorModel::ResultUnion
 

Namespaces

 ActorModel
 

Typedefs

using ActorModel::State = void
 
using ActorModel::StatePtr = std::shared_ptr< State >
 
using ActorModel::ActorBehaviour = delegate< ResultUnion(const Pid &, StatePtr &state, const Message &)>
 
using ActorModel::ActorBehaviours = std::vector< ActorBehaviour >
 
using ActorModel::Behaviour = delegate< ResultUnion(const Pid &, Mailbox &)>