Ankush's Garage
A collection of stuff made by Ankush Roy
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Common::ProjectManager Class Reference

#include <BaseProject.h>

Static Public Member Functions

static std::vector< std::unique_ptr< BaseProject > > getProjects ()
 returns the projects vector
 
static void registerAllProjects ()
 registers all the projects to the vector, should be called before calling getProjects()
 
static void registerProject (std::unique_ptr< BaseProject > project)
 register a project to the vector, should be called before calling getProjects()
 

Static Private Attributes

static std::vector< std::unique_ptr< BaseProject > > projects {}
 A vector that holds the projects.
 

Member Function Documentation

◆ getProjects()

std::vector< std::unique_ptr< BaseProject > > Common::ProjectManager::getProjects ( )
static

returns the projects vector

◆ registerAllProjects()

void Common::ProjectManager::registerAllProjects ( )
static

registers all the projects to the vector, should be called before calling getProjects()

◆ registerProject()

void Common::ProjectManager::registerProject ( std::unique_ptr< BaseProject > project)
static

register a project to the vector, should be called before calling getProjects()

Member Data Documentation

◆ projects

std::vector< std::unique_ptr< BaseProject > > Common::ProjectManager::projects {}
staticprivate

A vector that holds the projects.


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