1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _ISession2D_ObjectOwner_HeaderFile
17 #define _ISession2D_ObjectOwner_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_ISession2D_ObjectOwner_HeaderFile
23 #include <Handle_ISession2D_ObjectOwner.hxx>
26 #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile
27 #include <Handle_Graphic2d_GraphicObject.hxx>
29 #ifndef _TCollection_AsciiString_HeaderFile
30 #include <TCollection_AsciiString.hxx>
32 #ifndef _SelectMgr_EntityOwner_HeaderFile
33 #include <SelectMgr_EntityOwner.hxx>
35 #ifndef _Standard_Integer_HeaderFile
36 #include <Standard_Integer.hxx>
38 #ifndef _Handle_SelectMgr_SelectableObject_HeaderFile
39 #include <Handle_SelectMgr_SelectableObject.hxx>
41 #ifndef _Handle_PrsMgr_PresentationManager_HeaderFile
42 #include <Handle_PrsMgr_PresentationManager.hxx>
44 class Graphic2d_GraphicObject;
45 class SelectMgr_SelectableObject;
46 class PrsMgr_PresentationManager;
47 class TCollection_AsciiString;
50 class ISession2D_ObjectOwner : public SelectMgr_EntityOwner {
54 void* operator new(size_t,void* anAddress)
58 void* operator new(size_t size)
60 return Standard::Allocate(size);
62 void operator delete(void *anAddress)
64 if (anAddress) Standard::Free((Standard_Address&)anAddress);
68 Standard_EXPORT ISession2D_ObjectOwner(const Standard_Integer aPriority = 0);
69 Standard_EXPORT ISession2D_ObjectOwner(const Handle(SelectMgr_SelectableObject)& aSO,const Standard_Integer aPriority = 0);
70 Standard_EXPORT virtual void Hilight(const Handle(PrsMgr_PresentationManager)& aPM,const Standard_Integer aMode = 0) ;
71 Standard_EXPORT virtual void Unhilight(const Handle(PrsMgr_PresentationManager)& aPM,const Standard_Integer aMode = 0) ;
72 Standard_EXPORT void SetDumpMessage(const TCollection_AsciiString& aNewDumpMessage) ;
73 Standard_EXPORT TCollection_AsciiString DumpMessage() const;
74 Standard_EXPORT ~ISession2D_ObjectOwner();
81 Standard_EXPORT friend Handle_Standard_Type& ISession2D_ObjectOwner_Type_();
82 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
83 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
103 Handle_Graphic2d_GraphicObject myGo;
104 TCollection_AsciiString myDumpMessage;
110 #include <ISession2D_ObjectOwner.lxx>
114 // other Inline functions and methods (like "C++: function call" methods)