OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Private Attributes | List of all members
InfoRepo_Shutdown Class Reference

#include <DCPSInfoRepoServ.h>

Inheritance diagram for InfoRepo_Shutdown:
Inheritance graph
[legend]
Collaboration diagram for InfoRepo_Shutdown:
Collaboration graph
[legend]

Public Member Functions

 InfoRepo_Shutdown (InfoRepo &ir)
 
void operator() (int which_signal)
 

Private Attributes

InfoRepoir_
 

Detailed Description

Definition at line 86 of file DCPSInfoRepoServ.h.

Constructor & Destructor Documentation

◆ InfoRepo_Shutdown()

InfoRepo_Shutdown::InfoRepo_Shutdown ( InfoRepo ir)

Definition at line 500 of file DCPSInfoRepoServ.cpp.

501 : ir_(ir)
502 {
503 }

Member Function Documentation

◆ operator()()

void InfoRepo_Shutdown::operator() ( int  which_signal)

Definition at line 506 of file DCPSInfoRepoServ.cpp.

References ir_, InfoRepo::set_shutdown_signal(), and InfoRepo::shutdown().

507 {
508  ir_.set_shutdown_signal(which_signal);
509  ir_.shutdown();
510 }
void set_shutdown_signal(int which_signal)
virtual void shutdown()
ShutdownInterface used to schedule a shutdown.

Member Data Documentation

◆ ir_

InfoRepo& InfoRepo_Shutdown::ir_
private

Definition at line 93 of file DCPSInfoRepoServ.h.

Referenced by operator()().


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