📄 notifier.h
字号:
// notifier.h,v 1.1 1999/02/10 03:44:47 bala Exp
// ============================================================================
//
// = LIBRARY
// TAO/example/Event_Comm
//
// = FILENAME
// notifier.h
//
// = DESCRIPTION
// This class implements notifier driver for the Publish/Subscribe example
//
// = AUTHOR
//
// ============================================================================
class Notifier : public ACE_Event_Handler
{
// = TITLE
// Notifier driver for the TAO Publish/Subscribe example.
//
// = DESCRIPTION
// The driver class for the <Event_Comm::Notifier> object.
public:
// = Initialization and termination methods.
Notifier (int argc, char *argv[]);
// Constructor.
~Notifier (void);
// Destructor.
void run (void);
// Execute the notifier.
private:
virtual int handle_signal (int signum,
siginfo_t *,
ucontext_t *);
// Handle signals that shut us down.
Notifier_Server ns_;
// The notifier server.
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -