Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
IComponent Class Referenceabstract

#include <IComponent.h>

Inheritance diagram for IComponent:
ICmpAIInterface ICmpAIManager ICmpCommandQueue ICmpDecay ICmpExample ICmpFootprint ICmpGuiInterface ICmpIdentity ICmpMinimap ICmpMotion ICmpObstruction ICmpObstructionManager ICmpOverlayRenderer ICmpOwnership ICmpParticleManager ICmpPathfinder ICmpPlayer ICmpPlayerManager ICmpPosition ICmpProjectileManager ICmpRallyPointRenderer ICmpRangeManager ICmpSelectable ICmpSettlement ICmpSoundManager ICmpTechnologyManager ICmpTechnologyTemplateManager ICmpTemplateManager ICmpTerrain ICmpTerritoryInfluence ICmpTerritoryManager ICmpTest1 ICmpTest2 ICmpUnitMotion ICmpUnknownScript ICmpVision ICmpVisual ICmpWaterManager

Public Member Functions

virtual ~IComponent ()
 
virtual void Init (const CParamNode &paramNode)=0
 
virtual void Deinit ()=0
 
virtual void HandleMessage (const CMessage &msg, bool global)
 
CEntityHandle GetEntityHandle () const
 
void SetEntityHandle (CEntityHandle ent)
 
entity_id_t GetEntityId () const
 
CEntityHandle GetSystemEntity () const
 
const CSimContextGetSimContext () const
 
void SetSimContext (const CSimContext &context)
 
virtual void Serialize (ISerializer &serialize)=0
 
virtual void Deserialize (const CParamNode &paramNode, IDeserializer &deserialize)=0
 
virtual JSClass * GetJSClass () const
 
virtual jsval GetJSInstance () const
 

Static Public Member Functions

static std::string GetSchema ()
 
static u8 GetSerializationVersion ()
 

Private Attributes

CEntityHandle m_EntityHandle
 
const CSimContextm_SimContext
 

Detailed Description

Definition at line 33 of file IComponent.h.

Constructor & Destructor Documentation

IComponent::~IComponent ( )
virtual

Definition at line 22 of file IComponent.cpp.

Member Function Documentation

virtual void IComponent::Deinit ( )
pure virtual
virtual void IComponent::Deserialize ( const CParamNode paramNode,
IDeserializer deserialize 
)
pure virtual
CEntityHandle IComponent::GetEntityHandle ( ) const
inline

Definition at line 45 of file IComponent.h.

entity_id_t IComponent::GetEntityId ( ) const
inline

Definition at line 48 of file IComponent.h.

JSClass * IComponent::GetJSClass ( ) const
virtual

Definition at line 36 of file IComponent.cpp.

jsval IComponent::GetJSInstance ( ) const
virtual
std::string IComponent::GetSchema ( )
static

Definition at line 26 of file IComponent.cpp.

static u8 IComponent::GetSerializationVersion ( )
inlinestatic

Definition at line 55 of file IComponent.h.

const CSimContext& IComponent::GetSimContext ( ) const
inline

Definition at line 52 of file IComponent.h.

CEntityHandle IComponent::GetSystemEntity ( ) const
inline

Definition at line 50 of file IComponent.h.

void IComponent::HandleMessage ( const CMessage msg,
bool  global 
)
virtual
virtual void IComponent::Init ( const CParamNode paramNode)
pure virtual
virtual void IComponent::Serialize ( ISerializer serialize)
pure virtual
void IComponent::SetEntityHandle ( CEntityHandle  ent)
inline

Definition at line 46 of file IComponent.h.

void IComponent::SetSimContext ( const CSimContext context)
inline

Definition at line 53 of file IComponent.h.

Member Data Documentation

CEntityHandle IComponent::m_EntityHandle
private

Definition at line 63 of file IComponent.h.

const CSimContext* IComponent::m_SimContext
private

Definition at line 64 of file IComponent.h.


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