⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logicaltimefactory.h

📁 pRTI 自带的include文件包
💻 H
字号:
/***********************************************************************
  IEEE 1516.1 High Level Architecture Interface Specification C++ API
  File: RTI/LogicalTimeFactory.h
***********************************************************************/

#ifndef RTI_LogicalTimeFactory_h
#define RTI_LogicalTimeFactory_h

namespace RTI
{
  class LogicalTime;
  class EncodedLogicalTime;
}

namespace std
{
  template <class T> class auto_ptr;
}

#include <RTI/SpecificConfig.h>
#include <RTI/exception.h>

// The classes associated with logical time allow a federation to provide
// their own representation for logical time and logical time interval. The
// federation is responsible to inherit from the abstract classes declared
// below. The encoded time classes are used to hold the arbitrary bit
// representation of the logical time and logical time intervals.

namespace RTI
{
  class RTI_EXPORT LogicalTimeFactory
  {
  public:
    virtual
    ~LogicalTimeFactory()
      throw ();
    
    virtual
    std::auto_ptr< LogicalTime >
    makeInitial()
      throw (InternalError) = 0;
    
    virtual
    std::auto_ptr< LogicalTime >
    decode(EncodedLogicalTime const & encodedLogicalTime)
      throw (InternalError,
             CouldNotDecode) = 0;
  };
}

#endif // RTI_LogicalTimeFactory_h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -