Classes | |
class | ConnCommand |
Class to control the conn. More... | |
struct | ConnState |
Helper struct to store the current connectivity settings between a pair (or set) of nodes. More... | |
class | Connectivity |
Base class for the underlying connectivity management between nodes in the simulation. More... | |
class | Node |
Class representing a node in the simulator (i.e. More... | |
class | NodeCommand |
Class to control the node. More... | |
class | SimCLInfo |
class | SimCommand |
Class to control the sim. More... | |
class | SimLink |
class | SimConvergenceLayer |
Simulator implementation of the Convergence Layer API. More... | |
class | SimEvent |
class | SimEventCompare |
class | SimAtEvent |
class | SimBundleEvent |
class | SimEventHandler |
Interface implemented by all objects that handle simulator events. More... | |
class | SimLog |
Class for more structured logging of bundle generation / reception. More... | |
class | SimRegistration |
Registration used for the simulator. More... | |
class | Simulator |
The main simulator class. More... | |
class | Topology |
The class that maintains the topology of the network. More... | |
class | TrAgent |
Enumerations | |
enum | sim_event_type_t { SIM_AT_EVENT = 0x1, SIM_BUNDLE_EVENT } |
Functions | |
static const char * | sim_ev2str (sim_event_type_t event) |
Pretty printer function simulation events. | |
int | gettimeofday (struct timeval *tv, struct timezone *tz) |
Override gettimeofday to return the simulator time. |
SIM_AT_EVENT | Generic event for delayed tcl commands. |
SIM_BUNDLE_EVENT | Generic event for delayed bundle events. |
Definition at line 33 of file SimEvent.h.
int dtnsim::gettimeofday | ( | struct timeval * | tv, | |
struct timezone * | tz | |||
) |
Override gettimeofday to return the simulator time.
Definition at line 269 of file Simulator.cc.
References dtnsim::Simulator::time().
Referenced by dtn::BundleDaemon::add_to_pending(), dtn::Announce::Announce(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::check_keepalive(), dtn::BundleTimestamp::check_local_clock(), dtn::SerialConvergenceLayer::SerialConvergenceLayer::Connection::connect(), dtn::IPAnnounce::format_advertisement(), dtn::BundleTimestamp::get_current_time(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::handle_poll_timeout(), dtn::SerialConvergenceLayer::SerialConvergenceLayer::Connection::handle_poll_timeout(), dtn::Registration::init_expiration_timer(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::initiate_contact(), dtn::Announce::interval_remaining(), main(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::note_data_rcvd(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::note_data_sent(), dtn::Registration::Registration(), dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::send_keepalive(), source_wait(), dtn::ProphetTimer::time_remaining(), to_bundles(), and write_serial_packet().
static const char* dtnsim::sim_ev2str | ( | sim_event_type_t | event | ) | [static] |
Pretty printer function simulation events.
Definition at line 42 of file SimEvent.h.
References SIM_AT_EVENT, and SIM_BUNDLE_EVENT.
Referenced by dtnsim::SimEvent::type_str().