00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00025
00026 #ifndef SFTimePacket_H
00027 #define SFTimePacket_H
00028
00029 #include "H3DNetworkingUtils/Config.h"
00030 #include "H3DNetworkingUtils/TimePacket.h"
00031 #include <H3D/SField.h>
00032 #include <H3D/X3DTypes.h>
00033
00034 namespace H3D {
00035 template<>
00036 inline string H3D::SField< TimePacket >::classTypeName() { return "SFTimePacket"; }
00037 }
00038
00039 namespace H3DNetworkingUtils {
00040
00043 class H3D_NETWORKING_UTILS_DLL_SPEC SFTimePacket: public H3D::SField< TimePacket > {
00044 public:
00046 SFTimePacket() {}
00047
00049 SFTimePacket( const TimePacket &_value ): H3D::SField< TimePacket >( _value ){}
00050
00051 virtual H3D::X3DTypes::X3DType getX3DType() { return H3D::X3DTypes::SFTIME; }
00052 };
00053 }
00054
00055 #endif
00056