• 大小: 28.42MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-13
  • 语言: 其他
  • 标签: OpenDDS  MFC  

资源简介

OpenDDS3.0和VS2005开发的一个demo,能够发送图形的位置、大小等信息

资源截图

代码片段和文件信息

// -*- C++ -*-
//
// $Id$

// ****  Code generated by the The ACE ORB (TAO) IDL Compiler v1.6a_p10 ****
// TAO and the TAO IDL Compiler have been developed by:
//       Center for Distributed object Computing
//       Washington University
//       St. Louis MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
//       Distributed object Computing Laboratory
//       University of California at Irvine
//       Irvine CA
//       USA
//       http://doc.ece.uci.edu/
// and
//       Institute for Software Integrated Systems
//       Vanderbilt University
//       Nashville TN
//       USA
//       http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html

// TAO_IDL - Generated from
// .\be\be_codegen.cpp:381


#include “GraphC.h“
#include “tao/CDR.h“

#if !defined (__ACE_INLINE__)
#include “GraphC.inl“
#endif /* !defined INLINE */

// TAO_IDL - Generated from
// .\be\be_visitor_arg_traits.cpp:73

TAO_BEGIN_VERSIONED_NAMESPACE_DECL


// Arg traits specializations.
namespace TAO
{
}

TAO_END_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from 
// d:\ace+tao-1.6a_with_latest_patches\ace_wrappers\tao\tao_idl\be\be_visitor_structure/structure_cs.cpp:65



// TAO_IDL - Generated from
// d:\ace+tao-1.6a_with_latest_patches\ace_wrappers\tao\tao_idl\be\be_visitor_enum/cdr_op_cs.cpp:51


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

::CORBA::Boolean operator<< (TAO_OutputCDR &strm Graph::GraphType _tao_enumerator)
{
  return strm << static_cast< ::CORBA::ULong> (_tao_enumerator);
}

::CORBA::Boolean operator>> (TAO_InputCDR &strm Graph::GraphType & _tao_enumerator)
{
  ::CORBA::ULong _tao_temp = 0;
  ::CORBA::Boolean const _tao_success = strm >> _tao_temp;
  
  if (_tao_success)
    {
      _tao_enumerator = static_cast (_tao_temp);
    }
  
  return _tao_success;
}

TAO_END_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// d:\ace+tao-1.6a_with_latest_patches\ace_wrappers\tao\tao_idl\be\be_visitor_structure/cdr_op_cs.cpp:61


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

::CORBA::Boolean operator<< (
    TAO_OutputCDR &strm
    const Graph::Chart &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.timestamp) &&
    (strm << _tao_aggregate.type) &&
    (strm << _tao_aggregate.size) &&
    (strm << _tao_aggregate.color) &&
    (strm << _tao_aggregate.cx) &&
    (strm << _tao_aggregate.cy);
}

::CORBA::Boolean operator>> (
    TAO_InputCDR &strm
    Graph::Chart &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.timestamp) &&
    (strm >> _tao_aggregate.type) &&
    (strm >> _tao_aggregate.size) &&
    (strm >> _tao_aggregate.color) &&
    (strm >> _tao_aggregate.cx) &&
    (strm >> _tao_aggregate.cy);
}

TAO_END_VERSIONED_NAMESPACE_DECL




 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        634  2011-08-19 09:45  DDS_Demo\bin\dds_tcp_conf.ini

     文件     716800  2011-12-21 15:10  DDS_Demo\bin\GraphCommond.dll

     文件      75606  2011-12-21 15:10  DDS_Demo\bin\GraphCommond.exp

     文件    2752896  2011-12-21 15:10  DDS_Demo\bin\GraphCommond.ilk

     文件     114084  2011-12-21 15:10  DDS_Demo\bin\GraphCommond.lib

     文件    6958080  2011-12-21 15:10  DDS_Demo\bin\GraphCommond.pdb

     文件        364  2012-03-23 10:54  DDS_Demo\bin\repo.ior

     文件     200704  2011-12-21 15:21  DDS_Demo\bin\ShapePublisher.exe

     文件    1698072  2011-12-21 15:21  DDS_Demo\bin\ShapePublisher.ilk

     文件    6425600  2011-12-21 15:21  DDS_Demo\bin\ShapePublisher.pdb

     文件     200704  2011-12-21 15:20  DDS_Demo\bin\ShapeSubscriber.exe

     文件    1741920  2011-12-21 15:20  DDS_Demo\bin\ShapeSubscriber.ilk

     文件    6450176  2011-12-21 15:20  DDS_Demo\bin\ShapeSubscriber.pdb

     文件        104  2009-09-23 11:06  DDS_Demo\bin\tcp.conf

     文件        114  2011-12-21 15:21  DDS_Demo\bin\运行.bat

     文件         32  2010-03-30 09:48  DDS_Demo\GraphCommon\1.bat

     文件        631  2011-12-21 15:08  DDS_Demo\GraphCommon\1.mpc

     文件      20130  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\BuildLog.htm

     文件      43647  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphC.obj

     文件        403  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphCommond.dll.embed.manifest

     文件        468  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphCommond.dll.embed.manifest.res

     文件        385  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphCommond.dll.intermediate.manifest

     文件      29825  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphS.obj

     文件     253240  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphTypeSupportC.obj

     文件    5397658  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphTypeSupportImpl.obj

     文件     195650  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\GraphTypeSupportS.obj

     文件         67  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\mt.dep

     文件    1575936  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\vc80.idb

     文件    2535424  2011-12-21 15:10  DDS_Demo\GraphCommon\Debug\GraphCommon\I386\vc80.pdb

     文件        359  2010-07-04 19:31  DDS_Demo\GraphCommon\Graph.idl

............此处省略159个文件信息

评论

共有 条评论