Documentation ¶
Index ¶
- Constants
- type AbstractAtomic
- func (receiver *AbstractAtomic) HoldIn(state string, t uint64)
- func (receiver *AbstractAtomic) Init()
- func (receiver AbstractAtomic) MakeContent(outPort string, data interface{}) *Content
- func (receiver AbstractAtomic) Name() string
- func (receiver *AbstractAtomic) On(e uint64, message Message)
- func (receiver *AbstractAtomic) Out() (message Message)
- func (receiver *AbstractAtomic) SetName(name string)
- func (receiver AbstractAtomic) Ta() uint64
- type AbstractCoupled
- func (receiver *AbstractCoupled) AddComponent(entity Entity)
- func (receiver *AbstractCoupled) AddCoupling(from Entity, fromPort string, to Entity, toPort string)
- func (receiver *AbstractCoupled) GetComponentMap() map[string]Entity
- func (receiver *AbstractCoupled) GetComponents() []Entity
- func (receiver *AbstractCoupled) GetCoupling(from Entity, fromPort string) (results []Pair)
- func (receiver AbstractCoupled) Name() string
- func (receiver *AbstractCoupled) SetName(name string)
- type Atomic
- type Content
- type Coupled
- type Entity
- type EntityRemote
- type Message
- type Pair
Constants ¶
View Source
const (
INFINITE uint64 = 0x7FFFFFFFFFFFFFFF
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractAtomic ¶
type AbstractAtomic struct { Sigma uint64 // 当前状态保持的时间 State string // 当前状态 // contains filtered or unexported fields }
func (*AbstractAtomic) HoldIn ¶
func (receiver *AbstractAtomic) HoldIn(state string, t uint64)
func (*AbstractAtomic) Init ¶
func (receiver *AbstractAtomic) Init()
func (AbstractAtomic) MakeContent ¶
func (receiver AbstractAtomic) MakeContent(outPort string, data interface{}) *Content
func (AbstractAtomic) Name ¶
func (receiver AbstractAtomic) Name() string
func (*AbstractAtomic) On ¶
func (receiver *AbstractAtomic) On(e uint64, message Message)
func (*AbstractAtomic) Out ¶
func (receiver *AbstractAtomic) Out() (message Message)
func (*AbstractAtomic) SetName ¶
func (receiver *AbstractAtomic) SetName(name string)
func (AbstractAtomic) Ta ¶
func (receiver AbstractAtomic) Ta() uint64
type AbstractCoupled ¶
type AbstractCoupled struct {
// contains filtered or unexported fields
}
func (*AbstractCoupled) AddComponent ¶
func (receiver *AbstractCoupled) AddComponent(entity Entity)
func (*AbstractCoupled) AddCoupling ¶
func (receiver *AbstractCoupled) AddCoupling(from Entity, fromPort string, to Entity, toPort string)
func (*AbstractCoupled) GetComponentMap ¶
func (receiver *AbstractCoupled) GetComponentMap() map[string]Entity
func (*AbstractCoupled) GetComponents ¶
func (receiver *AbstractCoupled) GetComponents() []Entity
func (*AbstractCoupled) GetCoupling ¶
func (receiver *AbstractCoupled) GetCoupling(from Entity, fromPort string) (results []Pair)
func (AbstractCoupled) Name ¶
func (receiver AbstractCoupled) Name() string
func (*AbstractCoupled) SetName ¶
func (receiver *AbstractCoupled) SetName(name string)
type EntityRemote ¶
type EntityRemote struct {
// contains filtered or unexported fields
}
func NewEntityRemote ¶
func NewEntityRemote(name string, endpoint string) *EntityRemote
func (EntityRemote) EndPoint ¶
func (receiver EntityRemote) EndPoint() string
func (EntityRemote) Name ¶
func (receiver EntityRemote) Name() string
Click to show internal directories.
Click to hide internal directories.