5
Last change
on this file since fb987e8 was
100f517,
checked in by Chris Johns <chrisj@…>, on 05/09/14 at 11:50:37
|
covoar: Merger the covoar source from rtems-testing.git.
Use waf to build covoar.
|
-
Property mode set to
100644
|
File size:
860 bytes
|
Line | |
---|
1 | // |
---|
2 | // |
---|
3 | |
---|
4 | //! @file TargetFactory.h |
---|
5 | //! @brief TargetFactory Specification |
---|
6 | //! |
---|
7 | //! This file contains the specification of a factory for a |
---|
8 | //! instances of a family of classes derived from TargetBase. |
---|
9 | //! |
---|
10 | |
---|
11 | #ifndef __TARGET_FACTORY_H__ |
---|
12 | #define __TARGET_FACTORY_H__ |
---|
13 | |
---|
14 | #include <string> |
---|
15 | #include "TargetBase.h" |
---|
16 | |
---|
17 | namespace Target { |
---|
18 | |
---|
19 | //! |
---|
20 | //! @brief Target Construction Factory |
---|
21 | //! |
---|
22 | //! This method implements a factory for construction of instances |
---|
23 | //! classes derived from TargetBase. Given the name of the class instance |
---|
24 | //! and name of the instance, it returns an instance. |
---|
25 | //! |
---|
26 | //! @param [in] targetName is the name of the target to create. |
---|
27 | //! |
---|
28 | //! @return This method constructs a new instance of an TargetBase and |
---|
29 | //! returns that to the caller. |
---|
30 | //! |
---|
31 | TargetBase *TargetFactory( |
---|
32 | std::string targetName |
---|
33 | ); |
---|
34 | |
---|
35 | } |
---|
36 | #endif |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.