ApplicationProcessFacet Class Reference

The ApplicationProcessFacet class implements the Ice::Process facet to allow graceful shutdown of ArmarX applications when they are run via IceGrid. More...

#include <ArmarXCore/core/application/ApplicationProcessFacet.h>

+ Inheritance diagram for ApplicationProcessFacet:

Public Member Functions

 ApplicationProcessFacet (ArmarXManager &armarXManager)
 
void shutdown (const Ice::Current &) override
 shutdown calls ArmarXManager::shutdown()
 
void writeMessage (const std::string &msg, Ice::Int fd, const Ice::Current &) override
 writeMessage writes the string msg to std::out (fd = 1) or std::cerr (\fd = 2)
 

Detailed Description

The ApplicationProcessFacet class implements the Ice::Process facet to allow graceful shutdown of ArmarX applications when they are run via IceGrid.

Detailed instructions can be found here: https://doc.zeroc.com/display/Ice34/The+Process+Facet https://doc.zeroc.com/display/Ice34/IceGrid+and+the+Administrative+Facility#IceGridandtheAdministrativeFacility-DeactivatingaDeployedServer

Constructor & Destructor Documentation

◆ ApplicationProcessFacet()

Member Function Documentation

◆ shutdown()

void shutdown ( const Ice::Current & )
override

shutdown calls ArmarXManager::shutdown()

◆ writeMessage()

void writeMessage ( const std::string & msg,
Ice::Int fd,
const Ice::Current &  )
override

writeMessage writes the string msg to std::out (fd = 1) or std::cerr (\fd = 2)

Parameters
msg
fd

The documentation for this class was generated from the following files: