Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

NavigationInfo Class Reference

NavigationInfo node instances. More...

Inheritance diagram for NavigationInfo:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

 NavigationInfo (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~NavigationInfo () throw ()
 Destructor.

virtual NavigationInfo * toNavigationInfo () const
const float * getAvatarSize ()
bool getHeadlightOn ()
float getSpeed ()
float getVisibilityLimit ()

Private Methods

virtual void initializeImpl (double timestamp) throw ()
 Initialize.

void processSet_avatarSize (const FieldValue &mffloat, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_avatarSize eventIn handler.

void processSet_bind (const FieldValue &sfbool, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_bind eventIn handler.

void processSet_headlight (const FieldValue &sfbool, double timestamp) throw (std::bad_cast)
 set_headlight eventIn handler.

void processSet_speed (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_speed eventIn handler.

void processSet_type (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_type eventIn handler.

void processSet_visibilityLimit (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_visibilityLimit eventIn handler.


Private Attributes

MFFloat avatarSize
SFBool headlight
SFFloat speed
MFString type
SFFloat visibilityLimit
SFBool bound

Friends

class NavigationInfoClass

Detailed Description

NavigationInfo node instances.


Constructor & Destructor Documentation

NavigationInfo const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~NavigationInfo   throw () [virtual]
 

Destructor.


Member Function Documentation

void initializeImpl double    timestamp throw () [private, virtual]
 

Initialize.

Parameters:
timestamp the current time.

Reimplemented from Node.

void processSet_avatarSize const FieldValue   mffloat,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_avatarSize eventIn handler.

Parameters:
mffloat an MFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if mffloat is not an MFFloat.
std::bad_alloc if memory allocation fails.

void processSet_bind const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_bind eventIn handler.

Parameters:
sfbool an SFBool value.
timestamp the current time.
Exceptions:
std::bad_cast if sfbool is not an SFBool.
std::bad_alloc if memory allocation fails.

void processSet_headlight const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast) [private]
 

set_headlight eventIn handler.

Parameters:
sfbool an SFBool value.
timestamp the current time.
Exceptions:
std::bad_cast if sfbool is not an SFBool.

void processSet_speed const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_speed eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.

void processSet_type const FieldValue   mfstring,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_type eventIn handler.

Parameters:
mfstring an MFString value.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

void processSet_visibilityLimit const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_visibilityLimit eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat.