Commit 01213960 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Finishing receiver methods in net interface

parent 38f64266
......@@ -751,52 +751,72 @@ public:
inline VAQuat GetSoundReceiverHeadAboveTorsoOrientation( const int iID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundReceiverHeadAboveTorsoOrientation( iID );
};
inline void SetSoundReceiverHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundReceiverHeadAboveTorsoOrientation( iID, qOrient );
};
inline int GetSoundReceiverGeometryMesh( const int iID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundReceiverGeometryMesh( iID );
};
inline void SetSoundReceiverGeometryMesh( const int iSoundReceiverID, const int iGeometryMeshID )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundReceiverGeometryMesh( iSoundReceiverID , iGeometryMeshID);
};
inline void GetSoundReceiverRealWorldPose( const int iID, VAVec3& v3Pos, VAQuat& qOrient ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientGetSoundReceiverRealWorldPose( iID, v3Pos, qOrient );
};
inline void SetSoundReceiverRealWorldPose( const int iID, const VAVec3& v3Pos, const VAQuat& qOrient )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundReceiverRealWorldPose( iID, v3Pos, qOrient );
};
inline VAQuat GetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
return m_pProtocol->ClientGetSoundReceiverRealWorldHeadAboveTorsoOrientation( iID );
};
inline void SetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundReceiverRealWorldHeadAboveTorsoOrientation( iID, qOrient );
};
inline void GetSoundReceiverRealWorldPositionOrientationVU( const int iID, VAVec3& v3Pos, VAVec3& v3View, VAVec3& v3Up ) const
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientGetSoundReceiverRealWorldPositionOrientationVU( iID, v3Pos, v3View, v3Up );
};
inline void SetSoundReceiverRealWorldPositionOrientationVU( const int iID, const VAVec3& v3Pos, const VAVec3& v3View, const VAVec3& v3Up )
{
VA_EXCEPT_NOT_IMPLEMENTED;
VA_REQUIRE_CONNECTED;
VA_MUTAL_EXCLUDE;
m_pProtocol->ClientSetSoundReceiverRealWorldPositionOrientationVU( iID, v3Pos, v3View, v3Up );
};
......
......@@ -52,6 +52,7 @@ CVANetNetworkProtocol::CVANetNetworkProtocol()
, m_pEventMessage( NULL )
{
}
CVANetNetworkProtocol::~CVANetNetworkProtocol()
{
if( m_pLastAnswerConnection )
......
......@@ -567,6 +567,32 @@ public:
void ClientSetSoundReceiverOrientationVU( const int iID, const VAVec3& v3View, const VAVec3& v3Up );
void ServerSetSoundReceiverOrientationVU();
VAQuat ClientGetSoundReceiverHeadAboveTorsoOrientation( const int iID );
void ServerGetSoundReceiverHeadAboveTorsoOrientation();
void ClientSetSoundReceiverHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient );
void ServerSetSoundReceiverHeadAboveTorsoOrientation();
int ClientGetSoundReceiverGeometryMesh( const int iID );
void ServerGetSoundReceiverGeometryMesh();
void ClientSetSoundReceiverGeometryMesh( const int iSoundReceiverID, const int iGeometryMeshID );
void ServerSetSoundReceiverGeometryMesh();
void ClientGetSoundReceiverRealWorldPose( const int iID, VAVec3& v3Pos, VAQuat& qOrient );
void ServerGetSoundReceiverRealWorldPose();
void ClientSetSoundReceiverRealWorldPose( const int iID, const VAVec3& v3Pos, const VAQuat& qOrient );
void ServerSetSoundReceiverRealWorldPose();
void ClientGetSoundReceiverRealWorldPositionOrientationVU( const int iID, VAVec3& v3Pos, VAVec3& v3View, VAVec3& v3Up );
void ServerGetSoundReceiverRealWorldPositionOrientationVU();
void ClientSetSoundReceiverRealWorldPositionOrientationVU( const int iID, const VAVec3& v3Pos, const VAVec3& v3View, const VAVec3& v3Up );
void ServerSetSoundReceiverRealWorldPositionOrientationVU();
VAQuat ClientGetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID );
void ServerGetSoundReceiverRealWorldHeadAboveTorsoOrientation();
void ClientSetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient );
void ServerSetSoundReceiverRealWorldHeadAboveTorsoOrientation();
std::string ClientCreateScene( const CVAStruct& oParams, const std::string& sName );
void ServerCreateScene();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment