SST/macro
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
docs
developer
tutorials
programming
factories
actor.h
Go to the documentation of this file.
1
#include <
sprockit/factories/factory.h
>
2
3
namespace
sstmac
{
4
namespace
tutorial {
5
6
class
actor
:
7
public
sprockit::factory_type
8
{
9
10
public
:
11
virtual
void
12
act
() = 0;
13
14
virtual
~actor
() {}
15
16
virtual
void
17
init_factory_params
(sprockit::sim_parameters* params);
18
19
virtual
actor
*
20
clone
()
const
= 0;
21
22
protected
:
23
std::string
biggest_fan_
;
24
};
25
26
DeclareFactory
(
actor
);
27
28
}
29
}
30
sstmac::tutorial::actor::init_factory_params
virtual void init_factory_params(sprockit::sim_parameters *params)
sprockit::factory_type
Definition:
factory.h:26
sstmac::tutorial::actor::biggest_fan_
std::string biggest_fan_
Definition:
actor.h:23
sstmac::tutorial::actor
Definition:
actor.h:6
sstmac::tutorial::actor::~actor
virtual ~actor()
Definition:
actor.h:14
sstmac::tutorial::DeclareFactory
DeclareFactory(actor)
sstmac::tutorial::actor::act
virtual void act()=0
sstmac::tutorial::actor::clone
virtual actor * clone() const =0
sstmac
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
Definition:
parallel_runtime.h:18
factory.h
Generated by
1.8.11