Emergency 20 Dokumentation  4.1.0
Public Member Functions | Friends | List of all members
em5::ObjectiveManager Class Reference

EMERGENCY 5 objective manager. More...

#include <ObjectiveManager.h>

Inheritance diagram for em5::ObjectiveManager:
Inheritance graph
Collaboration diagram for em5::ObjectiveManager:
Collaboration graph

Public Member Functions

 ObjectiveManager ()
 Default constructor. More...
virtual ~ObjectiveManager ()
 Destructor. More...
ObjectivegetObjectiveById (uint32 id) const
 Find an objective by its ID. More...
void registerObjective (Objective &objective)
void unregisterObjective (Objective &objective)
void serialize (qsf::BinarySerializer &serializer)


class ObjectiveList
class FreeplaySystem

Additional Inherited Members

- Protected Member Functions inherited from qsf::Manager
 Manager ()
 Default constructor. More...
virtual ~Manager ()
 Destructor. More...

Detailed Description

EMERGENCY 5 objective manager.

  • TODO(fw): Think about making a template of this, similar to qsf::ElementManager, but without taking over the ownership of the elements registered

Constructor & Destructor Documentation

em5::ObjectiveManager::ObjectiveManager ( )

Default constructor.

virtual em5::ObjectiveManager::~ObjectiveManager ( )


Member Function Documentation

Objective* em5::ObjectiveManager::getObjectiveById ( uint32  id) const

Find an objective by its ID.

The objective or a null pointer if it was not found; do not destroy the instance
void em5::ObjectiveManager::registerObjective ( Objective objective)
void em5::ObjectiveManager::serialize ( qsf::BinarySerializer serializer)
void em5::ObjectiveManager::unregisterObjective ( Objective objective)

Friends And Related Function Documentation

friend class FreeplaySystem
friend class ObjectiveList

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