dtABC::AutoTrigger Class Reference

The AutoTrigger is a Trigger that does not need to be enabled or fired. More...

#include <autotrigger.h>

Inheritance diagram for dtABC::AutoTrigger:

dtCore::DeltaDrawable dtCore::Base

List of all members.

Public Member Functions

 AutoTrigger (const std::string &name="AutoTrigger")
TriggerGetTrigger ()
 Non-const getter for the internal Trigger that this AutoTrigger holds.
const TriggerGetTrigger () const
 Const getter for the internal Trigger that this AutoTrigger holds.
void SetTimeDelay (float delay)
float GetTimeDelay () const
osg::Node * GetOSGNode ()
 Get the internal node.
const osg::Node * GetOSGNode () const

Protected Member Functions

virtual ~AutoTrigger ()


Detailed Description

The AutoTrigger is a Trigger that does not need to be enabled or fired.

Constructor & Destructor Documentation

dtABC::AutoTrigger::AutoTrigger ( const std::string &  name = "AutoTrigger"  ) 

virtual dtABC::AutoTrigger::~AutoTrigger (  )  [inline, protected, virtual]


Member Function Documentation

Trigger* dtABC::AutoTrigger::GetTrigger (  )  [inline]

Non-const getter for the internal Trigger that this AutoTrigger holds.

Use this to set the Action on the internal trigger.

Returns:
The non-const internal Trigger.

const Trigger* dtABC::AutoTrigger::GetTrigger (  )  const [inline]

Const getter for the internal Trigger that this AutoTrigger holds.

Use this to query the Action on the internal trigger.

Returns:
The const internal Trigger.

void dtABC::AutoTrigger::SetTimeDelay ( float  delay  )  [inline]

float dtABC::AutoTrigger::GetTimeDelay (  )  const [inline]

osg::Node* dtABC::AutoTrigger::GetOSGNode (  )  [inline, virtual]

Get the internal node.

Returns this object's OpenSceneGraph node.

Returns:
the OpenSceneGraph node

Implements dtCore::DeltaDrawable.

const osg::Node* dtABC::AutoTrigger::GetOSGNode (  )  const [inline, virtual]

Implements dtCore::DeltaDrawable.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008