VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtChannelSpecificGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef DtChannelSpecificGroup_H_
12 #define DtChannelSpecificGroup_H_
13 
14 #include <vrvOsg/vrvOsg.h>
15 #include <vrvOsg/DtFastGroup.h>
16 #include <boost/unordered_set.hpp>
17 
18 namespace osg
19 {
20  class View;
21 }
22 
23 
24 namespace makVrv
25 {
26  class DtChannel;
27 
31  {
32  public:
35  DtChannelSpecificGroup(const DtChannelSpecificGroup& orig, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
36 
37  META_Node(vrvOsg, DtChannelSpecificGroup);
38 
40  virtual ~DtChannelSpecificGroup();
41 
43  virtual void addChannel(DtChannel* channel);
44 
46  virtual void removeChannel(DtChannel* channel);
47 
49  virtual int numChannels() const;
50 
52  virtual void traverse(osg::NodeVisitor& nv);
53 
59  virtual void addView( osg::View* viewToAdd );
60 
62  virtual void removeView( osg::View* viewToRemove );
63 
64  protected:
65  typedef boost::unordered_set<DtChannel*> ChannelSet;
66  typedef boost::unordered_set<osg::View*> ViewSet;
67 
70 
71  };
72 
73 }
74 
75 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)