ObserverObjectFactories.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * Copyright (C) 2011-2017, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5  *
6  * ArmarX is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * ArmarX is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * @package ArmarX
19  * @author Mirko Waechter( mirko.waechter at kit dot edu)
20  * @date 2017
21  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22  * GNU General Public License
23  */
24 
42 #include <ArmarXCore/interface/observers/VariantBase.h>
43 #include <ArmarXCore/interface/observers/DataFieldIdentifierBase.h>
44 #include <ArmarXCore/interface/observers/Event.h>
45 #include <ArmarXCore/interface/observers/TermImplBase.h>
46 #include <ArmarXCore/interface/observers/ConditionCheckBase.h>
47 #include <ArmarXCore/interface/observers/ParameterBase.h>
48 
55 {
56  ObjectFactoryMap map;
57 
58  add<VariantBase, Variant>(map);
59  add<TimedVariantBase, TimedVariant>(map);
60  add<VariantParameterBase, VariantParameter>(map);
61  add<VariantListParameterBase, VariantListParameter>(map);
62  add<DataFieldIdentifierBase, DataFieldIdentifier>(map);
63  add<ChannelRefBase, ChannelRef>(map);
64  add<DatafieldRefBase, DatafieldRef>(map);
65  add<TimestampBase, TimestampVariant>(map);
66  add<VariantContainerBase, ContainerDummy>(map);
67  add<SingleVariantBase, SingleVariant>(map);
68  add<SingleTypeVariantListBase, SingleTypeVariantList>(map);
69  add<StringValueMapBase, StringValueMap>(map);
70  add<ContainerType, ContainerTypeI>(map);
71 
72 
73  // condition
74  add<LiteralImplBase, LiteralImpl>(map);
75  add<OperationAndBase, OperationAnd>(map);
76  add<OperationOrBase, OperationOr>(map);
77  add<OperationNotBase, OperationNot>(map);
78  add<ConditionRootBase, ConditionRoot>(map);
79 
80  add<ConditionCheckBase, ConditionCheck>(map);
81  add<EventBase, Event>(map);
82  add<MedianFilterBase, filters::MedianFilter>(map);
83  add<AverageFilterBase, filters::AverageFilter>(map);
84  add<GaussianFilterBase, filters::GaussianFilter>(map);
85  add<ButterworthFilterBase, filters::ButterworthFilter>(map);
86  add<DerivationFilterBase, filters::DerivationFilter>(map);
87 
88  return map;
89 }
DerivationFilter.h
LiteralImpl.h
SingleTypeVariantList.h
GaussianFilter.h
VariantContainer.h
armarx::ObjectFactories::ObserverObjectFactories::getFactories
ObjectFactoryMap getFactories() override
Definition: ObserverObjectFactories.cpp:54
ButterworthFilter.h
DataFieldIdentifier.h
armarx::ObjectFactoryMap
std::map< std::string, Ice::ValueFactoryPtr > ObjectFactoryMap
Definition: FactoryCollectionBase.h:61
DatafieldRef.h
ObserverObjectFactories.h
StringValueMap.h
Event.h
TimestampVariant.h
AverageFilter.h
VariantListParameter.h
ConditionRoot.h
TimedVariant.h
VariantParameter.h
Operations.h
MedianFilter.h
ConditionCheck.h
Variant.h
ChannelRef.h