NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Classes | Public Member Functions
ScriptModule Class Reference
Inheritance diagram for ScriptModule:
Inheritance graph
[legend]
Collaboration diagram for ScriptModule:
Collaboration graph
[legend]

List of all members.

Classes

struct  SharedPointerWrapper

Public Member Functions

 ScriptModule (PropertyMap *, MessageRouter *, EntityList *)
void SendMessage (EnvelopeSPTR envelope) const
void PrioritySend (EnvelopeSPTR envelope) const
EnvelopeSPTR DirectedSend (EnvelopeSPTR envelope) const
void Message (EnvelopeSPTR envelope)
unsigned int RegisterMessageHandler (std::string funcName, event_handler_key_type eventID)
 Alias for RegisterMessageHandlerByName.
unsigned int RegisterMessageHandlerByName (std::string funcName, event_handler_key_type eventID)
 Finds the function ID by name and registers it via RegisterMessageHandlerByID.
unsigned int RegisterMessageHandlerByDecl (std::string funcDeclaration, event_handler_key_type eventID)
 Finds the function ID by the function's declaration and registers it via RegisterMessageHandlerByID.
unsigned int RegisterMessageHandlerByID (unsigned int funcID, event_handler_key_type eventID)
 Registers the given function ID to the given event ID.
unsigned int UnregisterMessageHandler (std::string funcName, event_handler_key_type eventID)
 Alias for UnregisterMessageHandlerByName.
unsigned int UnregisterMessageHandlerByName (std::string funcName, event_handler_key_type eventID)
 Finds the function ID by name and unregisters it via UnregisterMessageHandlerByID.
unsigned int UnregisterMessageHandlerByDecl (std::string funcDeclaration, event_handler_key_type eventID)
 Finds the function ID by the function's declaration and unregisters it via UnregisterMessageHandlerByID.
unsigned int UnregisterMessageHandlerByID (unsigned int funcID, event_handler_key_type eventID)
 Unregisters the given function ID from the given event ID.
template<typename Type >
void RegisterSharedPointer (const std::string &, const std::string &)
EnvelopeSPTR EnvelopeSPTRFactory ()
void CreateComponent (std::string, std::map< std::string, boost::any > &, EntitySPTR)
WHO_DELETES::TYPE RemoveComponent (ComponentInterface *)
void ExecuteFile (const std::string &, const std::string &) throw (ScriptException::TYPE)
void Update (double dt)
unsigned int RegisterUpdateHandler (std::string funcName)
 Alias for RegisterUpdateHandlerByName.
unsigned int RegisterUpdateHandlerByName (std::string funcName)
 Finds the function ID by name and registers it via RegisterUpdateHandlerByID.
unsigned int RegisterUpdateHandlerByID (unsigned int funcID)
 Registers a function for a one-time call next update event.
std::string OSGetFolder (const ::DIRS::TYPE &)
 Pulls the requested path from the operating sytem interface.

Detailed Description

Definition at line 60 of file ScriptModule.h.


Member Function Documentation

std::string ScriptModule::OSGetFolder ( const ::DIRS::TYPE type)

Pulls the requested path from the operating sytem interface.

Definition at line 502 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterMessageHandler ( std::string  funcName,
event_handler_key_type  eventID 
)

Alias for RegisterMessageHandlerByName.

Definition at line 304 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterMessageHandlerByDecl ( std::string  funcDeclaration,
event_handler_key_type  eventID 
)

Finds the function ID by the function's declaration and registers it via RegisterMessageHandlerByID.

Definition at line 315 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterMessageHandlerByID ( unsigned int  funcID,
event_handler_key_type  eventID 
)

Registers the given function ID to the given event ID.

Definition at line 321 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterMessageHandlerByName ( std::string  funcName,
event_handler_key_type  eventID 
)

Finds the function ID by name and registers it via RegisterMessageHandlerByID.

Definition at line 309 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterUpdateHandler ( std::string  funcName)

Alias for RegisterUpdateHandlerByName.

Definition at line 459 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterUpdateHandlerByID ( unsigned int  funcID)

Registers a function for a one-time call next update event.

Definition at line 470 of file ScriptModule.cpp.

unsigned int ScriptModule::RegisterUpdateHandlerByName ( std::string  funcName)

Finds the function ID by name and registers it via RegisterUpdateHandlerByID.

Definition at line 464 of file ScriptModule.cpp.

unsigned int ScriptModule::UnregisterMessageHandler ( std::string  funcName,
event_handler_key_type  eventID 
)

Alias for UnregisterMessageHandlerByName.

Definition at line 356 of file ScriptModule.cpp.

unsigned int ScriptModule::UnregisterMessageHandlerByDecl ( std::string  funcDeclaration,
event_handler_key_type  eventID 
)

Finds the function ID by the function's declaration and unregisters it via UnregisterMessageHandlerByID.

Definition at line 367 of file ScriptModule.cpp.

unsigned int ScriptModule::UnregisterMessageHandlerByID ( unsigned int  funcID,
event_handler_key_type  eventID 
)

Unregisters the given function ID from the given event ID.

Definition at line 373 of file ScriptModule.cpp.

unsigned int ScriptModule::UnregisterMessageHandlerByName ( std::string  funcName,
event_handler_key_type  eventID 
)

Finds the function ID by name and unregisters it via UnregisterMessageHandlerByID.

Definition at line 361 of file ScriptModule.cpp.


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