Fission FSN
Loading...
Searching...
No Matches
fsCCheckBoxGroupComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* Created: 1/4/2014 12:23
4*
5* File: fsCCheckBoxGroupComponent.h
6*
7* Author: Mick Waites
8*
9* Purpose: Handler for a group of checkboxes.
10*
11*********************************************************************/
12
13#ifndef fsCCheckBoxGroupComponenthdr
14#define fsCCheckBoxGroupComponenthdr
15
16#include <vector>
17
19
20#include "../../fsIComponent.h"
21
23
24
26{
27 friend class fsCComponentFactory;
28
29public:
30
31 void clearAll();
32
34 void checkBoxSelectedHandle(const fsCCheckBoxComponent* pSelectedCheckBox);
35
36 static const fsCUniqueId mTypeId;
37
38protected:
39
40 static fsIComponent* create(fsCEntity* pParent);
41
44
45private:
46
47 std::vector<fsCCheckBoxComponent*> mCheckBoxes;
48};
49
50#endif
Definition fsCCheckBoxComponent.h:27
friend class fsCComponentFactory
Definition fsCCheckBoxGroupComponent.h:27
void clearAll()
Definition fsCCheckBoxGroupComponent.cpp:7
static const fsCUniqueId mTypeId
Definition fsCCheckBoxGroupComponent.h:36
virtual ~fsCCheckBoxGroupComponent()
Definition fsCCheckBoxGroupComponent.cpp:49
static fsIComponent * create(fsCEntity *pParent)
Definition fsCCheckBoxGroupComponent.cpp:39
fsCCheckBoxGroupComponent(fsCEntity *pParent)
Definition fsCCheckBoxGroupComponent.cpp:44
void checkBoxRegister(fsCCheckBoxComponent *pCheckBox)
Definition fsCCheckBoxGroupComponent.cpp:15
void checkBoxSelectedHandle(const fsCCheckBoxComponent *pSelectedCheckBox)
Definition fsCCheckBoxGroupComponent.cpp:28
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86