dtnsim::NodeCommand Class Reference

#include <NodeCommand.h>

Inheritance diagram for dtnsim::NodeCommand:

oasys::TclCommand oasys::Logger List of all members.

Detailed Description

Class to control the node.

Definition at line 50 of file NodeCommand.h.

Public Member Functions

 NodeCommand (Node *node)
virtual int exec (int argc, const char **argv, Tcl_Interp *interp)
 Virtual from CommandModule.

Protected Attributes

Nodenode_


Constructor & Destructor Documentation

dtnsim::NodeCommand::NodeCommand ( Node node  ) 

Definition at line 60 of file NodeCommand.cc.

References oasys::TclCommand::add_to_help().


Member Function Documentation

int dtnsim::NodeCommand::exec ( int  argc,
const char **  argv,
Tcl_Interp *  interp 
) [virtual]

Virtual from CommandModule.

Reimplemented from oasys::TclCommand.

Definition at line 71 of file NodeCommand.cc.

References dtn::EndpointID::assign(), dtn::EndpointID::c_str(), end, dtn::EVENTSRC_ADMIN, dtnsim::Topology::find_node(), dtnsim::TrAgent::init(), dtnsim::SimConvergenceLayer::instance(), dtn::BundleDaemon::local_eid(), log_debug, dtnsim::Node::name(), oasys::TclCommand::name(), node_, dtnsim::Simulator::post(), oasys::TclCommand::resultf(), dtnsim::Node::set_active(), dtn::BundleDaemon::set_local_eid(), oasys::TclCommand::set_result(), src, dtn::EndpointID::valid(), and oasys::TclCommand::wrong_num_args().


Member Data Documentation

Node* dtnsim::NodeCommand::node_ [protected]

Definition at line 60 of file NodeCommand.h.

Referenced by exec().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:05 2006 for DTN Reference Implementation by  doxygen 1.5.1