Last change
on this file since 11577 was
11577,
checked in by swagner, 9 years ago
|
#2205: Restructured solution and projects and switched all projects to .NET 4.5
|
File size:
831 bytes
|
Line | |
---|
1 | using HeuristicLab.Common;
|
---|
2 | using HeuristicLab.Core;
|
---|
3 | using HeuristicLab.Core.Networks;
|
---|
4 | using System;
|
---|
5 | using System.Threading;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Networks.Programmable {
|
---|
8 | [Item("MyProgrammableNetwork", "A programmable network.")]
|
---|
9 | public class MyProgrammableNetwork : ProgrammableNetwork.CompiledProgrammableNetwork {
|
---|
10 | protected MyProgrammableNetwork(MyProgrammableNetwork original, Cloner cloner) : base(original, cloner) { }
|
---|
11 | public MyProgrammableNetwork(ProgrammableNetwork context) : base(context) { }
|
---|
12 |
|
---|
13 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
14 | return new MyProgrammableNetwork(this, cloner);
|
---|
15 | }
|
---|
16 |
|
---|
17 | protected override void MessagePort_MessageReceived(object sender, EventArgs<IMessage, CancellationToken> e) {
|
---|
18 | // implement processing of messages here
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.