Moved hires rasterization to new BSO structure

This commit is contained in:
Rick Falkvinge
2017-11-28 10:08:16 +01:00
parent 6f14d97b80
commit 942be550c1
9 changed files with 110 additions and 16 deletions
@@ -71,6 +71,15 @@ namespace Swarmops.Logic.Support.BackendServices
throw new NotImplementedException("The base Run() has no implementation. Derive and declare 'override'!");
}
/// <summary>
/// If you are deriving this class into something that spawns a worker thread, then that derived
/// class MUST have the worker thread terminate within 1.00 seconds from when Terminate is called.
/// </summary>
public virtual void Terminate()
{
throw new NotImplementedException("The base Terminate() has no implementation. Derive and declare 'override'!");
}
/// <summary>
/// This function MUST be called when the task has been completed, either on completion of Run()
/// if you take a short amount of time, or at the end of your worker thread.
@@ -99,6 +108,12 @@ namespace Swarmops.Logic.Support.BackendServices
public DateTime CreatedDateTime { get; set; }
public string BackendServiceClass { get; set; }
public int ServiceOrderIdentity { get; set; }
public bool HasTerminated { get; set; }
[XmlIgnore]
public Organization Organization { get; set; }
[XmlIgnore]
public Person Person { get; set; }
[XmlIgnore]
public bool HasWorkerThread { get; set; }