VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pObject.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/pMessage.h>
13 #include <vlutil/vlString.h>
14 
15 namespace MAKVrExchange
16 {
17 
24  {
25  public:
26 
28  DtPortalObject( DtPortalMessageKind kind, const DtString& name );
29 
31  DtPortalObject( const DtPortalObject& other );
32 
34  virtual ~DtPortalObject();
35 
37  virtual DtPortalObject& operator = ( const DtPortalObject& other );
38 
41 
42  virtual bool operator == ( const DtPortalObject& other ) const;
43  virtual bool operator != ( const DtPortalObject& other ) const;
44 
46 
49 
53  DtDEC_ATTRIBUTE( DtString, Name, name );
54 
57  DtDEC_ATTRIBUTE( DtString, Identifier, identifier );
58 
61  DtDEC_ATTRIBUTE( bool, FinalMessage, finalMessage );
62 
64  DtDEC_ATTRIBUTE( bool, Filtered, isFiltered );
65 
67  DtDEC_ATTRIBUTE( DtAttributeValuePairList, AttributeValuePairList,
68  attributeValuePairList );
69 
72  DtDEC_ATTRIBUTE( bool, IsUpdated, isUpdated );
73 
75 
77  public:
78 
79  virtual unsigned int netSize() const;
80  virtual void writeSelfToBuffer( void* buffer ) const ;
81  virtual void readSelfFromBuffer( const void* buffer );
82 
83  virtual std::ostream& printDataToStream( std::ostream& str ) const;
84 
85  };
86 
87 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)