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;
63 class DtRequestTranslationDiagnosticMessage;
193 const T_PortalReflectedObject* refObj );
246 const T_PortalReflectedObject* refObj,
const DtString&
name );
284 const T_RprObjectStateRepository& sr );
286 const T_PortalObject& sr );
298 T_RprReflectedObject* refObj );
305 const DtVector& location );
336 const DtPortalObject& incoming,
const DtStateRepository& outgoing )
const;
340 const DtStateRepository& incoming,
const DtPortalObject& outgoing )
const;
344 const DtStateRepository& outgoing );
357 virtual T_PortalObject*
translate( T_PortalObject* destination,
358 const T_RprObjectStateRepository& source,
359 const T_RprReflectedObject& refObj ) = 0;
363 virtual T_RprObjectStateRepository*
translate(
364 T_RprObjectStateRepository* destination,
const T_PortalObject& source,
365 const T_PortalReflectedObject& refObj ) = 0;
419 template <
class PortalInterType,
class RprInterType>
479 virtual PortalInterType*
translate( PortalInterType* destination,
480 const RprInterType& source ) = 0;
484 virtual RprInterType*
translate( RprInterType* destination,
485 const PortalInterType& source ) = 0;
489 const DtInteraction& outgoing )
const;
514 #define rprTrans_INL_
515 #include "rprTrans.inl"