version 3.3

VRS::SceneSpy Class Reference

#include <vrs/sg/scenespy.h>

Inheritance diagram for VRS::SceneSpy:

VRS::PolyAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Types

enum  Task { PRIMARY, SECONDARY }
typedef SceneSpy THIS_CLASS
 very bad hack to annul VRS' visitor-mechanism.
typedef PolyAttribute BASE_CLASS
typedef THIS_CLASS VRS_ThisClass
typedef BASE_CLASS VRS_BaseClass

Public Member Functions

 SceneSpy (SO< Callback > task1=0, SO< Callback > task2=0, bool stealth=false)
void briefing (SO< Callback > primTask, SO< Callback > secTask)
 the spy can perform two tasks, depending on the situation (primTask on push, secTask on pop)
SO< Callbacktorture (Task t) const
 'persuade' the spy to reveal his mission
void infiltrate (SO< SceneThing > location)
 the spy can infiltrate a special location (scenegraph) and will monitor evaluation of all SceneThings
void withdraw (SO< SceneThing > location)
bool stealth () const
 the spy can use his stealth-abilities to not be found
void setStealth (bool s)
virtual bool isEqual (const ::VRS::SharedObj *other) const
virtual const ::VRS::ClassInfoclassInfoVRS () const
 For internal use in VRS.
virtual VRS::VisitorBase::VisitMode accept (VRS::VisitorBase &visitor)
 VRS_SERIALIZABLE (SceneSpy)

Static Public Member Functions

static const ::VRS::ClassInfoClassInfoVRS ()
static const ::VRS::IDClassNameVRS ()


Member Typedef Documentation

very bad hack to annul VRS' visitor-mechanism.

hey, this is a spy! he's got the license to kill visitors to keep his cover. VRS_TYPEINFO(SceneSpy, PolyAttribute); - without default accept-method {

Reimplemented from VRS::SharedObj.


Member Enumeration Documentation

Enumerator:
PRIMARY 
SECONDARY 


Constructor & Destructor Documentation

VRS::SceneSpy::SceneSpy ( SO< Callback task1 = 0,
SO< Callback task2 = 0,
bool  stealth = false 
)


Member Function Documentation

void VRS::SceneSpy::briefing ( SO< Callback primTask,
SO< Callback secTask 
)

the spy can perform two tasks, depending on the situation (primTask on push, secTask on pop)

SO<Callback> VRS::SceneSpy::torture ( Task  t  )  const

'persuade' the spy to reveal his mission

void VRS::SceneSpy::infiltrate ( SO< SceneThing location  ) 

the spy can infiltrate a special location (scenegraph) and will monitor evaluation of all SceneThings

void VRS::SceneSpy::withdraw ( SO< SceneThing location  ) 

bool VRS::SceneSpy::stealth (  )  const [inline]

the spy can use his stealth-abilities to not be found

void VRS::SceneSpy::setStealth ( bool  s  )  [inline]

virtual bool VRS::SceneSpy::isEqual ( const ::VRS::SharedObj other  )  const [inline, virtual]

static const ::VRS::ClassInfo* VRS::SceneSpy::ClassInfoVRS (  )  [inline, static]

Reimplemented from VRS::SharedObj.

virtual const ::VRS::ClassInfo* VRS::SceneSpy::classInfoVRS (  )  const [inline, virtual]

For internal use in VRS.

Reimplemented from VRS::SharedObj.

static const ::VRS::ID& VRS::SceneSpy::ClassNameVRS (  )  [inline, static]

Reimplemented from VRS::SharedObj.

virtual VRS::VisitorBase::VisitMode VRS::SceneSpy::accept ( VRS::VisitorBase visitor  )  [virtual]

Implements VRS::Visitable.

VRS::SceneSpy::VRS_SERIALIZABLE ( SceneSpy   ) 


The documentation for this class was generated from the following file:

Generated on Sat May 25 06:00:33 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact