📄 orb_task.h
字号:
/**
* @file ORB_Task.h
*
* ORB_Task.h,v 1.2 2002/03/04 16:56:37 coryan Exp
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
#ifndef TAO_PERF_RTEC_ORB_TASK_H
#define TAO_PERF_RTEC_ORB_TASK_H
#include "rtec_perf_export.h"
#include "tao/ORB.h"
#include "ace/Task.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
/**
* @class ORB_Task
*
* @brief Implement a simple ACE_Task to send the events
*
*/
class TAO_RTEC_Perf_Export ORB_Task : public ACE_Task_Base
{
public:
/// Constructor
ORB_Task (CORBA::ORB_ptr orb);
/// Run the event loop
int svc (void);
/// Smart-pointer operator
CORBA::ORB_ptr operator-> (void) const;
private:
CORBA::ORB_var orb_;
};
#if defined(__ACE_INLINE__)
#include "ORB_Task.inl"
#endif /* __ACE_INLINE__ */
#endif /* TAO_PERF_RTEC_ORB_TASK_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -