VR-Vantage
Loading...
Searching...
No Matches
DtInitializer.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2011 MAK Technologies, Inc.
3** All rights reserved.
4*******************************************************************************/
5
9
10#pragma once
11
12#include <vrvCore/vrvCore.h>
13#include <vector>
14#ifdef __linux__
15#include <cstddef>
16#endif
17
18#ifdef __linux__
19#include <cstddef>
20#endif
21
22namespace makVrv
23{
27 {
28 public:
29 typedef void (*InitializeFunction)();
31
35
38
41
44
46 size_t numberOfDependecies() const;
47
50
52 void initialize();
53
54 protected:
55 typedef std::vector<DependencyFunction> InitStateList;
58 };
59
60}
std::vector< DependencyFunction > InitStateList
Definition DtInitializer.h:55
DtInitializer(const DtInitializer &orig)
CopyCTOR.
InitializeFunction myFunctionToCall
Definition DtInitializer.h:57
size_t numberOfDependecies() const
Get number of dependencies.
bool dependenciesInitialized() const
Check to see if all dependencies have been initialized.
DtInitializer(InitializeFunction functionToCall)
CTOR.
void initialize()
Call the initialize function.
void addDependency(DependencyFunction func)
Add a dependency function to be checked.
InitStateList myDependencies
Definition DtInitializer.h:56
void(* InitializeFunction)()
Definition DtInitializer.h:29
bool(* DependencyFunction)(const DtInitializer *)
Definition DtInitializer.h:30
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
Contains DLL export macros.
#define DT_DLL_VRVCORE
Definition vrvCore.h:20