00001 #ifndef OMK_POSTUREDATATYPE_H 00002 #define OMK_POSTUREDATATYPE_H 00003 00004 //----------------------------------------------------------------------------- 00005 #include "OMKAddOn.h" 00006 #include "HBTDataTypes.h" 00007 #include "OMKSimpleTypeT.inl" 00008 #include "OMKAttribute.h" 00009 00011 00012 00013 00014 extern OMKADDON_API std::ostream& operator << ( std::ostream& out, const HBT::PostureData& p ); 00015 00018 extern OMKADDON_API std::istream& operator >> ( std::istream& in, HBT::PostureData& p ) ; 00019 00022 extern OMKADDON_API OMK::OutgoingSynchronisationMessage& operator << 00023 ( OMK::OutgoingSynchronisationMessage& out, const HBT::PostureData& p ) ; 00024 00027 extern OMKADDON_API OMK::IncomingSynchronisationMessage& operator >> 00028 ( OMK::IncomingSynchronisationMessage& in, HBT::PostureData& p ) ; 00030 //============================================================================= 00032 00033 00034 00035 extern OMKADDON_API std::ostream& operator << ( std::ostream& out, const HBT::InitialisationSequence& p ); 00036 00039 extern OMKADDON_API std::istream& operator >> ( std::istream& in, HBT::InitialisationSequence& p ) ; 00040 00043 extern OMKADDON_API OMK::OutgoingSynchronisationMessage& operator << 00044 ( OMK::OutgoingSynchronisationMessage& out, const HBT::InitialisationSequence& p ) ; 00045 00048 extern OMKADDON_API OMK::IncomingSynchronisationMessage& operator >> 00049 ( OMK::IncomingSynchronisationMessage& in, HBT::InitialisationSequence& p ) ; 00051 //============================================================================= 00052 namespace HBT 00053 { 00054 00055 extern OMKADDON_API bool operator == ( const HBT::PostureData& a, const HBT::PostureData& b ) ; 00056 extern bool operator == ( const HBT::InitialisationSequence& a, const HBT::InitialisationSequence& b ) ; 00057 } // namespace HBT 00058 00059 namespace OMK 00060 { 00061 namespace EventId 00062 { 00064 00065 00066 00067 extern OMKADDON_API EventIdentifier INITIALISATION_SEQUENCE ; 00069 } // namespace EventId 00070 namespace Type 00071 { 00072 00073 //----------------------------------------------------------------------------- 00074 // Type def for easy use 00075 DECLARE_TYPE_EVENT( HBT::PostureData, PostureData ) ; 00076 00077 //----------------------------------------------------------------------------- 00078 // Specific implemenattion 00079 template<> inline OMK::Type::PolatorNT* PostureDataType::createPolator() { return new OMK::Type::Polator< PostureDataType >() ; } 00080 00081 //----------------------------------------------------------------------------- 00082 // Declaration for instensiation 00083 template class OMKADDON_API SimpleTypeT< HBT::PostureData > ; 00084 00085 00086 //----------------------------------------------------------------------------- 00087 // Type def for easy use 00088 DECLARE_TYPE_EVENT( HBT::InitialisationSequence, InitialisationSequence ) ; 00089 00090 //----------------------------------------------------------------------------- 00091 // Specific implemenattion 00092 template<> inline OMK::Type::PolatorNT* InitialisationSequenceType::createPolator() { return new OMK::Type::Polator< InitialisationSequenceType >() ; } 00093 00094 //----------------------------------------------------------------------------- 00095 // Declaration for instensiation 00096 template class OMKADDON_API SimpleTypeT< HBT::InitialisationSequence > ; 00097 00098 } // namespace Type 00099 } // namespace OMK 00100 #endif // defined OMK_POSTUREDATATYPE_H 00101 00102
Documentation generated on Mon Jun 9 11:45:57 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |