30#include "nexuslua_export.h"
75 virtual std::shared_ptr<Message>
clone()
const
The nexuslua library is implemented inside this namespace.
This type is used for the parameters of nexuslua::Message. In its serialized representation,...
Definition lua_table.hpp:54
std::string GetOriginalMessageNameOrEmpty() const
return the original message name, in case this message is a reply to a message that specified a reply...
LuaTable parameters
parameter table of the message; third parameter of send
Definition message.hpp:70
int agent_n
Definition message.hpp:68
Message(int agent_n, const Message &message)
Definition message.hpp:53
virtual ~Message()=default
Message(int agent_n)
Definition message.hpp:60
static constexpr std::string_view originalMessageParametersId
name of an entry that stores the original message parameters, in case this message is a reply to a me...
Definition message.hpp:82
LuaTable GetOriginalMessageParametersOrEmpty() const
return the original message parameters, in case this message is a reply to a message that specified a...
static constexpr std::string_view originalMessageNameId
name of an entry that stores the original message name, in case this message is a reply to a message ...
Definition message.hpp:81
Message(int agent_n, const std::string &my_name, const LuaTable &my_parameters)
Definition message.hpp:46
virtual std::shared_ptr< Message > clone() const
Definition message.hpp:75
std::string name
name of the message; second parameter of send
Definition message.hpp:69
static constexpr std::string_view originalMessageTableId
name of the SubTable that stores the original message, in case this message is a reply to a message t...
Definition message.hpp:80