The atomic class should be sub-classed by the modeler to create atomic simulation models
Inheritance:
Public Methods
-
atomic()
- Creates an atomic component with an empty name string
-
atomic(const char* name)
- Creates an atomic component and assigns it the indicated name
-
virtual void reset()
- Set the initial state of the atomic model
-
virtual void delta_int()
- internal transition function
-
virtual void delta_ext()
- external transition functions
-
virtual void delta_conf()
- confluent transition function
-
virtual void output_func()
- output function
-
virtual stime_t lookahead() const
- Lookahead function.
-
void _reset(stime_t t0)
- This method supports the simulator
Inherited from devs:
Public Classes
-
enum ModelType
Public Methods
-
inline void setName(const char* name)
-
inline stime_t elapsed() const
-
inline stime_t sigma() const
-
inline stime_t ta() const
-
inline stime_t timeNext() const
-
inline stime_t timeLast() const
-
inline stime_t timeCurrent() const
-
void hold(stime_t dt)
-
inline void passivate()
-
bag* inputOnPort(port_t inport) const
-
void output(port_t outport, object* value, bool gc = true)
-
void output(port_t outport, const object& value)
-
virtual void addInputPort(port_t inport)
-
virtual void addOutputPort(port_t outport)
-
bool hasInputPort(port_t inport) const
-
bool hasOutputPort(port_t outport) const
-
inline const char* getName() const
-
void setThreaded(bool value)
-
bool getThreaded() const
-
const port_t* outputPorts(int* count)
-
bag* outputOnPort(port_t outport) const
-
void clearPorts()
-
void clearPorts(indexed& garbage)
-
void emptyGarbage()
-
inline void setTime(stime_t t)
-
inline void setTimeLast(stime_t tL)
-
inline void setTimeNext(stime_t tN)
-
void input(port_t inport, object* value)
-
ModelType getType() const
Inherited from object:
Public Methods
-
virtual bool operator==(const object &obj) const
-
virtual bool operator!=(const object &obj) const
-
virtual unsigned int hashcode() const
-
virtual object* clone() const
Documentation
The atomic class should be sub-classed by the modeler to create
atomic simulation models
atomic()
- Creates an atomic component with an empty name string
atomic(const char* name)
- Creates an atomic component and assigns it the indicated name
virtual void reset()
- Set the initial state of the atomic model
virtual void delta_int()
- internal transition function
virtual void delta_ext()
- external transition functions
virtual void delta_conf()
- confluent transition function
virtual void output_func()
- output function
virtual stime_t lookahead() const
-
Lookahead function. Returns the lookahead for the current state (default is 0).
A lookahead less than zero is treated as zero by the simulation engine.
void _reset(stime_t t0)
- This method supports the simulator
- Direct child classes:
- networkExec
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.