acme
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages Concepts
source.h
1// Created by camilo on day after ThomasBirthday2021 04:44 BRT
2#pragma once
3
4
6
7
9class CLASS_DECL_ACME source :
10 virtual public ::particle
11{
12public:
13
14
15 pointer_array < ::particle > m_particlea;
16
17
18 source();
19 ~source() override;
20
21
22 void destroy() override;
23
24 inline bool has_handler() const
25 {
26
27 return m_particlea.has_element();
28
29 }
30
31// virtual void add_signal_handler(const ::signal_handler& signalhandler, bool bPriority = false);
32
33 virtual void add_handler(::particle * pmatter, bool bPriority = false);
34
35 virtual void route(::topic * ptopic, ::handler_context * phandlercontext = nullptr);
36
37 virtual void on_topic(const ::atom & atom, ::particle * pparticle = nullptr, ::handler_context * pcontext = nullptr);
38
39 virtual void notify_topic(const ::atom & atom, ::particle * pparticle = nullptr, ::handler_context * pcontext = nullptr);
40
41 //void signal(::topic * ptopic, ::handler_context * phandlercontext) override;
42
43
44};
Definition atom.h:233
Definition handler_context.h:10
Definition topic.h:17