NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Namespaces | Defines
PhysicsModuleMessages.cpp File Reference

Provides the class declaration for the physics engine. More...

#include "PhysicsModule.h"
#include "../sharedbase/MessageRouter.h"
#include "../sharedbase/Envelope.h"
#include "../sharedbase/Entity.h"
#include "../sharedbase/EntityList.h"
#include "Messages.h"
#include "Types.h"
#include "component/InterfaceCollider.h"
Include dependency graph for PhysicsModuleMessages.cpp:

Go to the source code of this file.

Namespaces

namespace  Physics
 Namespace to contain every item that is related to the physics engine.

Defines

#define SUBSCRIBE_BASIC(msgid, handler)   {std::shared_ptr<Subscriber> handler_sptr(new Subscriber(boost::bind((&handler), this, _1))); this->msgrouter->Subscribe((msgid), handler_sptr);}
#define UNSUBSCRIBE_BASIC(msgid, handler)   {std::shared_ptr<Subscriber> handler_sptr(new Subscriber(boost::bind((&handler), this, _1))); this->msgrouter->Unsubscribe((msgid), handler_sptr);}
#define SUBSCRIBE_DIRECTED(msgid, handler)   {std::shared_ptr<DirectedSubscriber> handler_sptr(new DirectedSubscriber(boost::bind((&handler), this, _1))); this->msgrouter->SubscribeDirected((msgid), handler_sptr);}
#define UNSUBSCRIBE_DIRECTED(msgid, handler)   {std::shared_ptr<DirectedSubscriber> handler_sptr(new DirectedSubscriber(boost::bind((&handler), this, _1))); this->msgrouter->UnsubscribeDirected((msgid), handler_sptr);}

Detailed Description

Provides the class declaration for the physics engine.

Author:
Ricky Curtice
Date:
20120127

Definition in file PhysicsModuleMessages.cpp.