📄 logicaltimeintervalfactory.h
字号:
/***********************************************************************
IEEE 1516.1 High Level Architecture Interface Specification C++ API
File: RTI/LogicalTimeIntervalFactory.h
***********************************************************************/
#ifndef RTI_LogicalTimeIntervalFactory_h
#define RTI_LogicalTimeIntervalFactory_h
namespace RTI
{
class EncodedLogicalTimeInterval;
class LogicalTimeInterval;
class CouldNotDecode;
}
namespace std
{
template <class T> class auto_ptr;
}
#include <RTI/SpecificConfig.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 LogicalTimeIntervalFactory
{
public:
virtual
~LogicalTimeIntervalFactory()
throw ();
virtual
std::auto_ptr< LogicalTimeInterval >
makeZero() = 0;
virtual
std::auto_ptr< LogicalTimeInterval >
epsilon() = 0;
virtual
std::auto_ptr< LogicalTimeInterval >
decode(EncodedLogicalTimeInterval const & encodedLogicalTimeInterval)
throw (CouldNotDecode) = 0;
};
}
#endif // RTI_LogicalTimeIntervalFactory_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -