Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CMessage Class Referenceabstract

#include <Message.h>

Inheritance diagram for CMessage:

Public Member Functions

virtual ~CMessage ()
 
virtual int GetType () const =0
 
virtual const char * GetScriptHandlerName () const =0
 
virtual const char * GetScriptGlobalHandlerName () const =0
 
virtual JS::Value ToJSVal (const ScriptRequest &) const =0
 
JS::Value ToJSValCached (const ScriptRequest &) const
 

Protected Member Functions

 CMessage ()
 

Private Member Functions

 NONCOPYABLE (CMessage)
 

Private Attributes

std::unique_ptr< JS::PersistentRootedValue > m_Cached
 

Constructor & Destructor Documentation

◆ CMessage()

CMessage::CMessage ( )
inlineprotected

◆ ~CMessage()

virtual CMessage::~CMessage ( )
inlinevirtual

Member Function Documentation

◆ GetScriptGlobalHandlerName()

◆ GetScriptHandlerName()

◆ GetType()

◆ NONCOPYABLE()

CMessage::NONCOPYABLE ( CMessage  )
private

◆ ToJSVal()

◆ ToJSValCached()

JS::Value CMessage::ToJSValCached ( const ScriptRequest rq) const

Member Data Documentation

◆ m_Cached

std::unique_ptr<JS::PersistentRootedValue> CMessage::m_Cached
mutableprivate

The documentation for this class was generated from the following files: