Public Member Functions | Protected Attributes

VariableArrayBasedModifier< T > Class Template Reference

Inheritance diagram for VariableArrayBasedModifier< T >:
EvSimObject EvSimObjectFactory

List of all members.

Public Member Functions

 VariableArrayBasedModifier (const SharedArray< T > &values, bool cyclic=false)
void setValuesArray (const SharedArray< T > &values)
virtual void eventHit (SimContext &sim_info, Time time, port_id_t port)
virtual void reset (SimContext &sim_ctxt)
virtual unsigned numInputPorts () const
void setModifiedVariable (EvSimNetwork &net, EvSimObject::ID self, EvSimObject::ID obj_id, const string &var_name, update_id_t upd_id=-1)
void setModifiedVariable (EvSimObject *obj, const string &var_name)
void setCyclic (bool cyclic)

Protected Attributes

T * mod_var_ptr
unsigned curr_idx
const vector< T > * values_arr
bool is_cyclic

template<typename T>
class VariableArrayBasedModifier< T >


The documentation for this class was generated from the following file: