📄 randomseed.hh
字号:
// -*- c-basic-offset: 4 -*-#ifndef CLICK_RANDOMSEED_HH#define CLICK_RANDOMSEED_HH#include <click/element.hh>CLICK_DECLS/*=cRandomSeed([SEED])=s testsets random seed=dRandomSeed sets the random seed to the SEED argument. If not supplied, therandom seed is set to a truly random value.=h seed write-onlyWrite this handler to reset the random seed, either to a particular value or(if you supply an empty argument) randomly.*/class RandomSeed : public Element { public: RandomSeed(); ~RandomSeed(); const char *class_name() const { return "RandomSeed"; } int configure_phase() const { return CONFIGURE_PHASE_LAST; } bool can_live_reconfigure() const { return true; } int configure(Vector<String>&, ErrorHandler*); void add_handlers();};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -