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() More...
 
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) More...
 

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

Definition at line 42 of file ApplicationProcessFacet.h.

Constructor & Destructor Documentation

◆ ApplicationProcessFacet()

ApplicationProcessFacet ( ArmarXManager armarXManager)

Definition at line 29 of file ApplicationProcessFacet.cpp.

Member Function Documentation

◆ shutdown()

void shutdown ( const Ice::Current &  )
override

shutdown calls ArmarXManager::shutdown()

Definition at line 34 of file ApplicationProcessFacet.cpp.

◆ 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

Definition at line 40 of file ApplicationProcessFacet.cpp.


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