#include <node_manager.h>
Inheritance diagram for node_manager:

Public Member Functions | |
| node_manager (void) | |
| void | JAUS_Message (void *pmsg) |
| Common JAUS component interface method. (huh ???). | |
| void | initialize (uint8 subsystem, uint8 nodeid) |
| Initialize the subsystem and node IDs. | |
Static Public Member Functions | |
| void | destination_node_class (Destination_Node_Class c) |
| Configure intranode/inter-node message. | |
| Destination_Node_Class | destination_node_class (void) |
| Returns Destination Node Class of Message. | |
| void | configure (CommunicationDevice *cd) |
| Configure node managers I/O subsystem. | |
| void | nodeid (uint8 id) |
| Sets the nodeid of for this node; should be done at boot. | |
| uint8 | nodeid (void) |
| Returns node ID of this node. | |
| uint8 | source_node () |
| Return node ID from where last message sent. | |
| uint8 | subsystem (void) |
| Returns node ID of this node. | |
| void | operate (bool b) |
| Allows filtering of JAUS messages. | |
| bool | operate (void) |
| Returns operating status of node manager. | |
| void | node_manager_class (void *pmsg) |
| Handles all manager class messages. | |
| uint8 | active_connections (void) |
| Returns number of active service connections. | |
| JAUS_MESSAGE | service_connection_list (DIRECTORY_OPCODE dcode, jaus_message &jmsg) |
| Returns next message to transmit based upon service connection priority etc. | |
| void | printsc (void) |
| Prints out the service connection table specified. | |
| uint8 | dest_node (void) |
| void | connect (bool) |
| bool | connect (void) |
| void | transmit (jaus_message &, uint8) |
| void | callback (fooxmit f) |
| void | send (const char *const msgbuf) |
Static Public Attributes | |
| service_connection | sc |
| service_connection | command_sc |
| keep track of command class service connections received | |
Static Protected Attributes | |
| Destination_Node_Class | _DNC |
| bool | _operate |
| uint8 | _subsystem |
| uint8 | _node |
| subsystem number | |
| uint8 | nodename |
| jaus_message | _message |
| bool | _ConnectButton |
| fooxmit | _transmit_callback |
| CommunicationDevice * | _commChannel |
Friends | |
| void | SimulatorUpdate (jaus_message &msg) |
The node manager class defines much of the behavior as defined by the JAUS standard Node Manager Component
|
|
|
|
|
Returns number of active service connections. Where:
|
|
|
|
|
|
Configure node managers I/O subsystem.
|
|
|
|
|
|
|
|
|
|
|
|
Returns Destination Node Class of Message. if ( (source.bits.node == destination.bits.node) && (source.bits.node == node_manager::nodeid() )) then intra-node |
|
|
Configure intranode/inter-node message.
|
|
||||||||||||
|
Initialize the subsystem and node IDs.
|
|
|
Common JAUS component interface method. (huh ???).
|
|
|
Handles all manager class messages.
|
|
|
Returns node ID of this node.
|
|
|
Sets the nodeid of for this node; should be done at boot.
|
|
|
Returns operating status of node manager.
|
|
|
Allows filtering of JAUS messages. If node manager is off then serial port communication not intercepted by JAUS subsystem.
|
|
|
Prints out the service connection table specified.
|
|
|
|
|
||||||||||||
|
Returns next message to transmit based upon service connection priority etc.
|
|
|
Return node ID from where last message sent.
|
|
|
Returns node ID of this node.
|
|
||||||||||||
|
Reimplemented in node_manager_RR, and node_manager_RTOS. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
subsystem number
|
|
|
|
|
|
|
|
|
|
|
|
keep track of command class service connections received NOTE: sc keeps track of command class sent out. |
|
|
|
|
|
|
1.3