From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02823.html | 378 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 378 insertions(+) create mode 100644 docs/doxygen/nel/a02823.html (limited to 'docs/doxygen/nel/a02823.html') diff --git a/docs/doxygen/nel/a02823.html b/docs/doxygen/nel/a02823.html new file mode 100644 index 00000000..32b74b14 --- /dev/null +++ b/docs/doxygen/nel/a02823.html @@ -0,0 +1,378 @@ + + +NeL: NLLOGIC::CLogicEventMessage class Reference + + + +
+

NLLOGIC::CLogicEventMessage Class Reference

#include <logic_event.h> +

+


Detailed Description

+CLogicEventMessage

+

Author:
Stephane Coutelas

+Nevrax France

+
Date:
2001
+ +

+ +

+Definition at line 51 of file logic_event.h. + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CLogicEventMessage ()
void read (xmlNodePtr node, const char *subName="")
void write (xmlNodePtr node, const char *subName="") const

Data Fields

std::string Arguments
 message arguments

std::string Destination
 message destination

NLMISC::CEntityId DestinationId
 message destination id

std::string MessageId
 message id

bool Sent
 true if the message has been sent

bool ToSend
 true if the message has to be sent

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicEventMessage::CLogicEventMessage  )  [inline]
+
+ + + + + +
+   + + +

+Default constructor +

+Definition at line 76 of file logic_event.h. +

+References Arguments, Destination, DestinationId, MessageId, Sent, NLMISC::CEntityId::setCreatorId(), NLMISC::CEntityId::setDynamicId(), NLMISC::CEntityId::setType(), and ToSend. +

+

00077         {
+00078                 ToSend = false;
+00079                 Sent = false;
+00080                 Destination = "no_destination";
+00081                 MessageId = "no_id";
+00082                 DestinationId.setType( 0xfe );
+00083                 DestinationId.setCreatorId( 0 );
+00084                 DestinationId.setDynamicId( 0 );
+00085                 Arguments = "no_arguments";
+00086         }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLLOGIC::CLogicEventMessage::read xmlNodePtr  node,
const char *  subName = ""
+
+ + + + + +
+   + + +

+ +

+Definition at line 68 of file logic_event.cpp. +

+References Arguments, Destination, DestinationId, NLLOGIC::getXMLProp(), MessageId, and NLLOGIC::xmlCheckNodeName(). +

+Referenced by NLLOGIC::CLogicEventAction::read(). +

+

00069 {
+00070         xmlCheckNodeName (node, string(string(subName)+string("EVENT_MESSAGE")).c_str());
+00071 
+00072         Destination = getXMLProp (node, "Destination");
+00073         DestinationId = atoiInt64(getXMLProp (node, "DestinationId").c_str());
+00074         MessageId = getXMLProp (node, "MessageId");
+00075         Arguments = getXMLProp (node, "Arguments");
+00076 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLLOGIC::CLogicEventMessage::write xmlNodePtr  node,
const char *  subName = ""
const
+
+ + + + + +
+   + + +

+serial +

+Definition at line 59 of file logic_event.cpp. +

+References Arguments, Destination, DestinationId, and MessageId. +

+Referenced by NLLOGIC::CLogicEventAction::write(). +

+

00060 {
+00061         xmlNodePtr elmPtr = xmlNewChild ( node, NULL, (const xmlChar*)string(string(subName)+string("EVENT_MESSAGE")).c_str(), NULL);
+00062         xmlSetProp (elmPtr, (const xmlChar*)"Destination", (const xmlChar*)Destination.c_str());
+00063         xmlSetProp (elmPtr, (const xmlChar*)"DestinationId", (const xmlChar*)toString(DestinationId).c_str());
+00064         xmlSetProp (elmPtr, (const xmlChar*)"MessageId", (const xmlChar*)toString(MessageId).c_str());
+00065         xmlSetProp (elmPtr, (const xmlChar*)"Arguments", (const xmlChar*)toString(Arguments).c_str());
+00066 }
+
+


Field Documentation

+

+ + + + +
+ + +
std::string NLLOGIC::CLogicEventMessage::Arguments +
+
+ + + + + +
+   + + +

+message arguments +

+ +

+Definition at line 71 of file logic_event.h. +

+Referenced by CLogicEventMessage(), read(), and write().

+

+ + + + +
+ + +
std::string NLLOGIC::CLogicEventMessage::Destination +
+
+ + + + + +
+   + + +

+message destination +

+ +

+Definition at line 62 of file logic_event.h. +

+Referenced by CLogicEventMessage(), read(), and write().

+

+ + + + +
+ + +
NLMISC::CEntityId NLLOGIC::CLogicEventMessage::DestinationId +
+
+ + + + + +
+   + + +

+message destination id +

+ +

+Definition at line 65 of file logic_event.h. +

+Referenced by CLogicEventMessage(), read(), and write().

+

+ + + + +
+ + +
std::string NLLOGIC::CLogicEventMessage::MessageId +
+
+ + + + + +
+   + + +

+message id +

+ +

+Definition at line 68 of file logic_event.h. +

+Referenced by CLogicEventMessage(), read(), and write().

+

+ + + + +
+ + +
bool NLLOGIC::CLogicEventMessage::Sent +
+
+ + + + + +
+   + + +

+true if the message has been sent +

+ +

+Definition at line 59 of file logic_event.h. +

+Referenced by CLogicEventMessage(), and NLLOGIC::CLogicEvent::reset().

+

+ + + + +
+ + +
bool NLLOGIC::CLogicEventMessage::ToSend +
+
+ + + + + +
+   + + +

+true if the message has to be sent +

+ +

+Definition at line 56 of file logic_event.h. +

+Referenced by CLogicEventMessage(), NLLOGIC::CLogicEventAction::enableSendMessage(), and NLLOGIC::CLogicEvent::reset().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 12:54:05 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1