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
34namespace memoryx
35{
36
37 class ActiveOac;
39
40 class ActiveOac : public ActiveOacBase, public Entity
41 {
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);
63 IceUtil::Time getStartTime() const;
64 };
65} // namespace memoryx
constexpr T c
void setState(OacExecState state, const ::Ice::Current &=Ice::emptyCurrent) override
Definition ActiveOac.cpp:69
OacExecState getState(const ::Ice::Current &=Ice::emptyCurrent) const override
Definition ActiveOac.cpp:63
void setOacRef(const EntityRefBasePtr &oacRef, const Ice::Current &c=Ice::emptyCurrent) override
Definition ActiveOac.cpp:95
NameList getArgumentInstanceIds(const Ice::Current &c=Ice::emptyCurrent) const override
Definition ActiveOac.cpp:47
IceUtil::Time getStartTime() const
ActiveOacPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Definition ActiveOac.cpp:81
void setStartTime(const IceUtil::Time &time)
std::string getOacName(const Ice::Current &c=Ice::emptyCurrent) const override
EntityRefBasePtr getOacRef(const Ice::Current &c=Ice::emptyCurrent) const override
Definition ActiveOac.cpp:89
Ice::ObjectPtr ice_clone() const override
Definition ActiveOac.cpp:75
void setArgumentInstanceIds(const NameList &, const Ice::Current &c=Ice::emptyCurrent) override
Definition ActiveOac.cpp:55
friend class ActiveOacObjectFactory
Definition ActiveOac.h:42
ActiveOac(const std::string &id="")
Definition ActiveOac.cpp:36
Entity(const Entity &source)
Definition Entity.cpp:34
VirtualRobot headers.
IceInternal::Handle< ActiveOac > ActiveOacPtr
Definition ActiveOac.h:38