Tinman  1.0
carfactory.h
Go to the documentation of this file.
1 #ifndef CARFACTORY_H
2 #define CARFACTORY_H
3 #include "instrumentatedCarI.h"
4 
5 class CarFactory {
7  Ice::ObjectAdapterPtr adapter_;
8 
9 public:
10  typedef std::shared_ptr<CarFactory> shared;
11 
12  CarFactory();
13  CarFactory(Ice::ObjectAdapterPtr adapter);
14  virtual ~CarFactory();
15 
16  Car::shared create(std::string nick);
17 };
18 
19 #endif
std::shared_ptr< CarFactory > shared
Definition: carfactory.h:10
Definition: carfactory.h:5
Ice::ObjectAdapterPtr adapter_
Definition: carfactory.h:7
bool instrumentated_
Definition: carfactory.h:6
std::shared_ptr< Car > shared
Definition: car.h:44
virtual ~CarFactory()
Definition: carfactory.cpp:14
Car::shared create(std::string nick)
Definition: carfactory.cpp:17
CarFactory()
Definition: carfactory.cpp:5