Application.h File Reference
#include "../ArmarXManager.h"
#include "../Component.h"
#include "../logging/Logging.h"
#include "../system/ArmarXDataPath.h"
#include "../system/ImportExport.h"
#include "../system/cmake/CMakePackageFinder.h"
#include "ApplicationOptions.h"
#include "ApplicationNetworkStats.h"
#include "ArmarXCore/core/ArmarXFwd.h"
#include "ArmarXCore/core/ManagedIceObjectRegistryInterface.h"
#include "ArmarXCore/core/application/properties/PropertyDefinitionContainer.h"
#include "ArmarXCore/core/exceptions/Exception.h"
#include "properties/PropertyUser.h"
#include <Ice/Application.h>
#include <Ice/BuiltinSequences.h>
#include <Ice/PropertiesF.h>
#include <IceUtil/Handle.h>
#include <string>
#include <vector>
#include <mutex>
+ Include dependency graph for Application.h:

Go to the source code of this file.

Classes

class  Application
 Baseclass for all ArmarX applications. More...
 
class  ApplicationPropertyDefinitions
 Application property definition container. More...
 
class  DummyApplication
 
class  SimpleSingleComponentApp< ComponentT, AppT >
 Used by runSimpleComponentApp<ComponentT, AppT>. This class can't be defined in function, since this causes problems with gcc and c++03. More...
 
class  MultipleComponentsApplication
 Do not use! Use armarx::runMultipleComponentsApp() More...
 

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::internal
 
 Ice
 
 std
 

Macros

#define stringify(s)   #s
 
#define xstr(s)   stringify(s)
 

Typedefs

using ApplicationNetworkStatsPtr = ::IceUtil::Handle< ApplicationNetworkStats >
 
using ApplicationPtr = IceUtil::Handle< Application >
 
using ManagedIceObjectRegistryInterfacePtr = IceUtil::Handle< ManagedIceObjectRegistryInterface >
 
using ThreadPoolPtr = std::shared_ptr< ThreadPool >
 

Functions

template<class ComponentType >
std::vector< ComponentPtr > createComponents (ComponentType comp)
 
template<class ComponentType , class... ComponentTypes>
std::vector< ComponentPtr > createComponents (ComponentType comp, ComponentTypes... components)
 
template<class... ComponentTypes>
std::vector< ComponentPtr > createComponentsUtil (ComponentTypes &&... components)
 
template<class... ComponentTypes>
std::tuple< armarx::ApplicationPtr, std::vector< ComponentPtr > > runMultipleComponentsApp (int argc, char *argv[], std::string appName, const std::string &configDomain="ArmarX")
 Convenience function to create an app with multiple components easily. More...
 
template<class ComponentT , class AppT = armarx::Application>
int runSimpleComponentApp (int argc, char *argv[], std::string appName, const std::string &configName="", const std::string &configDomain="ArmarX", bool enableLibLoading=false)
 Creates and runs an application (of AppT) for the given component (ComponentT). More...
 

Macro Definition Documentation

◆ stringify

#define stringify (   s)    #s

Definition at line 59 of file Application.h.

◆ xstr

#define xstr (   s)    stringify(s)

Definition at line 58 of file Application.h.