15 #pragma warning( disable : 4661 )
34 #define RPR_TEMPLATE_LIST \
36 < class T_PortalObject \
37 , class T_PortalReflectedObject \
38 , class T_RprReflectedObject \
39 , class T_RprReflectedObjectList \
40 , class T_RprObjectStateRepository \
41 , class T_RprObjectPublisher>
43 #define RPR_TEMPLATE_FUNCTION \
44 T_PortalObject, T_PortalReflectedObject, \
45 T_RprReflectedObject, T_RprReflectedObjectList, \
46 T_RprObjectStateRepository, T_RprObjectPublisher
49 #define DtVrxCATCH_AND_WARN( exception ) \
52 DtWarn << this->name() << " Translator caught " << #exception \
53 << " when sending interaction." << std::endl; \
57 class DtReflectedObject;
58 class DtStateRepository;
60 namespace MAKVrExchange
63 class DtRequestTranslationDiagnosticMessage;
197 const T_PortalReflectedObject* refObj );
250 const T_PortalReflectedObject* refObj,
const DtString&
name );
288 const T_RprObjectStateRepository& sr );
290 const T_PortalObject& sr );
302 T_RprReflectedObject* refObj );
309 const DtVector& location );
340 const DtPortalObject& incoming,
const DtStateRepository& outgoing )
const;
344 const DtStateRepository& incoming,
const DtPortalObject& outgoing )
const;
353 const DtStateRepository& outgoing );
366 virtual T_PortalObject*
translate( T_PortalObject* destination,
367 const T_RprObjectStateRepository& source,
368 const T_RprReflectedObject& refObj ) = 0;
372 virtual T_RprObjectStateRepository*
translate(
373 T_RprObjectStateRepository* destination,
const T_PortalObject& source,
374 const T_PortalReflectedObject& refObj ) = 0;
428 template <
class PortalInterType,
class RprInterType>
488 virtual PortalInterType*
translate( PortalInterType* destination,
489 const RprInterType& source ) = 0;
493 virtual RprInterType*
translate( RprInterType* destination,
494 const PortalInterType& source ) = 0;
498 const DtInteraction& outgoing )
const;
523 #define _rprTranslator_INL_
524 #include <rprBroker/rprTranslator.inl>
525 #undef _rprTranslator_INL_