![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Collaboration diagram for DtNetworkMapNode:Public Member Functions | |
| DtNetworkMapNode () | |
| default Constructor | |
| DtNetworkMapNode (int fedId, const MAKRti::DtString &federationName, const MAKRti::DtString &processName, const MAKRti::DtString &federateType, const MAKRti::DtString &federateName, float radius) | |
| Constructor for Federate. | |
| DtNetworkMapNode (int compId, const MAKRti::DtString &forwarderName, int port, float radius) | |
| Constructor for Forwarder. | |
| DtNetworkMapNode (int compId, const MAKRti::DtString &execName, float radius) | |
| Constructor for rtiexec or central lightweight. | |
| virtual | ~DtNetworkMapNode () |
| Destructor. | |
| void | setTextureId (int id) |
| Sets the texture ID. | |
| int | getTextureId () |
| gets the textureId | |
| void | setRadius (float radius) |
| sets the radius | |
| float | getRadius () |
| returns the radius | |
| int | getFederateId () |
| Returns the federate id. | |
| void | update (float delta) |
| Update function - does the animating. | |
| void | setDestination (const _vec2 &dest) |
| Sets the destination. | |
| bool | isMoving () const |
| Returns true if the node is currently moving. | |
| const _vec2 & | getPosition () const |
| Gets the position. | |
| void | setPosition (const _vec2 &pos) |
| Sets the position. | |
| void | resetTextureId () |
| No warning / error texture. | |
| void | showWarning () |
| Shows warning texture. | |
| void | showError () |
| Show Error texture. | |
| void | showDisconnect () |
| bool | isDisconnected () |
| void | showNotJoined () |
| bool | isNotJoined () |
| void | resetTouched () |
| rest whether we've been touched or not | |
| void | clearTouched () |
| clear touched flag | |
| bool | isTouched () |
| Have we been touched? | |
| void | setIsCentralForwarder () |
| Sets this node to be the forwarder. | |
| bool | IsCentralForwarder () |
| Gets whether this node is the forwarder. | |
| void | setIsPeerForwarder () |
| Sets this node to be a peer forwarder. | |
| bool | IsPeerForwarder () |
| Gets whether this node is a peer forwarder. | |
| void | setIsExec () |
| Sets this node to be the exec. | |
| bool | IsExec () |
| gets whether this node is the exec | |
| void | setIsLightweightCenter () |
| Sets this node to be the center node for lightweight connections. | |
| bool | IsLightweightCenter () |
| Gets whether this node is the forwarder. | |
| bool | shouldBeDelete () |
| gets whether this node should be deleted | |
| void | startShutdown () |
| Starts the shutdown/deletion process. | |
| MAKRti::DtString & | getFederationName () |
| Get the federation name. | |
| MAKRti::DtString & | getProcessName () |
| MAKRti::DtString & | getFederateType () |
| MAKRti::DtString & | getFederateName () |
| int | getPort () |
| MAKRti::DtString | getHostPort () |
Protected Attributes | |
| int | textureId |
| unsigned int | federateId |
| bool | isExec |
| bool | isCentralForwarder |
| bool | isPeerForwarder |
| bool | isLightWeightCenter |
| bool | wasTouched |
| bool | deleteMe |
| bool | startDelete |
| float | radius |
| float | speed |
| float | elapsedTime |
| float | elapsedDeleteTime |
| _vec2 | position |
| _vec2 | acceleration |
| _vec2 | destination |
| MAKRti::DtString | myFederationName |
| MAKRti::DtString | myProcessName |
| MAKRti::DtString | myFederateType |
| MAKRti::DtString | myFederateName |
| int | myPort |
| DtNetworkMapNode::DtNetworkMapNode | ( | ) |
default Constructor
| DtNetworkMapNode::DtNetworkMapNode | ( | int | fedId, |
| const MAKRti::DtString & | federationName, | ||
| const MAKRti::DtString & | processName, | ||
| const MAKRti::DtString & | federateType, | ||
| const MAKRti::DtString & | federateName, | ||
| float | radius | ||
| ) |
Constructor for Federate.
| DtNetworkMapNode::DtNetworkMapNode | ( | int | compId, |
| const MAKRti::DtString & | forwarderName, | ||
| int | port, | ||
| float | radius | ||
| ) |
Constructor for Forwarder.
| DtNetworkMapNode::DtNetworkMapNode | ( | int | compId, |
| const MAKRti::DtString & | execName, | ||
| float | radius | ||
| ) |
Constructor for rtiexec or central lightweight.
|
inlinevirtual |
Destructor.
|
inline |
clear touched flag
References wasTouched.
|
inline |
Returns the federate id.
References federateId.
|
inline |
References myFederateName.
|
inline |
References myFederateType.
|
inline |
Get the federation name.
References myFederationName.
|
inline |
References myPort, and myProcessName.
|
inline |
References myPort.
|
inline |
References myProcessName.
|
inline |
returns the radius
References radius.
|
inline |
gets the textureId
References textureId.
|
inline |
Gets whether this node is the forwarder.
References isCentralForwarder.
|
inline |
References DtDisconnectedTexture, and textureId.
|
inline |
gets whether this node is the exec
References isExec.
|
inline |
Gets whether this node is the forwarder.
References isLightWeightCenter.
|
inline |
Returns true if the node is currently moving.
References destination, position, RTI_NODE_DEST_RANGE, _vec2::x, and _vec2::y.
|
inline |
References DtNotJoinedTexture, and textureId.
|
inline |
Gets whether this node is a peer forwarder.
References isPeerForwarder.
|
inline |
Have we been touched?
References wasTouched.
|
inline |
No warning / error texture.
References textureId.
|
inline |
rest whether we've been touched or not
References wasTouched.
|
inline |
Sets the destination.
References destination, _vec2::x, and _vec2::y.
|
inline |
Sets this node to be the forwarder.
References isCentralForwarder, isExec, isLightWeightCenter, and isPeerForwarder.
|
inline |
Sets this node to be the exec.
References isCentralForwarder, isExec, isLightWeightCenter, and isPeerForwarder.
|
inline |
Sets this node to be the center node for lightweight connections.
References isCentralForwarder, isExec, isLightWeightCenter, and isPeerForwarder.
|
inline |
Sets this node to be a peer forwarder.
References isCentralForwarder, isExec, isLightWeightCenter, and isPeerForwarder.
|
inline |
|
inline |
sets the radius
References radius.
|
inline |
Sets the texture ID.
References textureId.
|
inline |
gets whether this node should be deleted
References deleteMe.
|
inline |
References DtDisconnectedTexture, and textureId.
|
inline |
Show Error texture.
References DtErrorTexture, and textureId.
|
inline |
References DtNotJoinedTexture, and textureId.
|
inline |
Shows warning texture.
References DtWarningTexture, and textureId.
|
inline |
Starts the shutdown/deletion process.
References startDelete.
| void DtNetworkMapNode::update | ( | float | delta | ) |
Update function - does the animating.
|
protected |
|
protected |
Referenced by shouldBeDelete().
|
protected |
Referenced by isMoving(), and setDestination().
|
protected |
|
protected |
|
protected |
Referenced by getFederateId().
|
protected |
Referenced by IsCentralForwarder(), setIsCentralForwarder(), setIsExec(), setIsLightweightCenter(), and setIsPeerForwarder().
|
protected |
Referenced by IsExec(), setIsCentralForwarder(), setIsExec(), setIsLightweightCenter(), and setIsPeerForwarder().
|
protected |
Referenced by IsLightweightCenter(), setIsCentralForwarder(), setIsExec(), setIsLightweightCenter(), and setIsPeerForwarder().
|
protected |
Referenced by IsPeerForwarder(), setIsCentralForwarder(), setIsExec(), setIsLightweightCenter(), and setIsPeerForwarder().
|
protected |
Referenced by getFederateName().
|
protected |
Referenced by getFederateType().
|
protected |
Referenced by getFederationName().
|
protected |
Referenced by getHostPort(), and getPort().
|
protected |
Referenced by getHostPort(), and getProcessName().
|
protected |
Referenced by getPosition(), isMoving(), and setPosition().
|
protected |
Referenced by getRadius(), and setRadius().
|
protected |
|
protected |
Referenced by startShutdown().
|
protected |
Referenced by getTextureId(), isDisconnected(), isNotJoined(), resetTextureId(), setTextureId(), showDisconnect(), showError(), showNotJoined(), and showWarning().
|
protected |
Referenced by clearTouched(), isTouched(), and resetTouched().