ActiveOac.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package MemoryX::Core
17 * @author ALexey Kozlov ( kozlov at kit dot edu), Kai Welke (welke at kit got edu)
18 * @date 2012
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
26 
28 #include <MemoryX/interface/core/EntityBase.h>
29 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
30 //#include <MemoryX/libraries/motionmodels/AbstractMotionModel.h>
31 
32 
33 namespace memoryx
34 {
35 
36  class ActiveOac;
38 
39  class ActiveOac: public ActiveOacBase, public Entity
40  {
41  friend class ActiveOacObjectFactory;
42  public:
43 
44  ActiveOac(const std::string& id = "");
45 
46 
47 
48  OacExecState getState(
49  const ::Ice::Current& = Ice::emptyCurrent) const override;
50  void setState(
51  OacExecState state,
52  const ::Ice::Current& = Ice::emptyCurrent) override;
53 
54  Ice::ObjectPtr ice_clone() const override;
55  ActiveOacPtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
56 
57  NameList getArgumentInstanceIds(const Ice::Current& c = Ice::emptyCurrent) const override;
58  void setArgumentInstanceIds(const NameList&, const Ice::Current& c = Ice::emptyCurrent) override;
59  EntityRefBasePtr getOacRef(const Ice::Current& c = Ice::emptyCurrent) const override;
60  void setOacRef(const EntityRefBasePtr& oacRef, const Ice::Current& c = Ice::emptyCurrent) override;
61  std::string getOacName(const Ice::Current& c = Ice::emptyCurrent) const override;
62 
63  void setStartTime(const IceUtil::Time& time);
65  };
66 }
67 
memoryx::ActiveOac::getStartTime
IceUtil::Time getStartTime() const
Definition: ActiveOac.cpp:110
memoryx::ActiveOac::getState
OacExecState getState(const ::Ice::Current &=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:62
memoryx::ActiveOac::setOacRef
void setOacRef(const EntityRefBasePtr &oacRef, const Ice::Current &c=Ice::emptyCurrent) override
Definition: ActiveOac.cpp:89
memoryx::ActiveOac::ActiveOac
ActiveOac(const std::string &id="")
Definition: ActiveOac.cpp:36
memoryx::ActiveOac::clone
ActiveOacPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition: ActiveOac.cpp:77
memoryx::ActiveOac::setStartTime
void setStartTime(const IceUtil::Time &time)
Definition: ActiveOac.cpp:105
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
memoryx::ActiveOac::ActiveOacObjectFactory
friend class ActiveOacObjectFactory
Definition: ActiveOac.h:41
memoryx::ActiveOac::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: ActiveOac.cpp:72
memoryx::ActiveOac::setArgumentInstanceIds
void setArgumentInstanceIds(const NameList &, const Ice::Current &c=Ice::emptyCurrent) override
Definition: ActiveOac.cpp:54
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::ActiveOac::getOacName
std::string getOacName(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:94
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
memoryx::ActiveOac::getArgumentInstanceIds
NameList getArgumentInstanceIds(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:47
Entity.h
memoryx::ActiveOac::setState
void setState(OacExecState state, const ::Ice::Current &=Ice::emptyCurrent) override
Definition: ActiveOac.cpp:67
armarx::aron::type::ObjectPtr
std::shared_ptr< Object > ObjectPtr
Definition: Object.h:36
memoryx::ActiveOac::getOacRef
EntityRefBasePtr getOacRef(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:84
memoryx::Entity
Definition: Entity.h:246
Variant.h
memoryx::ActiveOac
Definition: ActiveOac.h:39