Loader.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <RobotAPI/interface/armem/server/LoadingMemoryInterface.h>
4
5
namespace
armarx::armem::client
6
{
7
8
/**
9
* @brief Load LTMs into WM
10
*/
11
class
Loader
12
{
13
14
public
:
15
/**
16
* @brief Construct a memory reader.
17
* @param memory The memory proxy.
18
*/
19
Loader
(
const
Loader
&) =
default
;
20
Loader
(server::LoadingMemoryInterfacePrx loadingMemory =
nullptr
) :
21
loadingPrx
(loadingMemory)
22
{
23
24
}
25
26
/**
27
* Loads all entries of potential multiple ltms into the wm (i.e. if a RedundantPersistenceStrategy is used with multiple strategies inside)
28
*/
29
void
loadLTMintoWM
(
bool
complete =
true
);
30
31
void
setLoadingMemory
(server::LoadingMemoryInterfacePrx configuringMemory);
32
33
inline
34
operator
bool()
const
35
{
36
return
bool(
loadingPrx
);
37
}
38
39
private
:
40
41
public
:
42
server::LoadingMemoryInterfacePrx
loadingPrx
;
43
};
44
45
}
// namespace armarx::armem::client
armarx::armem::client
This file is part of ArmarX.
Definition:
Configurator.cpp:5
armarx::armem::client::Loader
Load LTMs into WM.
Definition:
Loader.h:11
armarx::armem::client::Loader::loadLTMintoWM
void loadLTMintoWM(bool complete=true)
Loads all entries of potential multiple ltms into the wm (i.e.
Definition:
Loader.cpp:7
armarx::armem::client::Loader::setLoadingMemory
void setLoadingMemory(server::LoadingMemoryInterfacePrx configuringMemory)
armarx::armem::client::Loader::loadingPrx
server::LoadingMemoryInterfacePrx loadingPrx
Definition:
Loader.h:42
armarx::armem::client::Loader::Loader
Loader(server::LoadingMemoryInterfacePrx loadingMemory=nullptr)
Definition:
Loader.h:20
armarx::armem::client::Loader::Loader
Loader(const Loader &)=default
Construct a memory reader.
RobotAPI
libraries
armem
client
Loader.h
Generated by
1.8.17