blob: f0b22bb62e7e70c1966330b93bef6f03df991d2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
//
//! @file TargetFactory.h
//! @brief TargetFactory Specification
//!
//! This file contains the specification of a factory for a
//! instances of a family of classes derived from TargetBase.
//!
#ifndef __TARGET_FACTORY_H__
#define __TARGET_FACTORY_H__
#include <string>
#include "TargetBase.h"
namespace Target {
//!
//! @brief Target Construction Factory
//!
//! This method implements a factory for construction of instances
//! classes derived from TargetBase. Given the name of the class instance
//! and name of the instance, it returns an instance.
//!
//! @param [in] targetName is the name of the target to create.
//!
//! @return This method constructs a new instance of an TargetBase and
//! returns that to the caller.
//!
TargetBase *TargetFactory(
std::string targetName
);
}
#endif
|