msvc_bridge.cpp
Go to the documentation of this file.
00001 /*
00002  * msvc_bridge.cpp
00003  *
00004  *  Created on: Apr 6, 2011
00005  *      Author: acmarkus
00006  */
00007 
00008 #include "msvc_bridge.h"
00009 
00010 namespace msvcbridge{
00011 
00012     ViconDataStreamSDK::CPP::Client client;
00013 
00014     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetVersion GetVersion() {
00015                 return client.GetVersion();
00016         }
00017 
00018     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_Connect Connect( const ViconDataStreamSDK::CPP::String & HostName ){
00019                 return client.Connect(HostName);
00020         }
00021 
00022     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_ConnectToMulticast ConnectToMulticast( const ViconDataStreamSDK::CPP::String & HostName, const ViconDataStreamSDK::CPP::String & MulticastIP ){
00023                 return client.ConnectToMulticast(HostName, MulticastIP);
00024         }
00025 
00026     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_Disconnect  Disconnect(){
00027                 return client.Disconnect();
00028         }
00029 
00030     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_IsConnected IsConnected(){
00031                 return client.IsConnected();
00032         }
00033 
00034     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_StartTransmittingMulticast StartTransmittingMulticast( const ViconDataStreamSDK::CPP::String & ServerIP,
00035                                                                           const ViconDataStreamSDK::CPP::String & MulticastIP ){
00036                 return client.StartTransmittingMulticast(ServerIP, MulticastIP);
00037         }
00038 
00039     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_StopTransmittingMulticast StopTransmittingMulticast(){
00040                 return client.StopTransmittingMulticast();
00041         }
00042 
00043     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_EnableSegmentData         EnableSegmentData(){
00044                 return client.EnableSegmentData();
00045         }
00046 
00047     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_EnableMarkerData          EnableMarkerData(){
00048                 return client.EnableMarkerData();
00049         }
00050 
00051     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_EnableUnlabeledMarkerData EnableUnlabeledMarkerData(){
00052                 return client.EnableUnlabeledMarkerData();
00053         }
00054 
00055     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_EnableDeviceData          EnableDeviceData(){
00056                 return client.EnableDeviceData();
00057         }
00058 
00059     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_DisableSegmentData         DisableSegmentData(){
00060                 return client.DisableSegmentData();
00061         }
00062 
00063     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_DisableMarkerData          DisableMarkerData(){
00064                 return client.DisableMarkerData();
00065         }
00066 
00067     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_DisableUnlabeledMarkerData DisableUnlabeledMarkerData(){
00068                 return client.DisableUnlabeledMarkerData();
00069         }
00070 
00071     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_DisableDeviceData          DisableDeviceData(){
00072                 return client.DisableDeviceData();
00073         }
00074 
00075     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_IsSegmentDataEnabled         IsSegmentDataEnabled(){
00076                 return client.IsSegmentDataEnabled();
00077         }
00078 
00079     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_IsMarkerDataEnabled          IsMarkerDataEnabled(){
00080                 return client.IsMarkerDataEnabled();
00081         }
00082 
00083     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_IsUnlabeledMarkerDataEnabled IsUnlabeledMarkerDataEnabled(){
00084                 return client.IsUnlabeledMarkerDataEnabled();
00085         }
00086 
00087     FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_IsDeviceDataEnabled          IsDeviceDataEnabled(){
00088                 return client.IsDeviceDataEnabled();
00089         }
00090 
00091     FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_SetStreamMode SetStreamMode( const ViconDataStreamSDK::CPP::StreamMode::Enum Mode ){
00092                 return client.SetStreamMode(Mode);
00093         }
00094 
00095         ViconDataStreamSDK::CPP::Output_SetAxisMapping SetAxisMapping( const ViconDataStreamSDK::CPP::Direction::Enum XAxis, const ViconDataStreamSDK::CPP::Direction::Enum YAxis, const ViconDataStreamSDK::CPP::Direction::Enum ZAxis ){
00096                 return client.SetAxisMapping(XAxis, YAxis, ZAxis);
00097         }
00098 
00099         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetAxisMapping GetAxisMapping(){
00100                 return client.GetAxisMapping();
00101         }
00102 
00103         FUN_DECLSPEC ViconDataStreamSDK::CPP::Output_GetFrame GetFrame(){
00104                 return client.GetFrame();
00105         }
00106 
00107         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetFrameNumber GetFrameNumber(){
00108                 return client.GetFrameNumber();
00109         }
00110 
00111         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetTimecode GetTimecode(){
00112                 return client.GetTimecode();
00113         }
00114 
00115         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetLatencySampleCount GetLatencySampleCount(){
00116                 return client.GetLatencySampleCount();
00117         }
00118 
00119         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetLatencySampleName  GetLatencySampleName( const unsigned int LatencySampleIndex ){
00120                 return client.GetLatencySampleName(LatencySampleIndex);
00121         }
00122 
00123         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetLatencySampleValue GetLatencySampleValue( const ViconDataStreamSDK::CPP::String & LatencySampleName ) {
00124                 return client.GetLatencySampleValue(LatencySampleName);
00125         }
00126 
00127         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetLatencyTotal       GetLatencyTotal() {
00128                 return client.GetLatencyTotal();
00129         }
00130 
00131         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSubjectCount GetSubjectCount() {
00132                 return client.GetSubjectCount();
00133         }
00134 
00135         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSubjectName GetSubjectName( const unsigned int SubjectIndex ) {
00136                 return client.GetSubjectName(SubjectIndex);
00137         }
00138 
00139         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSubjectRootSegmentName GetSubjectRootSegmentName( const ViconDataStreamSDK::CPP::String & SubjectName ){
00140                 return client.GetSubjectRootSegmentName(SubjectName);
00141         }
00142 
00143         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentCount GetSegmentCount( const ViconDataStreamSDK::CPP::String  & SubjectName ) {
00144                 return client.GetSegmentCount(SubjectName);
00145         }
00146 
00147         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentName GetSegmentName( const ViconDataStreamSDK::CPP::String       & SubjectName,
00148                                                   const unsigned int   SegmentIndex ) {
00149                 return client.GetSegmentName(SubjectName, SegmentIndex);
00150         }
00151 
00152         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentChildCount GetSegmentChildCount( const ViconDataStreamSDK::CPP::String & SubjectName,
00153                                                               const ViconDataStreamSDK::CPP::String & SegmentName ) {
00154                 return client.GetSegmentChildCount(SubjectName, SegmentName);
00155         }
00156 
00157         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentChildName GetSegmentChildName( const ViconDataStreamSDK::CPP::String       & SubjectName,
00158                                                             const ViconDataStreamSDK::CPP::String       & SegmentName,
00159                                                             const unsigned int   SegmentIndex ) {
00160                 return client.GetSegmentChildName(SubjectName, SegmentName, SegmentIndex);
00161         }
00162 
00163         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentParentName GetSegmentParentName( const ViconDataStreamSDK::CPP::String & SubjectName,
00164                                                               const ViconDataStreamSDK::CPP::String & SegmentName ){
00165                 return client.GetSegmentParentName(SubjectName, SegmentName);
00166         }
00167 
00168         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentStaticTranslation GetSegmentStaticTranslation( const ViconDataStreamSDK::CPP::String & SubjectName,
00169                                                                             const ViconDataStreamSDK::CPP::String & SegmentName ){
00170                 return client.GetSegmentStaticTranslation(SubjectName, SegmentName);
00171         }
00172 
00173         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentStaticRotationHelical GetSegmentStaticRotationHelical( const ViconDataStreamSDK::CPP::String & SubjectName,
00174                                                                                     const ViconDataStreamSDK::CPP::String & SegmentName ){
00175                 return client.GetSegmentStaticRotationHelical(SubjectName, SegmentName);
00176         }
00177 
00178         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentStaticRotationMatrix GetSegmentStaticRotationMatrix( const ViconDataStreamSDK::CPP::String & SubjectName,
00179                                                                                   const ViconDataStreamSDK::CPP::String & SegmentName ){
00180                 return client.GetSegmentStaticRotationMatrix(SubjectName, SegmentName);
00181         }
00182 
00183         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentStaticRotationQuaternion GetSegmentStaticRotationQuaternion( const ViconDataStreamSDK::CPP::String & SubjectName,
00184                                                                                           const ViconDataStreamSDK::CPP::String & SegmentName ) {
00185                 return client.GetSegmentStaticRotationQuaternion(SubjectName, SegmentName);
00186         }
00187 
00188         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentStaticRotationEulerXYZ GetSegmentStaticRotationEulerXYZ( const ViconDataStreamSDK::CPP::String & SubjectName,
00189                                                                                       const ViconDataStreamSDK::CPP::String & SegmentName ){
00190                 return client.GetSegmentStaticRotationEulerXYZ(SubjectName, SegmentName);
00191         }
00192 
00193         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentGlobalTranslation GetSegmentGlobalTranslation( const ViconDataStreamSDK::CPP::String & SubjectName,
00194                                                                             const ViconDataStreamSDK::CPP::String & SegmentName ){
00195                 return client.GetSegmentGlobalTranslation(SubjectName, SegmentName);
00196         }
00197 
00198         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentGlobalRotationHelical GetSegmentGlobalRotationHelical( const ViconDataStreamSDK::CPP::String & SubjectName,
00199                                                                                     const ViconDataStreamSDK::CPP::String & SegmentName ){
00200                 return client.GetSegmentGlobalRotationHelical(SubjectName, SegmentName);
00201         }
00202 
00203         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentGlobalRotationMatrix GetSegmentGlobalRotationMatrix( const ViconDataStreamSDK::CPP::String & SubjectName,
00204                                                                                   const ViconDataStreamSDK::CPP::String & SegmentName ){
00205                 return client.GetSegmentGlobalRotationMatrix(SubjectName, SegmentName);
00206         }
00207 
00208         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentGlobalRotationQuaternion GetSegmentGlobalRotationQuaternion( const ViconDataStreamSDK::CPP::String & SubjectName,
00209                                                                                           const ViconDataStreamSDK::CPP::String & SegmentName ){
00210                 return client.GetSegmentGlobalRotationQuaternion(SubjectName, SegmentName);
00211         }
00212 
00213         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentGlobalRotationEulerXYZ GetSegmentGlobalRotationEulerXYZ( const ViconDataStreamSDK::CPP::String & SubjectName,
00214                                                                                       const ViconDataStreamSDK::CPP::String & SegmentName ){
00215                 return client.GetSegmentGlobalRotationEulerXYZ(SubjectName, SegmentName);
00216         }
00217 
00218         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentLocalTranslation GetSegmentLocalTranslation( const ViconDataStreamSDK::CPP::String & SubjectName,
00219                                                                             const ViconDataStreamSDK::CPP::String & SegmentName ){
00220                 return client.GetSegmentLocalTranslation(SubjectName, SegmentName);
00221         }
00222 
00223         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentLocalRotationHelical GetSegmentLocalRotationHelical( const ViconDataStreamSDK::CPP::String & SubjectName,
00224                                                                                     const ViconDataStreamSDK::CPP::String & SegmentName ){
00225                 return client.GetSegmentLocalRotationHelical(SubjectName, SegmentName);
00226         }
00227 
00228         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentLocalRotationMatrix GetSegmentLocalRotationMatrix( const ViconDataStreamSDK::CPP::String & SubjectName,
00229                                                                                   const ViconDataStreamSDK::CPP::String & SegmentName ){
00230                 return client.GetSegmentLocalRotationMatrix(SubjectName, SegmentName);
00231         }
00232 
00233         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentLocalRotationQuaternion GetSegmentLocalRotationQuaternion( const ViconDataStreamSDK::CPP::String & SubjectName,
00234                                                                                           const ViconDataStreamSDK::CPP::String & SegmentName ){
00235                 return client.GetSegmentLocalRotationQuaternion(SubjectName, SegmentName);
00236         }
00237 
00238         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetSegmentLocalRotationEulerXYZ GetSegmentLocalRotationEulerXYZ( const ViconDataStreamSDK::CPP::String & SubjectName,
00239                                                                                       const ViconDataStreamSDK::CPP::String & SegmentName ){
00240                 return client.GetSegmentLocalRotationEulerXYZ(SubjectName, SegmentName);
00241         }
00242 
00243         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetMarkerCount GetMarkerCount( const ViconDataStreamSDK::CPP::String  & SubjectName ) {
00244                 return client.GetMarkerCount(SubjectName);
00245         }
00246 
00247         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetMarkerName GetMarkerName( const ViconDataStreamSDK::CPP::String & SubjectName,
00248                                                 const unsigned int  MarkerIndex ) {
00249                 return client.GetMarkerName(SubjectName, MarkerIndex);
00250         }
00251 
00252         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetMarkerParentName GetMarkerParentName( const ViconDataStreamSDK::CPP::String & SubjectName,
00253                                                             const ViconDataStreamSDK::CPP::String & MarkerName ){
00254                 return client.GetMarkerParentName(SubjectName, MarkerName);
00255         }
00256 
00257         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetMarkerGlobalTranslation GetMarkerGlobalTranslation( const ViconDataStreamSDK::CPP::String & SubjectName,
00258                                                                           const ViconDataStreamSDK::CPP::String & MarkerName ){
00259                 return client.GetMarkerGlobalTranslation(SubjectName, MarkerName);
00260         }
00261 
00262 
00263         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetUnlabeledMarkerCount GetUnlabeledMarkerCount(){
00264                 return client.GetUnlabeledMarkerCount();
00265         }
00266 
00267         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetUnlabeledMarkerGlobalTranslation GetUnlabeledMarkerGlobalTranslation( const unsigned int MarkerIndex ){
00268                 return client.GetUnlabeledMarkerGlobalTranslation(MarkerIndex);
00269         }
00270 
00271         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetDeviceCount GetDeviceCount(){
00272                 return client.GetDeviceCount();
00273         }
00274         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetDeviceName  GetDeviceName( const unsigned int DeviceIndex ){
00275                 return client.GetDeviceName(DeviceIndex);
00276         }
00277 
00278         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetDeviceOutputCount GetDeviceOutputCount( const ViconDataStreamSDK::CPP::String  & DeviceName ){
00279                 return client.GetDeviceOutputCount(DeviceName);
00280         }
00281 
00282         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetDeviceOutputName GetDeviceOutputName( const ViconDataStreamSDK::CPP::String  & DeviceName,
00283                                                             const unsigned int   DeviceOutputIndex ){
00284                 return client.GetDeviceOutputName(DeviceName, DeviceOutputIndex);
00285         }
00286 
00287         FUN_DECLSPEC const ViconDataStreamSDK::CPP::Output_GetDeviceOutputValue GetDeviceOutputValue( const ViconDataStreamSDK::CPP::String & DeviceName,
00288                                                               const ViconDataStreamSDK::CPP::String & DeviceOutputName ) {
00289                 return client.GetDeviceOutputValue(DeviceName, DeviceOutputName);
00290         }
00291 
00292 
00293 
00294 };


vicon_bridge
Author(s): Markus Achtelik
autogenerated on Sun Oct 5 2014 23:47:38