ed
examples
hello_world
hello_world_plugin.h
Go to the documentation of this file.
1
#ifndef ED_HELLO_WORLD_PLUGIN_H_
2
#define ED_HELLO_WORLD_PLUGIN_H_
3
4
#include <
ed/plugin.h
>
5
6
class
HelloWorld
:
public
ed::Plugin
7
{
8
9
public
:
10
11
HelloWorld
();
12
13
virtual
~HelloWorld
();
14
15
void
initialize
(
ed::InitData
& init);
16
17
void
process
(
const
ed::WorldModel
& world,
ed::UpdateRequest
& req);
18
19
private
:
20
21
std::string
text_
;
22
23
};
24
25
#endif
HelloWorld
Definition:
hello_world_plugin.h:6
ed::Plugin
Definition:
plugin.h:28
ed::WorldModel
Definition:
world_model.h:21
ed::UpdateRequest
Definition:
update_request.h:24
std::string
HelloWorld::process
void process(const ed::WorldModel &world, ed::UpdateRequest &req)
Definition:
hello_world_plugin.cpp:28
plugin.h
ed::InitData
Definition:
init_data.h:12
HelloWorld::text_
std::string text_
Definition:
hello_world_plugin.h:21
HelloWorld::HelloWorld
HelloWorld()
Definition:
hello_world_plugin.cpp:9
ed::Plugin::initialize
virtual void initialize()
Definition:
plugin.h:39
HelloWorld::~HelloWorld
virtual ~HelloWorld()
Definition:
hello_world_plugin.cpp:15
Generated on Mon Feb 24 2025 04:35:32 for ed by
1.8.17