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 
31 //#include <MemoryX/libraries/motionmodels/AbstractMotionModel.h>
32 
33 
34 namespace memoryx
35 {
36 
37  class ActiveOac;
39 
40  class ActiveOac : public ActiveOacBase, public Entity
41  {
42  friend class ActiveOacObjectFactory;
43 
44  public:
45  ActiveOac(const std::string& id = "");
46 
47 
48  OacExecState getState(const ::Ice::Current& = Ice::emptyCurrent) const override;
49  void setState(OacExecState state, const ::Ice::Current& = Ice::emptyCurrent) override;
50 
51  Ice::ObjectPtr ice_clone() const override;
52  ActiveOacPtr clone(const Ice::Current& c = Ice::emptyCurrent) const;
53 
54  NameList getArgumentInstanceIds(const Ice::Current& c = Ice::emptyCurrent) const override;
55  void setArgumentInstanceIds(const NameList&,
56  const Ice::Current& c = Ice::emptyCurrent) override;
57  EntityRefBasePtr getOacRef(const Ice::Current& c = Ice::emptyCurrent) const override;
58  void setOacRef(const EntityRefBasePtr& oacRef,
59  const Ice::Current& c = Ice::emptyCurrent) override;
60  std::string getOacName(const Ice::Current& c = Ice::emptyCurrent) const override;
61 
62  void setStartTime(const IceUtil::Time& time);
64  };
65 } // namespace memoryx
memoryx::ActiveOac::getStartTime
IceUtil::Time getStartTime() const
Definition: ActiveOac.cpp:118
memoryx::ActiveOac::getState
OacExecState getState(const ::Ice::Current &=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:63
memoryx::ActiveOac::setOacRef
void setOacRef(const EntityRefBasePtr &oacRef, const Ice::Current &c=Ice::emptyCurrent) override
Definition: ActiveOac.cpp:95
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:81
memoryx::ActiveOac::setStartTime
void setStartTime(const IceUtil::Time &time)
Definition: ActiveOac.cpp:112
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:46
memoryx::ActiveOac::ActiveOacObjectFactory
friend class ActiveOacObjectFactory
Definition: ActiveOac.h:42
memoryx::ActiveOac::ice_clone
Ice::ObjectPtr ice_clone() const override
Definition: ActiveOac.cpp:75
memoryx::ActiveOac::setArgumentInstanceIds
void setArgumentInstanceIds(const NameList &, const Ice::Current &c=Ice::emptyCurrent) override
Definition: ActiveOac.cpp:55
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::ActiveOac::getOacName
std::string getOacName(const Ice::Current &c=Ice::emptyCurrent) const override
Definition: ActiveOac.cpp:101
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:69
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:89
memoryx::Entity
Definition: Entity.h:245
Variant.h
memoryx::ActiveOac
Definition: ActiveOac.h:40